diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2dc5b76 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +################################################################################ +# This .gitignore file was automatically created by Microsoft(R) Visual Studio. +################################################################################ + +*/bin/* +*/obj/* +/packages +/.vs +.suo \ No newline at end of file diff --git a/EventbriteDotNet.sln b/EventbriteDotNet.sln new file mode 100644 index 0000000..b22cd4d --- /dev/null +++ b/EventbriteDotNet.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31019.35 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventbriteDotNet", "EventbriteDotNet\EventbriteDotNet.csproj", "{AF04039A-80FB-474F-8147-76AE4E19C23E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventbriteDotNetConsoleTest", "EventbriteDotNetConsoleTest\EventbriteDotNetConsoleTest.csproj", "{A8674ACF-76FF-4602-AC65-C023129FDE8B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AF04039A-80FB-474F-8147-76AE4E19C23E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AF04039A-80FB-474F-8147-76AE4E19C23E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AF04039A-80FB-474F-8147-76AE4E19C23E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AF04039A-80FB-474F-8147-76AE4E19C23E}.Release|Any CPU.Build.0 = Release|Any CPU + {A8674ACF-76FF-4602-AC65-C023129FDE8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A8674ACF-76FF-4602-AC65-C023129FDE8B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A8674ACF-76FF-4602-AC65-C023129FDE8B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A8674ACF-76FF-4602-AC65-C023129FDE8B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {689CE63A-7FB2-4578-88ED-D31BDA8A9595} + EndGlobalSection +EndGlobal diff --git a/EventbriteNET/Attendee.cs b/EventbriteDotNet/Attendee.cs similarity index 95% rename from EventbriteNET/Attendee.cs rename to EventbriteDotNet/Attendee.cs index f52d575..499732d 100644 --- a/EventbriteNET/Attendee.cs +++ b/EventbriteDotNet/Attendee.cs @@ -1,126 +1,125 @@ -using System; -using System.Collections.Generic; -using Newtonsoft.Json; - -namespace EventbriteNET +using Newtonsoft.Json; +using System.Collections.Generic; + +namespace EventbriteDotNet { /// /// Represents an Eventbrite Ticket Class - /// - - public class BasePrice - { - public string display { get; set; } - public string currency { get; set; } - public int value { get; set; } - public string major_value { get; set; } - } - - public class EventbriteFee - { - public string display { get; set; } - public string currency { get; set; } - public int value { get; set; } - public string major_value { get; set; } - } - - public class Gross - { - public string display { get; set; } - public string currency { get; set; } - public int value { get; set; } - public string major_value { get; set; } - } - - public class PaymentFee - { - public string display { get; set; } - public string currency { get; set; } - public int value { get; set; } - public string major_value { get; set; } - } - - public class Tax - { - public string display { get; set; } - public string currency { get; set; } - public int value { get; set; } - public string major_value { get; set; } - } - - public class Costs - { - public BasePrice base_price { get; set; } - public EventbriteFee eventbrite_fee { get; set; } - public Gross gross { get; set; } - public PaymentFee payment_fee { get; set; } - public Tax tax { get; set; } - } - - public class Address - { - public string address_1 { get; set; } - public string address_2 { get; set; } - public string city { get; set; } - public string region { get; set; } - public string postal_code { get; set; } - public string country { get; set; } - public string country_name { get; set; } - } - - public class Addresses - { - public Address home { get; set; } - public Address ship { get; set; } - public Address work { get; set; } - public Address bill { get; set; } - } - - public class Profile - { - public string first_name { get; set; } - public string last_name { get; set; } - public string email { get; set; } - public string name { get; set; } - public Addresses addresses { get; set; } - } - - public class Barcode - { - public string status { get; set; } - public string barcode { get; set; } - public int checkin_type { get; set; } - public string created { get; set; } - public string changed { get; set; } - } - - public class Attendee : EventbriteObject - { - public object team { get; set; } - public Costs costs { get; set; } - public string resource_uri { get; set; } - public string id { get; set; } - public string changed { get; set; } - public string created { get; set; } - public int quantity { get; set; } - public Profile profile { get; set; } - public List barcodes { get; set; } - public List answers { get; set; } - public bool checked_in { get; set; } - public bool cancelled { get; set; } - public bool refunded { get; set; } - public string affiliate { get; set; } - public string status { get; set; } - public string event_id { get; set; } - public string order_id { get; set; } - public string ticket_class_id { get; set; } - } - - public class EventAttendees : EventbriteObject - { - [JsonProperty("pagination")] - public Pagination Pagination { get; set; } - [JsonProperty("attendees")] - public List Attendees { get; set; } + /// + + public class BasePrice + { + public string display { get; set; } + public string currency { get; set; } + public int value { get; set; } + public string major_value { get; set; } + } + + public class EventbriteFee + { + public string display { get; set; } + public string currency { get; set; } + public int value { get; set; } + public string major_value { get; set; } + } + + public class Gross + { + public string display { get; set; } + public string currency { get; set; } + public int value { get; set; } + public string major_value { get; set; } + } + + public class PaymentFee + { + public string display { get; set; } + public string currency { get; set; } + public int value { get; set; } + public string major_value { get; set; } + } + + public class Tax + { + public string display { get; set; } + public string currency { get; set; } + public int value { get; set; } + public string major_value { get; set; } + } + + public class Costs + { + public BasePrice base_price { get; set; } + public EventbriteFee eventbrite_fee { get; set; } + public Gross gross { get; set; } + public PaymentFee payment_fee { get; set; } + public Tax tax { get; set; } + } + + public class Address + { + public string address_1 { get; set; } + public string address_2 { get; set; } + public string city { get; set; } + public string region { get; set; } + public string postal_code { get; set; } + public string country { get; set; } + public string country_name { get; set; } + } + + public class Addresses + { + public Address home { get; set; } + public Address ship { get; set; } + public Address work { get; set; } + public Address bill { get; set; } + } + + public class Profile + { + public string first_name { get; set; } + public string last_name { get; set; } + public string email { get; set; } + public string name { get; set; } + public Addresses addresses { get; set; } + } + + public class Barcode + { + public string status { get; set; } + public string barcode { get; set; } + public int checkin_type { get; set; } + public string created { get; set; } + public string changed { get; set; } + } + + public class Attendee : EventbriteObject + { + public object team { get; set; } + public Costs costs { get; set; } + public string resource_uri { get; set; } + public string id { get; set; } + public string changed { get; set; } + public string created { get; set; } + public int quantity { get; set; } + public Profile profile { get; set; } + public List barcodes { get; set; } + public List answers { get; set; } + public bool checked_in { get; set; } + public bool cancelled { get; set; } + public bool refunded { get; set; } + public string affiliate { get; set; } + public string status { get; set; } + public string event_id { get; set; } + public string order_id { get; set; } + public string ticket_class_id { get; set; } + } + + public class EventAttendees : EventbriteObject + { + [JsonProperty("pagination")] + public Pagination Pagination { get; set; } + [JsonProperty("attendees")] + public List Attendees { get; set; } } } diff --git a/EventbriteNET/Category.cs b/EventbriteDotNet/Category.cs similarity index 95% rename from EventbriteNET/Category.cs rename to EventbriteDotNet/Category.cs index c0494ba..0eb4c94 100644 --- a/EventbriteNET/Category.cs +++ b/EventbriteDotNet/Category.cs @@ -1,7 +1,6 @@ using Newtonsoft.Json; -using System; -namespace EventbriteNET +namespace EventbriteDotNet { /// /// Represents an Eventbrite Category diff --git a/EventbriteNET/Collections/IPaginatedResponse.cs b/EventbriteDotNet/Collections/IPaginatedResponse.cs similarity index 92% rename from EventbriteNET/Collections/IPaginatedResponse.cs rename to EventbriteDotNet/Collections/IPaginatedResponse.cs index d7cc638..77c9ec4 100644 --- a/EventbriteNET/Collections/IPaginatedResponse.cs +++ b/EventbriteDotNet/Collections/IPaginatedResponse.cs @@ -1,7 +1,7 @@ using Newtonsoft.Json; using System.Collections.Generic; -namespace EventbriteNET.Collections +namespace EventbriteDotNet.Collections { public interface IPaginatedResponse where T : EventbriteObject { diff --git a/EventbriteNET/Collections/PaginatedResponse.Category.cs b/EventbriteDotNet/Collections/PaginatedResponse.Category.cs similarity index 87% rename from EventbriteNET/Collections/PaginatedResponse.Category.cs rename to EventbriteDotNet/Collections/PaginatedResponse.Category.cs index 34d5ce4..6eed4f7 100644 --- a/EventbriteNET/Collections/PaginatedResponse.Category.cs +++ b/EventbriteDotNet/Collections/PaginatedResponse.Category.cs @@ -1,7 +1,7 @@ using Newtonsoft.Json; using System.Collections.Generic; -namespace EventbriteNET.Collections +namespace EventbriteDotNet.Collections { public partial class PaginatedResponse : IPaginatedResponse where T : EventbriteObject { diff --git a/EventbriteNET/Collections/PaginatedResponse.cs b/EventbriteDotNet/Collections/PaginatedResponse.cs similarity index 95% rename from EventbriteNET/Collections/PaginatedResponse.cs rename to EventbriteDotNet/Collections/PaginatedResponse.cs index 9defa0d..6cc98a0 100644 --- a/EventbriteNET/Collections/PaginatedResponse.cs +++ b/EventbriteDotNet/Collections/PaginatedResponse.cs @@ -1,10 +1,8 @@ using Newtonsoft.Json; -using System; using System.Collections.Generic; -using System.Linq; using System.Reflection; -namespace EventbriteNET.Collections +namespace EventbriteDotNet.Collections { public partial class PaginatedResponse : IPaginatedResponse where T : EventbriteObject { diff --git a/EventbriteNET/Event.cs b/EventbriteDotNet/Event.cs similarity index 92% rename from EventbriteNET/Event.cs rename to EventbriteDotNet/Event.cs index cb1a9db..db21ce8 100644 --- a/EventbriteNET/Event.cs +++ b/EventbriteDotNet/Event.cs @@ -1,94 +1,100 @@ -using Newtonsoft.Json; -using System; -using System.Collections.Generic; - -namespace EventbriteNET -{ - /// - /// Represents an Eventbrite Event - /// - public class Event : EventbriteObject - { - public Event() - { - Name = new MultipartTextField(); - Description = new MultipartTextField(); - Start = new DateTimeTimezoneField(); - End = new DateTimeTimezoneField(); - Created = DateTime.UtcNow; - Changed = DateTime.UtcNow; - Organizer = new Organizer(); - Venue = new Venue(); - Category = new Category(); - Subcategory = new Subcategory(); - TicketClasses = new List(); - } - - [JsonProperty("name")] - public MultipartTextField Name { get; set; } - [JsonProperty("description")] - public MultipartTextField Description { get; set; } - [JsonProperty("url")] - public string Url { get; set; } - [JsonProperty("logo_url")] - public string LogoUrl { get; set; } - [JsonProperty("capacity")] - public int Capacity { get; set; } - [JsonProperty("status")] - public StatusOptions Status { get; set; } - [JsonProperty("currency")] - public string Currency { get; set; } - [JsonProperty("online_event")] - public bool OnlineEvent { get; set; } - [JsonProperty("start")] - public DateTimeTimezoneField Start { get; set; } - [JsonProperty("end")] - public DateTimeTimezoneField End { get; set; } - [JsonProperty("created")] - public DateTime Created { get; set; } - [JsonProperty("changed")] - public DateTime Changed { get; set; } - [JsonProperty("shareable")] - public bool Shareable { get; set; } - [JsonProperty("listed")] - public bool Listed { get; set; } - [JsonProperty("invite_only")] - public bool InviteOnly { get; set; } - [JsonProperty("show_remaining")] - public bool ShowRemaining { get; set; } - [JsonProperty("password")] - public string Password { get; set; } - - [JsonProperty("organizer_id")] - public long? OrganizerId { get; set; } - [JsonProperty("venue_id")] - public long? VenueId { get; set; } - [JsonProperty("category_id")] - public long? CategoryId { get; set; } - [JsonProperty("subcategory_id")] - public long? SubcategoryId { get; set; } - [JsonProperty("format_id")] - public long? FormatId { get; set; } - - [JsonProperty("organizer")] - public Organizer Organizer { get; set; } - [JsonProperty("venue")] - public Venue Venue { get; set; } - [JsonProperty("category")] - public Category Category { get; set; } - [JsonProperty("subcategory")] - public Subcategory Subcategory { get; set; } - [JsonProperty("format")] - public Subcategory Format { get; set; } - [JsonProperty("ticket_classes")] - public IList TicketClasses { get; set; } - } - - public class PagedEvents : EventbriteObject - { - - [JsonProperty("pagination")] - public Pagination Pagination { get; set; } - public List Events { get; set; } - } -} +using Newtonsoft.Json; +using System; +using System.Collections.Generic; + +namespace EventbriteDotNet +{ + /// + /// Represents an Eventbrite Event + /// + public class Event : EventbriteObject + { + public Event() + { + Name = new MultipartTextField(); + Description = new MultipartTextField(); + Start = new DateTimeTimezoneField(); + End = new DateTimeTimezoneField(); + Created = DateTime.UtcNow; + Changed = DateTime.UtcNow; + Organizer = new Organizer(); + Venue = new Venue(); + Category = new Category(); + Subcategory = new Subcategory(); + TicketClasses = new List(); + } + + [JsonProperty("name")] + public MultipartTextField Name { get; set; } + [JsonProperty("summary")] + public string Summary { get; set; } + [JsonProperty("description")] + public MultipartTextField Description { get; set; } + [JsonProperty("url")] + public string Url { get; set; } + [JsonProperty("logo_url")] + public string LogoUrl { get; set; } + [JsonProperty("capacity")] + public int Capacity { get; set; } + [JsonProperty("status")] + public StatusOptions Status { get; set; } + [JsonProperty("currency")] + public string Currency { get; set; } + [JsonProperty("online_event")] + public bool OnlineEvent { get; set; } + [JsonProperty("start")] + public DateTimeTimezoneField Start { get; set; } + [JsonProperty("end")] + public DateTimeTimezoneField End { get; set; } + [JsonProperty("created")] + public DateTime Created { get; set; } + [JsonProperty("changed")] + public DateTime Changed { get; set; } + [JsonProperty("shareable")] + public bool Shareable { get; set; } + [JsonProperty("listed")] + public bool Listed { get; set; } + [JsonProperty("invite_only")] + public bool InviteOnly { get; set; } + [JsonProperty("show_remaining")] + public bool ShowRemaining { get; set; } + [JsonProperty("password")] + public string Password { get; set; } + + [JsonProperty("organizer_id")] + public long? OrganizerId { get; set; } + [JsonProperty("venue_id")] + public long? VenueId { get; set; } + [JsonProperty("category_id")] + public long? CategoryId { get; set; } + [JsonProperty("subcategory_id")] + public long? SubcategoryId { get; set; } + [JsonProperty("format_id")] + public long? FormatId { get; set; } + [JsonProperty("logo_id")] + public long? LogoId { get; set; } + + [JsonProperty("organizer")] + public Organizer Organizer { get; set; } + [JsonProperty("venue")] + public Venue Venue { get; set; } + [JsonProperty("logo")] + public Image Logo { get; set; } + [JsonProperty("category")] + public Category Category { get; set; } + [JsonProperty("subcategory")] + public Subcategory Subcategory { get; set; } + [JsonProperty("format")] + public Subcategory Format { get; set; } + [JsonProperty("ticket_classes")] + public IList TicketClasses { get; set; } + } + + public class PagedEvents : EventbriteObject + { + + [JsonProperty("pagination")] + public Pagination Pagination { get; set; } + public List Events { get; set; } + } +} diff --git a/EventbriteNET/EventbriteContext.cs b/EventbriteDotNet/EventbriteContext.cs similarity index 75% rename from EventbriteNET/EventbriteContext.cs rename to EventbriteDotNet/EventbriteContext.cs index e116f83..ac1b305 100644 --- a/EventbriteNET/EventbriteContext.cs +++ b/EventbriteDotNet/EventbriteContext.cs @@ -1,146 +1,170 @@ -using EventbriteNET.Http; -using System; -using System.Collections.Generic; - -namespace EventbriteNET -{ - /// - /// Context to communicate with the Eventbrite API - /// - public class EventbriteContext - { - private string _eventbriteApi = "https://www.eventbriteapi.com/v3/"; - private IDictionary RequestHandlers = new Dictionary(); - - /// - /// Default constructor that registers default request handlers - /// - public EventbriteContext() - { - this.RequestHandlers[typeof(Category).Name] = new CategoryRequestHander(this) as IRequestHandler; - this.RequestHandlers[typeof(Event).Name] = new EventRequestHander(this) as IRequestHandler; - this.RequestHandlers[typeof(TicketClass).Name] = new TicketClassRequestHander(this) as IRequestHandler; - this.RequestHandlers[typeof(User).Name] = new UserRequestHander(this) as IRequestHandler; - this.RequestHandlers[typeof(Attendee).Name] = new AttendeesRequestHandler(this) as IRequestHandler; - this.RequestHandlers[typeof(Venue).Name] = new VenueRequestHandler(this) as IRequestHandler; - - } - - /// - /// Sets the OAuth Authentication Token for the request - /// - /// OAuth token - /// - public EventbriteContext(string token) : this() - { - if (String.IsNullOrEmpty(token)) - throw new ArgumentNullException("token"); - - this.Token = token; - } - - public string Host { get { return this._eventbriteApi; } set { this._eventbriteApi = value; } } - public string Token { get; set; } - public long UserId { get; set; } - public long OrganizerId { get; set; } - public long EventId { get; set; } - public long[] VenuesId { get; set; } - public int Page { get; set; } - public Pagination Pagination { get; set; } - - /// - /// Fetches all specified Objects - /// - /// Eventbrite Object - public IList Get() where T : EventbriteObject - { - var handler = GetHandler(typeof(T)); - return handler.Get(); - } - - /// - /// Fetches a specified Object - /// - /// ID for the Object - /// Eventbrite Object - public T Get(long id) where T : EventbriteObject - { - var handler = GetHandler(typeof(T)); - return handler.Get(id); - } - - /// - /// Creates a new Object on the Eventbrite website - /// - /// Eventbrite Object to create - /// Eventbrite Object - public void Create(T entity) where T : EventbriteObject - { - var handler = GetHandler(typeof(T)); - handler.Create(entity); - } - - /// - /// Updates an existing Object on the Eventbrite website - /// - /// Eventbrite Object to update - /// Eventbrite Object - public void Update(T entity) where T : EventbriteObject - { - var handler = GetHandler(typeof(T)); - handler.Update(entity); - } - - /// - /// Publishes an existing Event on the Eventbrite website - /// - /// ID of Event to publish - public void Publish(long id) - { - var handler = (EventRequestHander)GetHandler(typeof(Event)); - handler.Publish(id); - } - - /// - /// Unpublishes an existing Event on the Eventbrite website - /// - /// ID of Event to unpublish - public void Unpublish(long id) - { - var handler = (EventRequestHander)GetHandler(typeof(Event)); - handler.Unpublish(id); - } - - /// - /// Searches existing Events on the Eventbrite website - /// - /// ID of Event to unpublish - public PagedEvents Search() - { - var handler = (EventRequestHander)GetHandler(typeof(Event)); - return handler.Search(); - } - - /// - /// Get the users Events Created - /// - /// - public PagedEvents GetOwnedEvents() - { - var handler = (EventRequestHander)GetHandler(typeof(Event)); - return handler.GetOwnedEvents(); - } - /// - /// Finds appropriate - /// - /// - private IRequestHandler GetHandler(Type type) - { - IRequestHandler handler; - if(!this.RequestHandlers.TryGetValue(type.Name, out handler)) - throw new NotSupportedException(string.Format("Type \"{0}\" is not currently supported.", type.Name)); - - return handler; - } - } -} +using EventbriteDotNet.Http; +using System; +using System.Collections.Generic; + +namespace EventbriteDotNet +{ + /// + /// Context to communicate with the Eventbrite API + /// + public class EventbriteContext + { + private string _eventbriteApi = "https://www.eventbriteapi.com/v3/"; + private IDictionary RequestHandlers = new Dictionary(); + + /// + /// Default constructor that registers default request handlers + /// + public EventbriteContext() + { + this.RequestHandlers[typeof(Organizer).Name] = new OrganizerRequestHander(this) as IRequestHandler; + this.RequestHandlers[typeof(Image).Name] = new MediaRequestHander(this) as IRequestHandler; + this.RequestHandlers[typeof(Category).Name] = new CategoryRequestHander(this) as IRequestHandler; + this.RequestHandlers[typeof(Event).Name] = new EventRequestHander(this) as IRequestHandler; + this.RequestHandlers[typeof(TicketClass).Name] = new TicketClassRequestHander(this) as IRequestHandler; + this.RequestHandlers[typeof(User).Name] = new UserRequestHander(this) as IRequestHandler; + this.RequestHandlers[typeof(Attendee).Name] = new AttendeesRequestHandler(this) as IRequestHandler; + this.RequestHandlers[typeof(Venue).Name] = new VenueRequestHandler(this) as IRequestHandler; + } + + /// + /// Sets the OAuth Authentication Token for the request + /// + /// OAuth token + /// + public EventbriteContext(string token) : this() + { + if (String.IsNullOrEmpty(token)) + throw new ArgumentNullException("token"); + + this.Token = token; + } + + public string Host { get { return this._eventbriteApi; } set { this._eventbriteApi = value; } } + public string Token { get; set; } + public long UserId { get; set; } + public long OrganizerId { get; set; } + public long EventId { get; set; } + public long[] VenuesId { get; set; } + public int Page { get; set; } + public Pagination Pagination { get; set; } + + /// + /// Fetches all specified Objects + /// + /// Eventbrite Object + public IList Get() where T : EventbriteObject + { + var handler = GetHandler(typeof(T)); + return handler.Get(); + } + + /// + /// Fetches a specified Object + /// + /// ID for the Object + /// Eventbrite Object + public T Get(long id) where T : EventbriteObject + { + var handler = GetHandler(typeof(T)); + return handler.Get(id); + } + + /// + /// Creates a new Object on the Eventbrite website + /// + /// Eventbrite Object to create + /// Eventbrite Object + public void Create(T entity) where T : EventbriteObject + { + var handler = GetHandler(typeof(T)); + handler.Create(entity); + } + + /// + /// Updates an existing Object on the Eventbrite website + /// + /// Eventbrite Object to update + /// Eventbrite Object + public void Update(T entity) where T : EventbriteObject + { + var handler = GetHandler(typeof(T)); + handler.Update(entity); + } + + /// + /// Publishes an existing Event on the Eventbrite website + /// + /// ID of Event to publish + public void Publish(long id) + { + var handler = (EventRequestHander)GetHandler(typeof(Event)); + handler.Publish(id); + } + + /// + /// Unpublishes an existing Event on the Eventbrite website + /// + /// ID of Event to unpublish + public void Unpublish(long id) + { + var handler = (EventRequestHander)GetHandler(typeof(Event)); + handler.Unpublish(id); + } + + /// + /// Searches existing Events on the Eventbrite website + /// + /// ID of Event to unpublish + public PagedEvents Search() + { + var handler = (EventRequestHander)GetHandler(typeof(Event)); + return handler.Search(); + } + + /// + /// Get the users Events Created + /// + /// + public PagedEvents GetOwnedEvents() + { + var handler = (EventRequestHander)GetHandler(typeof(Event)); + return handler.GetOwnedEvents(); + } + + public FullDescription GetFullDescription(long eventId) + { + var handler = (EventRequestHander)GetHandler(typeof(Event)); + return handler.GetFullDescription(eventId); + } + + /// + /// Get events for the given organizer + /// + /// Organizer Id + /// Only return events with a specific status set. This should be a comma delimited string of status. Valid status: all, draft, live, canceled, started, ended. + /// How to order the results (Valid choices are: start_asc, start_desc, created_asc, or created_desc) + /// Only return events with start dates after the given date. + /// Only return events with start dates before the given date. + /// Only show public events even if viewing your own events. + /// Events corresponding to the parameters if any + public IList GetOrganizerEvents(long id, StatusOptions[] status = null, OrderOptions[] orderBy = null, DateTime? dateStart = null, DateTime? dateEnd = null, bool? onlyPublic = null, string expand = null) + { + var handler = (OrganizerRequestHander)GetHandler(typeof(Organizer)); + return handler.GetOrganizerEvents(id, status, orderBy, dateStart, dateEnd, onlyPublic, expand); + } + + /// + /// Finds appropriate + /// + /// + private IRequestHandler GetHandler(Type type) + { + IRequestHandler handler; + if(!this.RequestHandlers.TryGetValue(type.Name, out handler)) + throw new NotSupportedException(string.Format("Type \"{0}\" is not currently supported.", type.Name)); + + return handler; + } + } +} diff --git a/EventbriteDotNet/EventbriteDotNet.csproj b/EventbriteDotNet/EventbriteDotNet.csproj new file mode 100644 index 0000000..291bbef --- /dev/null +++ b/EventbriteDotNet/EventbriteDotNet.csproj @@ -0,0 +1,18 @@ + + + net5.0 + Library + false + + + + + + + all + + + + + + \ No newline at end of file diff --git a/EventbriteDotNet/EventbriteDotNet.csproj.user b/EventbriteDotNet/EventbriteDotNet.csproj.user new file mode 100644 index 0000000..9b86104 --- /dev/null +++ b/EventbriteDotNet/EventbriteDotNet.csproj.user @@ -0,0 +1,6 @@ + + + + ShowAllFiles + + \ No newline at end of file diff --git a/EventbriteDotNet/EventbriteDotNet.nuspec b/EventbriteDotNet/EventbriteDotNet.nuspec new file mode 100644 index 0000000..c297655 --- /dev/null +++ b/EventbriteDotNet/EventbriteDotNet.nuspec @@ -0,0 +1,17 @@ + + + + $id$ + 1.0.2 + $title$ + New Belgium Brewing Company + false + MIT + https://github.com/newbelgium/ + + API wrapper for Eventbrite API. Ported from georgioua/EventbriteNET but adds a few missing methods. API still incomplete. + Updated for .net core support + $copyright$ + Eventbrite + + \ No newline at end of file diff --git a/EventbriteNET/EventbriteObject.cs b/EventbriteDotNet/EventbriteObject.cs similarity index 86% rename from EventbriteNET/EventbriteObject.cs rename to EventbriteDotNet/EventbriteObject.cs index 619ab1b..366f4eb 100644 --- a/EventbriteNET/EventbriteObject.cs +++ b/EventbriteDotNet/EventbriteObject.cs @@ -1,32 +1,31 @@ -using System.Collections.Generic; -using Newtonsoft.Json; - -namespace EventbriteNET -{ - /// - /// Base Eventbrite Object - /// - public abstract class EventbriteObject - { - [JsonProperty("id")] - public long Id { get; set; } - [JsonProperty("resource_uri")] - public string ResourceUri { get; set; } - - } - - public class Pagination - { - [JsonProperty("object_count")] - public int ObjectCount { get; set; } - [JsonProperty("page_number")] - public int PageNumber { get; set; } - [JsonProperty("page_size")] - public int PageSize { get; set; } - [JsonProperty("page_count")] - public int PageCount { get; set; } - - } - - -} +using Newtonsoft.Json; + +namespace EventbriteDotNet +{ + /// + /// Base Eventbrite Object + /// + public abstract class EventbriteObject + { + [JsonProperty("id")] + public long Id { get; set; } + [JsonProperty("resource_uri")] + public string ResourceUri { get; set; } + + } + + public class Pagination + { + [JsonProperty("object_count")] + public int ObjectCount { get; set; } + [JsonProperty("page_number")] + public int PageNumber { get; set; } + [JsonProperty("page_size")] + public int PageSize { get; set; } + [JsonProperty("page_count")] + public int PageCount { get; set; } + + } + + +} diff --git a/EventbriteDotNet/Extensions/HttpExtensions.cs b/EventbriteDotNet/Extensions/HttpExtensions.cs new file mode 100644 index 0000000..417d598 --- /dev/null +++ b/EventbriteDotNet/Extensions/HttpExtensions.cs @@ -0,0 +1,62 @@ +using Newtonsoft.Json; +using System; +using System.Linq; +using System.Net.Http; + +namespace EventbriteDotNet.Extensions +{ + /// + /// Extension methods for related calls + /// + public static class HttpExtensions + { + public static T As(this HttpResponseMessage response) + { + if (response.Content != null) + { + var content = response.Content.ReadAsStringAsync().Result; + return JsonConvert.DeserializeObject(content); + } + else + return default(T); + } + + public static string ToUrlParam(this StatusOptions[] status) + { + if (status != null && status.Any()) + return string.Join(",", status.Select(s => s.ToString())); + return null; + } + + public static string ToUrlParam(this OrderOptions[] status) + { + if (status != null && status.Any()) + return string.Join(",", status.Select(s => s.ToString())); + return null; + } + + public static string ToUrlParam(this DateTime? date) + { + if (date.HasValue) + return date.Value.ToString("yyyy-MM-ddTHH:mm:ss"); + return null; + } + + public static string ToUrlParam(this DateTime date) + { + return ((DateTime?)date).ToUrlParam(); + } + + public static string ToUrlParam(this bool? boolean) + { + if (boolean.HasValue) + return Newtonsoft.Json.JsonConvert.SerializeObject(boolean.Value); + return null; + } + + public static string ToUrlParam(this bool boolean) + { + return ((bool?)boolean).ToUrlParam(); + } + } +} diff --git a/EventbriteNET/Extensions/StringExtensions.cs b/EventbriteDotNet/Extensions/StringExtensions.cs similarity index 97% rename from EventbriteNET/Extensions/StringExtensions.cs rename to EventbriteDotNet/Extensions/StringExtensions.cs index eba73c8..aa2e44e 100644 --- a/EventbriteNET/Extensions/StringExtensions.cs +++ b/EventbriteDotNet/Extensions/StringExtensions.cs @@ -1,7 +1,7 @@ using System; using System.Text; -namespace EventbriteNET.Extensions +namespace EventbriteDotNet.Extensions { public static class StringExtensions { diff --git a/EventbriteNET/Fields.cs b/EventbriteDotNet/Fields.cs similarity index 97% rename from EventbriteNET/Fields.cs rename to EventbriteDotNet/Fields.cs index 8125f90..d35aada 100644 --- a/EventbriteNET/Fields.cs +++ b/EventbriteDotNet/Fields.cs @@ -1,7 +1,7 @@ using Newtonsoft.Json; using System; -namespace EventbriteNET +namespace EventbriteDotNet { /// /// @@ -53,7 +53,7 @@ public class AddressField [JsonProperty("latitude")] public decimal Latitude { get; set; } [JsonProperty("longitude")] - public string Longitude { get; set; } + public decimal Longitude { get; set; } } /// diff --git a/EventbriteNET/Format.cs b/EventbriteDotNet/Format.cs similarity index 95% rename from EventbriteNET/Format.cs rename to EventbriteDotNet/Format.cs index 8f7e215..fe5d1e1 100644 --- a/EventbriteNET/Format.cs +++ b/EventbriteDotNet/Format.cs @@ -1,7 +1,7 @@ using Newtonsoft.Json; using System; -namespace EventbriteNET +namespace EventbriteDotNet { /// /// Represents an Eventbrite Format diff --git a/EventbriteDotNet/FullDescription.cs b/EventbriteDotNet/FullDescription.cs new file mode 100644 index 0000000..57b6920 --- /dev/null +++ b/EventbriteDotNet/FullDescription.cs @@ -0,0 +1,10 @@ +using Newtonsoft.Json; + +namespace EventbriteDotNet +{ + public class FullDescription + { + [JsonProperty("description")] + public string Description { get; set; } + } +} diff --git a/EventbriteNET/Http/AttendeesRequestHandler.cs b/EventbriteDotNet/Http/AttendeesRequestHandler.cs similarity index 88% rename from EventbriteNET/Http/AttendeesRequestHandler.cs rename to EventbriteDotNet/Http/AttendeesRequestHandler.cs index c4dfd84..b8ab093 100644 --- a/EventbriteNET/Http/AttendeesRequestHandler.cs +++ b/EventbriteDotNet/Http/AttendeesRequestHandler.cs @@ -1,104 +1,93 @@ -using EventbriteNET.Extensions; -using System; -using System.Collections.Generic; -using System.Diagnostics.Tracing; -using System.Linq; -using System.Net.Http; -using System.Threading.Tasks; - - -using EventbriteNET.Extensions; -using System; -using System.Collections.Generic; -using System.Net.Http; -using System.Threading.Tasks; - -namespace EventbriteNET.Http -{ - /// - /// https://developer.eventbrite.com/docs/ticket-classes/ - /// - class AttendeesRequestHandler : RequestBase - { - public AttendeesRequestHandler(EventbriteContext context) : base(context) { } - - protected override IList OnGet() - { - if (Context.EventId <= 0) - throw new ArgumentException("EventId not set in Context", "entity"); - - var request = new RestRequest("events/{id}/attendees/"); - request.AddUrlSegment("id", Context.EventId.ToString()); - request.AddQueryParameter("token", Context.Token); - if (Context.Page > 1) - request.AddQueryParameter("page", Context.Page.ToString()); - - var eventAttendees = this.Execute(request); - - Context.Pagination = eventAttendees.Pagination; - - return eventAttendees.Attendees; - - - } - - protected override Attendee OnGet(long id) - { - if (Context.EventId <= 0) - throw new ArgumentException("EventId not set in Context", "entity"); - - var request = new RestRequest("events/{id}/attendees/{attendee_id}/"); - request.AddUrlSegment("id", Context.EventId.ToString()); - request.AddUrlSegment("attendee_id", id.ToString()); - request.AddQueryParameter("token", Context.Token); - - if (Context.Page > 1) - request.AddQueryParameter("page", Context.Page.ToString()); - - return this.Execute(request); - } - - protected override void OnCreate(Attendee entity) - { - throw new NotImplementedException(); - } - - protected override void OnUpdate(Attendee entity) - { - throw new NotImplementedException(); - } - - - protected override Task> OnGetAsync() - { - return Task.Run(() => OnGet()); - } - - protected override Task OnGetAsync(long id) - { - if (Context.EventId <= 0) - throw new ArgumentException("EventId not set in Context", "entity"); - - var request = new RestRequest("events/{id}/attendees/{attendeeId}/"); - request.AddUrlSegment("id", Context.EventId.ToString()); - request.AddUrlSegment("attendeesId", id.ToString()); - request.AddQueryParameter("token", Context.Token); - - if (Context.Page > 1) - request.AddQueryParameter("page", Context.Page.ToString()); - - return this.ExecuteAsync(request); - } - - private string[] AcceptedPostFields() - { - return new[] - { - "status", - "changed_since" - }; - } - } -} - - +using System; +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace EventbriteDotNet.Http +{ + /// + /// https://developer.eventbrite.com/docs/ticket-classes/ + /// + class AttendeesRequestHandler : RequestBase + { + public AttendeesRequestHandler(EventbriteContext context) : base(context) { } + + protected override IList OnGet() + { + if (Context.EventId <= 0) + throw new ArgumentException("EventId not set in Context", "entity"); + + var request = new RestRequest("events/{id}/attendees/"); + request.AddUrlSegment("id", Context.EventId.ToString()); + request.AddQueryParameter("token", Context.Token); + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + var eventAttendees = this.Execute(request); + + Context.Pagination = eventAttendees.Pagination; + + return eventAttendees.Attendees; + + + } + + protected override Attendee OnGet(long id) + { + if (Context.EventId <= 0) + throw new ArgumentException("EventId not set in Context", "entity"); + + var request = new RestRequest("events/{id}/attendees/{attendee_id}/"); + request.AddUrlSegment("id", Context.EventId.ToString()); + request.AddUrlSegment("attendee_id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + return this.Execute(request); + } + + protected override void OnCreate(Attendee entity) + { + throw new NotImplementedException(); + } + + protected override void OnUpdate(Attendee entity) + { + throw new NotImplementedException(); + } + + + protected override Task> OnGetAsync() + { + return Task.Run(() => OnGet()); + } + + protected override Task OnGetAsync(long id) + { + if (Context.EventId <= 0) + throw new ArgumentException("EventId not set in Context", "entity"); + + var request = new RestRequest("events/{id}/attendees/{attendeeId}/"); + request.AddUrlSegment("id", Context.EventId.ToString()); + request.AddUrlSegment("attendeesId", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + return this.ExecuteAsync(request); + } + + private string[] AcceptedPostFields() + { + return new[] + { + "status", + "changed_since" + }; + } + } +} + + diff --git a/EventbriteNET/Http/CategoryRequestHander.cs b/EventbriteDotNet/Http/CategoryRequestHander.cs similarity index 90% rename from EventbriteNET/Http/CategoryRequestHander.cs rename to EventbriteDotNet/Http/CategoryRequestHander.cs index 47a8fe9..6b8f887 100644 --- a/EventbriteNET/Http/CategoryRequestHander.cs +++ b/EventbriteDotNet/Http/CategoryRequestHander.cs @@ -1,11 +1,8 @@ -using EventbriteNET.Collections; -using EventbriteNET.Extensions; -using System; +using System; using System.Collections.Generic; -using System.Net.Http; using System.Threading.Tasks; -namespace EventbriteNET.Http +namespace EventbriteDotNet.Http { /// /// http://developer.eventbrite.com/docs/event-categories/ diff --git a/EventbriteNET/Http/Enums.cs b/EventbriteDotNet/Http/Enums.cs similarity index 87% rename from EventbriteNET/Http/Enums.cs rename to EventbriteDotNet/Http/Enums.cs index bc6654e..1533d94 100644 --- a/EventbriteNET/Http/Enums.cs +++ b/EventbriteDotNet/Http/Enums.cs @@ -1,6 +1,6 @@ using System; -namespace EventbriteNET.Http +namespace EventbriteDotNet.Http { /// /// Types of parameters that can be added to requests diff --git a/EventbriteNET/Http/EventRequestHander.cs b/EventbriteDotNet/Http/EventRequestHander.cs similarity index 93% rename from EventbriteNET/Http/EventRequestHander.cs rename to EventbriteDotNet/Http/EventRequestHander.cs index 8b20e08..d4881a7 100644 --- a/EventbriteNET/Http/EventRequestHander.cs +++ b/EventbriteDotNet/Http/EventRequestHander.cs @@ -1,209 +1,217 @@ -using EventbriteNET.Extensions; -using System; -using System.Collections.Generic; -using System.Diagnostics.Tracing; -using System.Linq; -using System.Net.Http; -using System.Threading.Tasks; - -namespace EventbriteNET.Http -{ - /// - /// http://developer.eventbrite.com/docs/event-details/ - /// - class EventRequestHander : RequestBase - { - public EventRequestHander(EventbriteContext context) : base(context) { } - - public PagedEvents Search() - { - var request = new RestRequest("events/search/"); - request.AddQueryParameter("token", Context.Token); - - if (Context.Page > 1) - request.AddQueryParameter("page", Context.Page.ToString()); - - var events = this.Execute(request); - - return events; - } - - public PagedEvents GetOwnedEvents() - { - var request = new RestRequest("users/me/owned_events/"); - request.AddQueryParameter("token", Context.Token); - - if (Context.Page > 1) - request.AddQueryParameter("page", Context.Page.ToString()); - - return this.Execute(request); - - } - - protected override IList OnGet() - { - var request = new RestRequest("users/me/owned_events/"); - request.AddQueryParameter("token", Context.Token); - - if (Context.Page > 1) - request.AddQueryParameter("page", Context.Page.ToString()); - - var events = this.Execute(request); - - Context.Pagination = events.Pagination; - - return events.Events; - - //throw new NotImplementedException(); - } - - protected override Event OnGet(long id) - { - var request = new RestRequest("events/{id}/"); - request.AddUrlSegment("id", id.ToString()); - request.AddQueryParameter("token", Context.Token); - - Context.EventId = id; - return this.Execute(request); - } - - protected override void OnCreate(Event entity) - { - var request = new RestRequest("events/", HttpMethod.Post); - request.AddQueryParameter("token", Context.Token); - request.AddObject(entity, "event", AcceptedPostFields()); - - // execute Event create - var response = this.Execute(request); - - if(response.IsSuccessStatusCode) - { - // get updated response - var persisted = response.As(); - // persist base properties onto entity - entity.Id = persisted.Id; - entity.ResourceUri = persisted.ResourceUri; - Context.EventId = persisted.Id; - - // Ticket create - if (entity.TicketClasses.Count > 0) - { - IRequestHandler ticketHandler = new TicketClassRequestHander(Context); - - foreach (var ticket in entity.TicketClasses) - { - // set associated Event ID - ticket.EventId = entity.Id; - ticketHandler.Create(ticket); - } - } - - // Venue create - } - else - { - this.ThrowResponseError(response); - } - } - - protected override void OnUpdate(Event entity) - { - if (entity.Id <= 0) - throw new ArgumentException("Id not set in Event", "entity"); - - var request = new RestRequest("events/{id}/", HttpMethod.Post); - request.AddUrlSegment("id", entity.Id.ToString()); - request.AddQueryParameter("token", Context.Token); - request.AddObject(entity, "event", AcceptedPostFields()); - - // Execute Event update - var response = this.Execute(request); - - if (response.IsSuccessStatusCode) - { - Context.EventId = entity.Id; - - // Ticket update - if (entity.TicketClasses.Count > 0) - { - IRequestHandler ticketHandler = new TicketClassRequestHander(Context); - - foreach (var ticket in entity.TicketClasses) - { - ticket.EventId = entity.Id; - ticketHandler.Update(ticket); - } - } - } - else - { - this.ThrowResponseError(response); - } - } - - protected override Task> OnGetAsync() - { - return Task.Run(() => OnGet()); - } - - protected override Task OnGetAsync(long id) - { - var request = new RestRequest("events/{id}/"); - request.AddUrlSegment("id", id.ToString()); - request.AddQueryParameter("token", Context.Token); - - if (Context.Page > 1) - request.AddQueryParameter("page", Context.Page.ToString()); - - Context.EventId = id; - return this.ExecuteAsync(request); - } - - public void Publish(long id) - { - var request = new RestRequest("events/{id}/publish/", HttpMethod.Post); - request.AddUrlSegment("id", id.ToString()); - request.AddQueryParameter("token", Context.Token); - - Context.EventId = id; - this.Execute(request); - } - - public void Unpublish(long id) - { - var request = new RestRequest("events/{id}/unpublish/", HttpMethod.Post); - request.AddUrlSegment("id", id.ToString()); - request.AddQueryParameter("token", Context.Token); - - Context.EventId = id; - this.Execute(request); - } - - private string[] AcceptedPostFields() - { - return new[] - { - "Name", - "Html", - "Description", - "OrganizerId", - "Start", - "End", - "Utc", - "Timezone", - "Currency", - "VenueId", - "OnlineEvent", - "Listed", - "CategoryId", - "SubcategoryId", - "FormatId", - "Shareable", - "InviteOnly", - "Password", - "Capacity", - "ShowRemaining" - }; - } - } -} +using EventbriteDotNet.Extensions; +using System; +using System.Collections.Generic; +using System.Net.Http; +using System.Threading.Tasks; + +namespace EventbriteDotNet.Http +{ + /// + /// http://developer.eventbrite.com/docs/event-details/ + /// + class EventRequestHander : RequestBase + { + public EventRequestHander(EventbriteContext context) : base(context) { } + + public PagedEvents Search() + { + var request = new RestRequest("events/search/"); + request.AddQueryParameter("token", Context.Token); + + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + var events = this.Execute(request); + + return events; + } + + public PagedEvents GetOwnedEvents() + { + var request = new RestRequest("users/me/owned_events/"); + request.AddQueryParameter("token", Context.Token); + + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + return this.Execute(request); + + } + + protected override IList OnGet() + { + var request = new RestRequest("users/me/owned_events/"); + request.AddQueryParameter("token", Context.Token); + + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + var events = this.Execute(request); + + Context.Pagination = events.Pagination; + + return events.Events; + + //throw new NotImplementedException(); + } + + protected override Event OnGet(long id) + { + var request = new RestRequest("events/{id}/"); + request.AddUrlSegment("id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + Context.EventId = id; + return this.Execute(request); + } + + public FullDescription GetFullDescription(long id) + { + var request = new RestRequest("events/{id}/description"); + request.AddUrlSegment("id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + Context.EventId = id; + return this.Execute(request); + } + + protected override void OnCreate(Event entity) + { + var request = new RestRequest("events/", HttpMethod.Post); + request.AddQueryParameter("token", Context.Token); + request.AddObject(entity, "event", AcceptedPostFields()); + + // execute Event create + var response = this.Execute(request); + + if(response.IsSuccessStatusCode) + { + // get updated response + var persisted = response.As(); + // persist base properties onto entity + entity.Id = persisted.Id; + entity.ResourceUri = persisted.ResourceUri; + Context.EventId = persisted.Id; + + // Ticket create + if (entity.TicketClasses.Count > 0) + { + IRequestHandler ticketHandler = new TicketClassRequestHander(Context); + + foreach (var ticket in entity.TicketClasses) + { + // set associated Event ID + ticket.EventId = entity.Id; + ticketHandler.Create(ticket); + } + } + + // Venue create + } + else + { + this.ThrowResponseError(response); + } + } + + protected override void OnUpdate(Event entity) + { + if (entity.Id <= 0) + throw new ArgumentException("Id not set in Event", "entity"); + + var request = new RestRequest("events/{id}/", HttpMethod.Post); + request.AddUrlSegment("id", entity.Id.ToString()); + request.AddQueryParameter("token", Context.Token); + request.AddObject(entity, "event", AcceptedPostFields()); + + // Execute Event update + var response = this.Execute(request); + + if (response.IsSuccessStatusCode) + { + Context.EventId = entity.Id; + + // Ticket update + if (entity.TicketClasses.Count > 0) + { + IRequestHandler ticketHandler = new TicketClassRequestHander(Context); + + foreach (var ticket in entity.TicketClasses) + { + ticket.EventId = entity.Id; + ticketHandler.Update(ticket); + } + } + } + else + { + this.ThrowResponseError(response); + } + } + + protected override Task> OnGetAsync() + { + return Task.Run(() => OnGet()); + } + + protected override Task OnGetAsync(long id) + { + var request = new RestRequest("events/{id}/"); + request.AddUrlSegment("id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + Context.EventId = id; + return this.ExecuteAsync(request); + } + + public void Publish(long id) + { + var request = new RestRequest("events/{id}/publish/", HttpMethod.Post); + request.AddUrlSegment("id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + Context.EventId = id; + this.Execute(request); + } + + public void Unpublish(long id) + { + var request = new RestRequest("events/{id}/unpublish/", HttpMethod.Post); + request.AddUrlSegment("id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + Context.EventId = id; + this.Execute(request); + } + + private string[] AcceptedPostFields() + { + return new[] + { + "Name", + "Html", + "Description", + "OrganizerId", + "Start", + "End", + "Utc", + "Timezone", + "Currency", + "VenueId", + "OnlineEvent", + "Listed", + "CategoryId", + "SubcategoryId", + "FormatId", + "Shareable", + "InviteOnly", + "Password", + "Capacity", + "ShowRemaining" + }; + } + } +} diff --git a/EventbriteNET/Http/IRequestHandler.cs b/EventbriteDotNet/Http/IRequestHandler.cs similarity index 92% rename from EventbriteNET/Http/IRequestHandler.cs rename to EventbriteDotNet/Http/IRequestHandler.cs index 87e5f16..ab0b676 100644 --- a/EventbriteNET/Http/IRequestHandler.cs +++ b/EventbriteDotNet/Http/IRequestHandler.cs @@ -1,19 +1,19 @@ -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace EventbriteNET.Http -{ - interface IRequestHandler - { - IList Get() where T : EventbriteObject; - T Get(long id) where T : EventbriteObject; - void Create(T entity) where T : EventbriteObject; - void Update(T entity) where T : EventbriteObject; - Task> GetAsync() where T : EventbriteObject; - Task GetAsync(long id) where T : EventbriteObject; - Task CreateAsync(T entity) where T : EventbriteObject; - Task UpdateAsync(T entity) where T : EventbriteObject; - - - } -} +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace EventbriteDotNet.Http +{ + interface IRequestHandler + { + IList Get() where T : EventbriteObject; + T Get(long id) where T : EventbriteObject; + void Create(T entity) where T : EventbriteObject; + void Update(T entity) where T : EventbriteObject; + Task> GetAsync() where T : EventbriteObject; + Task GetAsync(long id) where T : EventbriteObject; + Task CreateAsync(T entity) where T : EventbriteObject; + Task UpdateAsync(T entity) where T : EventbriteObject; + + + } +} diff --git a/EventbriteNET/Http/IRestRequest.cs b/EventbriteDotNet/Http/IRestRequest.cs similarity index 98% rename from EventbriteNET/Http/IRestRequest.cs rename to EventbriteDotNet/Http/IRestRequest.cs index 37d2f1a..818634c 100644 --- a/EventbriteNET/Http/IRestRequest.cs +++ b/EventbriteDotNet/Http/IRestRequest.cs @@ -1,8 +1,7 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Net.Http; -namespace EventbriteNET.Http +namespace EventbriteDotNet.Http { public interface IRestRequest { diff --git a/EventbriteDotNet/Http/MediaRequestHander.cs b/EventbriteDotNet/Http/MediaRequestHander.cs new file mode 100644 index 0000000..8cb7beb --- /dev/null +++ b/EventbriteDotNet/Http/MediaRequestHander.cs @@ -0,0 +1,55 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace EventbriteDotNet.Http +{ + /// + /// https://www.eventbrite.com/developer/v3/endpoints/media/ + /// + class MediaRequestHander : RequestBase + { + public MediaRequestHander(EventbriteContext context) : base(context) { } + + protected override IList OnGet() + { + throw new NotImplementedException(); + } + + protected override Image OnGet(long id) + { + var request = new RestRequest("media/{id}/"); + request.AddUrlSegment("id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + return this.Execute(request); + } + + protected override Task> OnGetAsync() + { + return Task.Run(() => OnGet()); + } + + protected override Task OnGetAsync(long id) + { + var request = new RestRequest("media/{id}/"); + request.AddUrlSegment("id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + return this.ExecuteAsync(request); + } + + protected override void OnCreate(Image entity) + { + throw new NotImplementedException(); + } + + protected override void OnUpdate(Image entity) + { + throw new NotImplementedException(); + } + } +} diff --git a/EventbriteDotNet/Http/OrganizerRequestHander.cs b/EventbriteDotNet/Http/OrganizerRequestHander.cs new file mode 100644 index 0000000..072a8a1 --- /dev/null +++ b/EventbriteDotNet/Http/OrganizerRequestHander.cs @@ -0,0 +1,143 @@ +using EventbriteDotNet.Extensions; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net.Http; +using System.Threading.Tasks; + +namespace EventbriteDotNet.Http +{ + /// + /// http://developer.eventbrite.com/docs/event-details/ + /// + class OrganizerRequestHander : RequestBase + { + public OrganizerRequestHander(EventbriteContext context) : base(context) { } + + protected override Organizer OnGet(long id) + { + var request = new RestRequest("organizers/{id}/"); + request.AddUrlSegment("id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + Context.OrganizerId = id; + return this.Execute(request); + } + + protected override void OnCreate(Organizer entity) + { + var request = new RestRequest("organizers/", HttpMethod.Post); + request.AddQueryParameter("token", Context.Token); + request.AddObject(entity, "organizer", AcceptedPostFields()); + + // execute Event create + var response = this.Execute(request); + + if(response.IsSuccessStatusCode) + { + // get updated response + var persisted = response.As(); + // persist base properties onto entity + entity.Id = persisted.Id; + entity.ResourceUri = persisted.ResourceUri; + Context.OrganizerId = persisted.Id; + } + else + { + this.ThrowResponseError(response); + } + } + + protected override void OnUpdate(Organizer entity) + { + if (entity.Id <= 0) + throw new ArgumentException("Id not set in Organizer", "entity"); + + var request = new RestRequest("organizers/{id}/", HttpMethod.Post); + request.AddUrlSegment("id", entity.Id.ToString()); + request.AddQueryParameter("token", Context.Token); + request.AddObject(entity, "organizer", AcceptedPostFields()); + + // Execute Event update + var response = this.Execute(request); + + if (response.IsSuccessStatusCode) + { + Context.OrganizerId = entity.Id; + } + else + { + this.ThrowResponseError(response); + } + } + + protected override Task OnGetAsync(long id) + { + var request = new RestRequest("organizers/{id}/"); + request.AddUrlSegment("id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + Context.OrganizerId = id; + return this.ExecuteAsync(request); + } + + public IList GetOrganizerEvents(long id, StatusOptions[] status = null, OrderOptions[] orderBy = null, DateTime? dateStart = null, DateTime? dateEnd = null, bool? onlyPublic = null, string expand = null) + { + var request = new RestRequest("organizers/{id}/events/"); + request.AddUrlSegment("id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + if (status != null && status.Any()) + request.AddQueryParameter("status", status.ToUrlParam()); + if (orderBy != null && orderBy.Any()) + request.AddQueryParameter("order_by", orderBy.ToUrlParam()); + if (dateStart.HasValue) + request.AddQueryParameter("start_date.range_start", dateStart.ToUrlParam()); //2016-01-31T13:00:00 + if (dateEnd.HasValue) + request.AddQueryParameter("start_date.range_end", dateStart.ToUrlParam()); + if (onlyPublic.HasValue) + request.AddQueryParameter("only_public", onlyPublic.ToUrlParam()); + if (!string.IsNullOrEmpty(expand)) + request.AddQueryParameter("expand", expand); + + Context.OrganizerId = id; + + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + var events = this.Execute(request); + + Context.Pagination = events.Pagination; + + return events.Events; + } + + + private string[] AcceptedPostFields() + { + return new[] + { + "Name", + "Html", + "Description", + "OrganizerLogoId", + "Website", + "Twitter", + "Facebook", + "Instagram" + }; + } + + protected override IList OnGet() + { + throw new NotImplementedException(); + } + + protected override Task> OnGetAsync() + { + throw new NotImplementedException(); + } + } +} diff --git a/EventbriteNET/Http/Parameters.cs b/EventbriteDotNet/Http/Parameters.cs similarity index 95% rename from EventbriteNET/Http/Parameters.cs rename to EventbriteDotNet/Http/Parameters.cs index 2260e82..388d14f 100644 --- a/EventbriteNET/Http/Parameters.cs +++ b/EventbriteDotNet/Http/Parameters.cs @@ -1,4 +1,4 @@ -namespace EventbriteNET.Http +namespace EventbriteDotNet.Http { /// /// Parameter container for REST requests diff --git a/EventbriteNET/Http/RequestBase.cs b/EventbriteDotNet/Http/RequestBase.cs similarity index 98% rename from EventbriteNET/Http/RequestBase.cs rename to EventbriteDotNet/Http/RequestBase.cs index 66bdcd5..1db3a84 100644 --- a/EventbriteNET/Http/RequestBase.cs +++ b/EventbriteDotNet/Http/RequestBase.cs @@ -1,14 +1,11 @@ -using EventbriteNET.Extensions; -using Newtonsoft.Json; +using EventbriteDotNet.Extensions; using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Net; +using System.Collections.Generic; +using System.Linq; using System.Net.Http; using System.Threading.Tasks; -namespace EventbriteNET.Http +namespace EventbriteDotNet.Http { abstract class RequestBase : IRequestHandler where TEntity : EventbriteObject { diff --git a/EventbriteNET/Http/RestRequest.cs b/EventbriteDotNet/Http/RestRequest.cs similarity index 99% rename from EventbriteNET/Http/RestRequest.cs rename to EventbriteDotNet/Http/RestRequest.cs index b723260..54d1318 100644 --- a/EventbriteNET/Http/RestRequest.cs +++ b/EventbriteDotNet/Http/RestRequest.cs @@ -5,7 +5,7 @@ using System.Net.Http; using System.Reflection; -namespace EventbriteNET.Http +namespace EventbriteDotNet.Http { public class RestRequest : IRestRequest { diff --git a/EventbriteNET/Http/RestRequestException.cs b/EventbriteDotNet/Http/RestRequestException.cs similarity index 92% rename from EventbriteNET/Http/RestRequestException.cs rename to EventbriteDotNet/Http/RestRequestException.cs index f701a89..067c414 100644 --- a/EventbriteNET/Http/RestRequestException.cs +++ b/EventbriteDotNet/Http/RestRequestException.cs @@ -1,6 +1,6 @@ using System; -namespace EventbriteNET.Http +namespace EventbriteDotNet.Http { public class RestRequestException : Exception { diff --git a/EventbriteNET/Http/TicketClassRequestHander.cs b/EventbriteDotNet/Http/TicketClassRequestHander.cs similarity index 96% rename from EventbriteNET/Http/TicketClassRequestHander.cs rename to EventbriteDotNet/Http/TicketClassRequestHander.cs index f1d9655..063a551 100644 --- a/EventbriteNET/Http/TicketClassRequestHander.cs +++ b/EventbriteDotNet/Http/TicketClassRequestHander.cs @@ -1,132 +1,132 @@ -using EventbriteNET.Extensions; -using System; -using System.Collections.Generic; -using System.Net.Http; -using System.Threading.Tasks; - -namespace EventbriteNET.Http -{ - /// - /// https://developer.eventbrite.com/docs/ticket-classes/ - /// - class TicketClassRequestHander : RequestBase - { - public TicketClassRequestHander(EventbriteContext context) : base(context) { } - - protected override IList OnGet() - { - if (Context.EventId <= 0) - throw new ArgumentException("EventId not set in Context", "entity"); - - var request = new RestRequest("events/{id}/ticket_classes/"); - request.AddUrlSegment("id", Context.EventId.ToString()); - request.AddQueryParameter("token", Context.Token); - if (Context.Page > 1) - request.AddQueryParameter("page", Context.Page.ToString()); - - - return this.Execute>(request); - } - - protected override TicketClass OnGet(long id) - { - if (Context.EventId <= 0) - throw new ArgumentException("EventId not set in Context", "entity"); - - var request = new RestRequest("events/{id}/ticket_classes/{ticketId}/"); - request.AddUrlSegment("id", Context.EventId.ToString()); - request.AddUrlSegment("ticketId", id.ToString()); - request.AddQueryParameter("token", Context.Token); - if (Context.Page > 1) - request.AddQueryParameter("page", Context.Page.ToString()); - - return this.Execute(request); - } - - protected override void OnCreate(TicketClass entity) - { - if (entity.EventId <= 0) - throw new ArgumentException("EventId not set in TicketClass", "entity"); - - var request = new RestRequest("events/{id}/ticket_classes/", HttpMethod.Post); - request.AddUrlSegment("id", entity.EventId.ToString()); - request.AddQueryParameter("token", Context.Token); - request.AddObject(entity, "ticket_class", AcceptedPostFields()); - - var response = this.Execute(request); - if (response.IsSuccessStatusCode) - { - // persisted properties - var persisted = response.As(); - entity.Id = persisted.Id; - entity.ResourceUri = persisted.ResourceUri; - } - else - this.ThrowResponseError(response); - } - - protected override void OnUpdate(TicketClass entity) - { - if (entity.Id <= 0) - throw new ArgumentException("Id not set in TicketClass", "entity"); - - if (entity.EventId <= 0) - throw new ArgumentException("EventId not set in TicketClass", "entity"); - - var request = new RestRequest("events/{id}/ticket_classes/{ticketId}/", HttpMethod.Post); - request.AddUrlSegment("id", entity.EventId.ToString()); - request.AddUrlSegment("ticketId", entity.Id.ToString()); - request.AddQueryParameter("token", Context.Token); - request.AddObject(entity, "ticket_class", AcceptedPostFields()); - - var response = this.Execute(request); - if (!response.IsSuccessStatusCode) - this.ThrowResponseError(response); - } - - protected override Task> OnGetAsync() - { - return Task.Run(() => OnGet()); - } - - protected override Task OnGetAsync(long id) - { - if (Context.EventId <= 0) - throw new ArgumentException("EventId not set in Context", "entity"); - - var request = new RestRequest("events/{id}/ticket_classes/{ticketId}/"); - request.AddUrlSegment("id", Context.EventId.ToString()); - request.AddUrlSegment("ticketId", id.ToString()); - request.AddQueryParameter("token", Context.Token); - if (Context.Page > 1) - request.AddQueryParameter("page", Context.Page.ToString()); - - return this.ExecuteAsync(request); - } - - private string[] AcceptedPostFields() - { - return new[] - { - "Name", - "Description", - "QuantityTotal", - "Cost", - "Currency", - "Value", - "Donation", - "Free", - "IncludeFee", - "SplitFee", - "HideDescription", - "SalesStart", - "SalesStartAfter", - "MinimumQuantity", - "MaximumQuantity", - "AutoHide", - "AutoHideBefore", - "AutoHideAfter" - }; - } - } -} +using EventbriteDotNet.Extensions; +using System; +using System.Collections.Generic; +using System.Net.Http; +using System.Threading.Tasks; + +namespace EventbriteDotNet.Http +{ + /// + /// https://developer.eventbrite.com/docs/ticket-classes/ + /// + class TicketClassRequestHander : RequestBase + { + public TicketClassRequestHander(EventbriteContext context) : base(context) { } + + protected override IList OnGet() + { + if (Context.EventId <= 0) + throw new ArgumentException("EventId not set in Context", "entity"); + + var request = new RestRequest("events/{id}/ticket_classes/"); + request.AddUrlSegment("id", Context.EventId.ToString()); + request.AddQueryParameter("token", Context.Token); + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + + return this.Execute>(request); + } + + protected override TicketClass OnGet(long id) + { + if (Context.EventId <= 0) + throw new ArgumentException("EventId not set in Context", "entity"); + + var request = new RestRequest("events/{id}/ticket_classes/{ticketId}/"); + request.AddUrlSegment("id", Context.EventId.ToString()); + request.AddUrlSegment("ticketId", id.ToString()); + request.AddQueryParameter("token", Context.Token); + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + return this.Execute(request); + } + + protected override void OnCreate(TicketClass entity) + { + if (entity.EventId <= 0) + throw new ArgumentException("EventId not set in TicketClass", "entity"); + + var request = new RestRequest("events/{id}/ticket_classes/", HttpMethod.Post); + request.AddUrlSegment("id", entity.EventId.ToString()); + request.AddQueryParameter("token", Context.Token); + request.AddObject(entity, "ticket_class", AcceptedPostFields()); + + var response = this.Execute(request); + if (response.IsSuccessStatusCode) + { + // persisted properties + var persisted = response.As(); + entity.Id = persisted.Id; + entity.ResourceUri = persisted.ResourceUri; + } + else + this.ThrowResponseError(response); + } + + protected override void OnUpdate(TicketClass entity) + { + if (entity.Id <= 0) + throw new ArgumentException("Id not set in TicketClass", "entity"); + + if (entity.EventId <= 0) + throw new ArgumentException("EventId not set in TicketClass", "entity"); + + var request = new RestRequest("events/{id}/ticket_classes/{ticketId}/", HttpMethod.Post); + request.AddUrlSegment("id", entity.EventId.ToString()); + request.AddUrlSegment("ticketId", entity.Id.ToString()); + request.AddQueryParameter("token", Context.Token); + request.AddObject(entity, "ticket_class", AcceptedPostFields()); + + var response = this.Execute(request); + if (!response.IsSuccessStatusCode) + this.ThrowResponseError(response); + } + + protected override Task> OnGetAsync() + { + return Task.Run(() => OnGet()); + } + + protected override Task OnGetAsync(long id) + { + if (Context.EventId <= 0) + throw new ArgumentException("EventId not set in Context", "entity"); + + var request = new RestRequest("events/{id}/ticket_classes/{ticketId}/"); + request.AddUrlSegment("id", Context.EventId.ToString()); + request.AddUrlSegment("ticketId", id.ToString()); + request.AddQueryParameter("token", Context.Token); + if (Context.Page > 1) + request.AddQueryParameter("page", Context.Page.ToString()); + + return this.ExecuteAsync(request); + } + + private string[] AcceptedPostFields() + { + return new[] + { + "Name", + "Description", + "QuantityTotal", + "Cost", + "Currency", + "Value", + "Donation", + "Free", + "IncludeFee", + "SplitFee", + "HideDescription", + "SalesStart", + "SalesStartAfter", + "MinimumQuantity", + "MaximumQuantity", + "AutoHide", + "AutoHideBefore", + "AutoHideAfter" + }; + } + } +} diff --git a/EventbriteNET/Http/UserRequestHander.cs b/EventbriteDotNet/Http/UserRequestHander.cs similarity index 93% rename from EventbriteNET/Http/UserRequestHander.cs rename to EventbriteDotNet/Http/UserRequestHander.cs index 74428cf..62f8d60 100644 --- a/EventbriteNET/Http/UserRequestHander.cs +++ b/EventbriteDotNet/Http/UserRequestHander.cs @@ -1,10 +1,8 @@ -using EventbriteNET.Extensions; -using System; +using System; using System.Collections.Generic; -using System.Net.Http; using System.Threading.Tasks; -namespace EventbriteNET.Http +namespace EventbriteDotNet.Http { /// /// https://developer.eventbrite.com/docs/user-details/ diff --git a/EventbriteNET/Http/VenueRequestHandler.cs b/EventbriteDotNet/Http/VenueRequestHandler.cs similarity index 94% rename from EventbriteNET/Http/VenueRequestHandler.cs rename to EventbriteDotNet/Http/VenueRequestHandler.cs index 0de5bcf..c8a57f4 100644 --- a/EventbriteNET/Http/VenueRequestHandler.cs +++ b/EventbriteDotNet/Http/VenueRequestHandler.cs @@ -1,147 +1,146 @@ -using EventbriteNET.Extensions; -using System; -using System.Collections.Generic; -using System.Diagnostics.Tracing; -using System.Linq; -using System.Net.Http; -using System.Threading.Tasks; - -namespace EventbriteNET.Http -{ - /// - /// http://developer.eventbrite.com/docs/event-details/ - /// - class VenueRequestHandler : RequestBase - { - public VenueRequestHandler(EventbriteContext context) : base(context) { } - - - protected override IList OnGet() - { - var request = new RestRequest("venues/{id}/"); - if (Context.VenuesId.Count() == 0) - throw new ArgumentException("VenuesId not set in Context", "entity"); - - var venues = new List(); - - foreach (var venueId in Context.VenuesId) - { - request.AddUrlSegment("id", venueId.ToString()); - request.AddQueryParameter("token", Context.Token); - var venue = this.Execute(request); - venues.Add(venue); - } - - return venues; - - //throw new NotImplementedException(); - } - - protected override Venue OnGet(long id) - { - var request = new RestRequest("venues/{id}/"); - request.AddUrlSegment("id", id.ToString()); - request.AddQueryParameter("token", Context.Token); - - Context.VenuesId = new [] {id}; - return this.Execute(request); - } - - protected override void OnCreate(Venue entity) - { - var request = new RestRequest("venues/", HttpMethod.Post); - request.AddQueryParameter("token", Context.Token); - request.AddObject(entity, "venue", AcceptedPostFields()); - - // execute Event create - var response = this.Execute(request); - - if (response.IsSuccessStatusCode) - { - // get updated response - var persisted = response.As(); - // persist base properties onto entity - entity.Id = persisted.Id; - entity.ResourceUri = persisted.ResourceUri; - Context.EventId = persisted.Id; - // Venue create - } - else - { - this.ThrowResponseError(response); - } - } - - protected override void OnUpdate(Venue entity) - { - if (entity.Id <= 0) - throw new ArgumentException("Id not set in Venue", "entity"); - - var request = new RestRequest("venues/{id}/", HttpMethod.Post); - request.AddUrlSegment("id", entity.Id.ToString()); - request.AddQueryParameter("token", Context.Token); - request.AddObject(entity, "venue", AcceptedPostFields()); - - // Execute Event update - var response = this.Execute(request); - - if (response.IsSuccessStatusCode) - { - if (Context.VenuesId == null) - { - Context.VenuesId = new long[] - { - entity.Id - }; - } - } - else - { - this.ThrowResponseError(response); - } - } - - protected override Task> OnGetAsync() - { - return Task.Run(() => OnGet()); - } - - protected override Task OnGetAsync(long id) - { - var request = new RestRequest("venues/{id}/"); - request.AddUrlSegment("id", id.ToString()); - request.AddQueryParameter("token", Context.Token); - - Context.EventId = id; - return this.ExecuteAsync(request); - } - - public void Publish(long id) - { - throw new NotImplementedException(); - } - - public void Unpublish(long id) - { - throw new NotImplementedException(); - } - - - private string[] AcceptedPostFields() - { - return new[] - { - "Name", - "organizer_id", - "address.address_1", - "address.address_2", - "address.city", - "address.region", - "address.postal_code", - "address.country", - "address.latitude", - "address.longitude" - }; - } - } -} +using EventbriteDotNet.Extensions; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net.Http; +using System.Threading.Tasks; + +namespace EventbriteDotNet.Http +{ + /// + /// http://developer.eventbrite.com/docs/event-details/ + /// + class VenueRequestHandler : RequestBase + { + public VenueRequestHandler(EventbriteContext context) : base(context) { } + + + protected override IList OnGet() + { + var request = new RestRequest("venues/{id}/"); + if (Context.VenuesId.Count() == 0) + throw new ArgumentException("VenuesId not set in Context", "entity"); + + var venues = new List(); + + foreach (var venueId in Context.VenuesId) + { + request.AddUrlSegment("id", venueId.ToString()); + request.AddQueryParameter("token", Context.Token); + var venue = this.Execute(request); + venues.Add(venue); + } + + return venues; + + //throw new NotImplementedException(); + } + + protected override Venue OnGet(long id) + { + var request = new RestRequest("venues/{id}/"); + request.AddUrlSegment("id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + Context.VenuesId = new [] {id}; + return this.Execute(request); + } + + protected override void OnCreate(Venue entity) + { + var request = new RestRequest("venues/", HttpMethod.Post); + request.AddQueryParameter("token", Context.Token); + request.AddObject(entity, "venue", AcceptedPostFields()); + + // execute Event create + var response = this.Execute(request); + + if (response.IsSuccessStatusCode) + { + // get updated response + var persisted = response.As(); + // persist base properties onto entity + entity.Id = persisted.Id; + entity.ResourceUri = persisted.ResourceUri; + Context.EventId = persisted.Id; + // Venue create + } + else + { + this.ThrowResponseError(response); + } + } + + protected override void OnUpdate(Venue entity) + { + if (entity.Id <= 0) + throw new ArgumentException("Id not set in Venue", "entity"); + + var request = new RestRequest("venues/{id}/", HttpMethod.Post); + request.AddUrlSegment("id", entity.Id.ToString()); + request.AddQueryParameter("token", Context.Token); + request.AddObject(entity, "venue", AcceptedPostFields()); + + // Execute Event update + var response = this.Execute(request); + + if (response.IsSuccessStatusCode) + { + if (Context.VenuesId == null) + { + Context.VenuesId = new long[] + { + entity.Id + }; + } + } + else + { + this.ThrowResponseError(response); + } + } + + protected override Task> OnGetAsync() + { + return Task.Run(() => OnGet()); + } + + protected override Task OnGetAsync(long id) + { + var request = new RestRequest("venues/{id}/"); + request.AddUrlSegment("id", id.ToString()); + request.AddQueryParameter("token", Context.Token); + + Context.EventId = id; + return this.ExecuteAsync(request); + } + + public void Publish(long id) + { + throw new NotImplementedException(); + } + + public void Unpublish(long id) + { + throw new NotImplementedException(); + } + + + private string[] AcceptedPostFields() + { + return new[] + { + "Name", + "organizer_id", + "address.address_1", + "address.address_2", + "address.city", + "address.region", + "address.postal_code", + "address.country", + "address.latitude", + "address.longitude" + }; + } + } +} diff --git a/EventbriteDotNet/Image.cs b/EventbriteDotNet/Image.cs new file mode 100644 index 0000000..e97de7e --- /dev/null +++ b/EventbriteDotNet/Image.cs @@ -0,0 +1,69 @@ +using Newtonsoft.Json; + +namespace EventbriteDotNet +{ + /// + /// Represents an Eventbrite image + /// + public class Image : EventbriteObject + { + public Image() + { + + } + + [JsonProperty("url")] + public string Url { get; set; } + + [JsonProperty("crop_mask")] + public CropMask CropMask { get; set; } + + [JsonProperty("original")] + public Original Original { get; set; } + + [JsonProperty("id")] + public long Id { get; set; } + + [JsonProperty("aspect_ratio")] + public string AspectRatio { get; set; } + + [JsonProperty("edge_color")] + public string EdgeColor { get; set; } + + [JsonProperty("edge_color_set")] + public bool EdgeColorSet { get; set; } + } + + public partial class CropMask + { + [JsonProperty("top_left")] + public TopLeft TopLeft { get; set; } + + [JsonProperty("width")] + public long Width { get; set; } + + [JsonProperty("height")] + public long Height { get; set; } + } + + public partial class TopLeft + { + [JsonProperty("x")] + public long X { get; set; } + + [JsonProperty("y")] + public long Y { get; set; } + } + + public partial class Original + { + [JsonProperty("url")] + public string Url { get; set; } + + [JsonProperty("width")] + public long Width { get; set; } + + [JsonProperty("height")] + public long Height { get; set; } + } +} diff --git a/EventbriteNET/Organizer.cs b/EventbriteDotNet/Organizer.cs similarity index 93% rename from EventbriteNET/Organizer.cs rename to EventbriteDotNet/Organizer.cs index 5225441..e0b9f57 100644 --- a/EventbriteNET/Organizer.cs +++ b/EventbriteDotNet/Organizer.cs @@ -1,7 +1,6 @@ using Newtonsoft.Json; -using System.Collections.Generic; -namespace EventbriteNET +namespace EventbriteDotNet { /// /// Represents an Eventbrite Organizer diff --git a/EventbriteNET/Properties/AssemblyInfo.cs b/EventbriteDotNet/Properties/AssemblyInfo.cs similarity index 73% rename from EventbriteNET/Properties/AssemblyInfo.cs rename to EventbriteDotNet/Properties/AssemblyInfo.cs index 50956ad..5d8c7a0 100644 --- a/EventbriteNET/Properties/AssemblyInfo.cs +++ b/EventbriteDotNet/Properties/AssemblyInfo.cs @@ -1,36 +1,34 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("EventbriteNET")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("EventbriteNET")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("2b033970-a8bd-4a44-9f28-5521c646751a")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("EventbriteDotNet")] +[assembly: AssemblyDescription("API wrapper for Eventbrite API")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("New Belgium Brewing")] +[assembly: AssemblyProduct("EventbriteDotNet")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("2b033970-a8bd-4a44-9f28-5521c646751a")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.2.0")] +[assembly: AssemblyFileVersion("1.0.2.0")] diff --git a/EventbriteNET/TicketClass.cs b/EventbriteDotNet/TicketClass.cs similarity index 98% rename from EventbriteNET/TicketClass.cs rename to EventbriteDotNet/TicketClass.cs index f4a25b9..d8a75a5 100644 --- a/EventbriteNET/TicketClass.cs +++ b/EventbriteDotNet/TicketClass.cs @@ -1,7 +1,7 @@ using Newtonsoft.Json; using System; -namespace EventbriteNET +namespace EventbriteDotNet { /// /// Represents an Eventbrite Ticket Class diff --git a/EventbriteNET/User.cs b/EventbriteDotNet/User.cs similarity index 96% rename from EventbriteNET/User.cs rename to EventbriteDotNet/User.cs index a7f21ba..7e89114 100644 --- a/EventbriteNET/User.cs +++ b/EventbriteDotNet/User.cs @@ -1,7 +1,7 @@ using Newtonsoft.Json; using System.Collections.Generic; -namespace EventbriteNET +namespace EventbriteDotNet { /// /// Represents an Eventbrite User diff --git a/EventbriteNET/Venue.cs b/EventbriteDotNet/Venue.cs similarity index 88% rename from EventbriteNET/Venue.cs rename to EventbriteDotNet/Venue.cs index df0b276..5a19e94 100644 --- a/EventbriteNET/Venue.cs +++ b/EventbriteDotNet/Venue.cs @@ -1,6 +1,6 @@ using Newtonsoft.Json; -namespace EventbriteNET +namespace EventbriteDotNet { /// /// Represents an Eventbrite Venue @@ -19,6 +19,6 @@ public Venue() [JsonProperty("latitude")] public decimal Latitude { get; set; } [JsonProperty("longitude")] - public string Longitude { get; set; } + public decimal Longitude { get; set; } } } diff --git a/EventbriteNETConsoleTest/App.config b/EventbriteDotNetConsoleTest/App.config similarity index 97% rename from EventbriteNETConsoleTest/App.config rename to EventbriteDotNetConsoleTest/App.config index fad249e..8e15646 100644 --- a/EventbriteNETConsoleTest/App.config +++ b/EventbriteDotNetConsoleTest/App.config @@ -1,6 +1,6 @@ - - - - - + + + + + \ No newline at end of file diff --git a/EventbriteDotNetConsoleTest/EventbriteDotNetConsoleTest.csproj b/EventbriteDotNetConsoleTest/EventbriteDotNetConsoleTest.csproj new file mode 100644 index 0000000..c3bee7f --- /dev/null +++ b/EventbriteDotNetConsoleTest/EventbriteDotNetConsoleTest.csproj @@ -0,0 +1,19 @@ + + + net6.0 + Exe + EventbriteNETConsoleTest + EventbriteNETConsoleTest + false + + + + + + + + + all + + + \ No newline at end of file diff --git a/EventbriteNETConsoleTest/Program.cs b/EventbriteDotNetConsoleTest/Program.cs similarity index 82% rename from EventbriteNETConsoleTest/Program.cs rename to EventbriteDotNetConsoleTest/Program.cs index a78b4f7..332e1de 100644 --- a/EventbriteNETConsoleTest/Program.cs +++ b/EventbriteDotNetConsoleTest/Program.cs @@ -1,80 +1,66 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.Remoting.Contexts; -using System.Text; -using System.Threading.Tasks; -using EventbriteNET; - -namespace EventbriteNETConsoleTest -{ - class Program - { - static void Main(string[] args) - { - var eventbriteNET = new EventbriteContext("LLGPFYIY2UBUUHOK5DP6"); - - - var users = eventbriteNET.Get(); - - Console.WriteLine(users.Count); - - var user = users[0]; - - Console.WriteLine(user.Emails.Count); - Console.WriteLine(user.Name); - Console.WriteLine(user.FirstName); - Console.WriteLine(user.LastName); - - - //var ebEvents = eventbriteNET.Get().ToList(); - - //var pagedEvents = eventbriteNET.GetOwnedEvents(); - - var pagedEvents = eventbriteNET.Search(); - - eventbriteNET.Pagination = pagedEvents.Pagination; - - var ebEvents = pagedEvents.Events; - - Console.WriteLine(string.Format("Pagination: ObjectCount {0} PageCount {1} PageNumber {2} PageSize {3}", eventbriteNET.Pagination.ObjectCount, eventbriteNET.Pagination.PageCount, eventbriteNET.Pagination.PageNumber, eventbriteNET.Pagination.PageSize)); - ebEvents.ForEach(e => - { - Console.WriteLine(string.Format("{0} {1} {2}", e.Description.Text, e.Start.Local, e.End.Local)); - eventbriteNET.EventId = e.Id; - - Console.WriteLine(string.Format("Location {0}", e.OnlineEvent ? "Online Event" : string.Format("{0} {1} {2}", e.VenueId, e.Venue.Address.Address1, e.Venue.Address.City))); - if (!e.OnlineEvent) - { - var venuue = eventbriteNET.Get(e.VenueId ?? 0); - e.Venue = venuue; - Console.WriteLine(e.Venue.ResourceUri); - Console.WriteLine(string.Format("Location {0}", e.Venue.Name)); - } - - - - - - var attendees = eventbriteNET.Get().ToList(); - - Console.WriteLine(string.Format("Attendee Pagination: ObjectCount {0} PageCount {1} PageNumber {2} PageSize {3}", eventbriteNET.Pagination.ObjectCount, eventbriteNET.Pagination.PageCount, eventbriteNET.Pagination.PageNumber, eventbriteNET.Pagination.PageSize)); - - Console.WriteLine(string.Format("Attendees {0}", attendees.Count)); - - - - - attendees.ForEach(a => Console.WriteLine(a.profile.email)); - - }); - - // - - - Console.ReadLine(); - // eventbriteNET.Get>("") - // Console - } - } -} +using EventbriteDotNet; +using System; +using System.Linq; + +namespace EventbriteDotNetConsoleTest +{ + class Program + { + static void Main(string[] args) + { + var eventbriteNET = new EventbriteContext("LLGPFYIY2UBUUHOK5DP6"); + + + var users = eventbriteNET.Get(); + + Console.WriteLine(users.Count); + + var user = users[0]; + + Console.WriteLine(user.Emails.Count); + Console.WriteLine(user.Name); + Console.WriteLine(user.FirstName); + Console.WriteLine(user.LastName); + + var pagedEvents = eventbriteNET.Search(); + + eventbriteNET.Pagination = pagedEvents.Pagination; + + var ebEvents = pagedEvents.Events; + + Console.WriteLine(string.Format("Pagination: ObjectCount {0} PageCount {1} PageNumber {2} PageSize {3}", eventbriteNET.Pagination.ObjectCount, eventbriteNET.Pagination.PageCount, eventbriteNET.Pagination.PageNumber, eventbriteNET.Pagination.PageSize)); + ebEvents.ForEach(e => + { + Console.WriteLine(string.Format("{0} {1} {2}", e.Description.Text, e.Start.Local, e.End.Local)); + eventbriteNET.EventId = e.Id; + + Console.WriteLine(string.Format("Location {0}", e.OnlineEvent ? "Online Event" : string.Format("{0} {1} {2}", e.VenueId, e.Venue.Address.Address1, e.Venue.Address.City))); + if (!e.OnlineEvent) + { + var venuue = eventbriteNET.Get(e.VenueId ?? 0); + e.Venue = venuue; + Console.WriteLine(e.Venue.ResourceUri); + Console.WriteLine(string.Format("Location {0}", e.Venue.Name)); + } + + + + + + var attendees = eventbriteNET.Get().ToList(); + + Console.WriteLine(string.Format("Attendee Pagination: ObjectCount {0} PageCount {1} PageNumber {2} PageSize {3}", eventbriteNET.Pagination.ObjectCount, eventbriteNET.Pagination.PageCount, eventbriteNET.Pagination.PageNumber, eventbriteNET.Pagination.PageSize)); + + Console.WriteLine(string.Format("Attendees {0}", attendees.Count)); + + + + + attendees.ForEach(a => Console.WriteLine(a.profile.email)); + + }); + + Console.ReadLine(); + } + } +} diff --git a/EventbriteNETConsoleTest/Properties/AssemblyInfo.cs b/EventbriteDotNetConsoleTest/Properties/AssemblyInfo.cs similarity index 87% rename from EventbriteNETConsoleTest/Properties/AssemblyInfo.cs rename to EventbriteDotNetConsoleTest/Properties/AssemblyInfo.cs index 758dcfa..46c124b 100644 --- a/EventbriteNETConsoleTest/Properties/AssemblyInfo.cs +++ b/EventbriteDotNetConsoleTest/Properties/AssemblyInfo.cs @@ -1,36 +1,35 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("EventbriteNETConsoleTest")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("EventbriteNETConsoleTest")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("66cf596c-0f4f-4eb2-9f08-f9107cd105bc")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("EventbriteDotNetConsoleTest")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("EventbriteDotNetConsoleTest")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("66cf596c-0f4f-4eb2-9f08-f9107cd105bc")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/EventbriteNET.sln b/EventbriteNET.sln deleted file mode 100644 index e4f00cd..0000000 --- a/EventbriteNET.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventbriteNET", "EventbriteNET\EventbriteNET.csproj", "{AF04039A-80FB-474F-8147-76AE4E19C23E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AF04039A-80FB-474F-8147-76AE4E19C23E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AF04039A-80FB-474F-8147-76AE4E19C23E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AF04039A-80FB-474F-8147-76AE4E19C23E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AF04039A-80FB-474F-8147-76AE4E19C23E}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/EventbriteNET.v11.suo b/EventbriteNET.v11.suo deleted file mode 100644 index 51a5f09..0000000 Binary files a/EventbriteNET.v11.suo and /dev/null differ diff --git a/EventbriteNET/EventbriteNET.csproj b/EventbriteNET/EventbriteNET.csproj deleted file mode 100644 index 0b1e997..0000000 --- a/EventbriteNET/EventbriteNET.csproj +++ /dev/null @@ -1,96 +0,0 @@ - - - - - Debug - AnyCPU - {AF04039A-80FB-474F-8147-76AE4E19C23E} - Library - Properties - EventbriteNET - EventbriteNET - v4.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ..\packages\Newtonsoft.Json.6.0.8\lib\portable-net45+wp80+win8+wpa81+aspnetcore50\Newtonsoft.Json.dll - - - ..\packages\Microsoft.Net.Http.2.2.28\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.dll - - - ..\packages\Microsoft.Net.Http.2.2.28\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.Extensions.dll - - - ..\packages\Microsoft.Net.Http.2.2.28\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.Primitives.dll - - - - - \ No newline at end of file diff --git a/EventbriteNET/Extensions/HttpExtensions.cs b/EventbriteNET/Extensions/HttpExtensions.cs deleted file mode 100644 index 0dc81b1..0000000 --- a/EventbriteNET/Extensions/HttpExtensions.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Newtonsoft.Json; -using System; -using System.Net.Http; - -namespace EventbriteNET.Extensions -{ - /// - /// Extension methods for related calls - /// - public static class HttpExtensions - { - public static T As(this HttpResponseMessage response) - { - if (response.Content != null) - { - var content = response.Content.ReadAsStringAsync().Result; - return JsonConvert.DeserializeObject(content); - } - else - return default(T); - } - } -} diff --git a/EventbriteNET/bin/Debug/EventbriteNET.dll b/EventbriteNET/bin/Debug/EventbriteNET.dll deleted file mode 100644 index ce12d1b..0000000 Binary files a/EventbriteNET/bin/Debug/EventbriteNET.dll and /dev/null differ diff --git a/EventbriteNET/bin/Debug/EventbriteNET.pdb b/EventbriteNET/bin/Debug/EventbriteNET.pdb deleted file mode 100644 index 621908e..0000000 Binary files a/EventbriteNET/bin/Debug/EventbriteNET.pdb and /dev/null differ diff --git a/EventbriteNET/bin/Debug/Newtonsoft.Json.dll b/EventbriteNET/bin/Debug/Newtonsoft.Json.dll deleted file mode 100644 index c1ac3db..0000000 Binary files a/EventbriteNET/bin/Debug/Newtonsoft.Json.dll and /dev/null differ diff --git a/EventbriteNET/bin/Debug/Newtonsoft.Json.xml b/EventbriteNET/bin/Debug/Newtonsoft.Json.xml deleted file mode 100644 index 1f38e1f..0000000 --- a/EventbriteNET/bin/Debug/Newtonsoft.Json.xml +++ /dev/null @@ -1,8302 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Initializes a new instance of the class. - - The Oid value. - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - - A . This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the end of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current Json object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a Json array. - - - - - Writes the beginning of a Json object. - - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a to and from JSON and BSON. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets the of the JSON produced by the JsonConverter. - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Initializes a new instance of the class. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly. - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Instructs the to always serialize the member with the specified name. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings. - - - A new instance. - The will not use default settings. - - - - - Creates a new instance using the specified . - The will not use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - - - - Creates a new instance. - The will use default settings. - - - A new instance. - The will use default settings. - - - - - Creates a new instance using the specified . - The will use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the Json structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Specifies the settings on a object. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Specifies the type of Json token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - Represents a reader that provides validation. - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Represents a token that can contain other tokens. - - - - - Represents an abstract JSON token. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Gets the with the specified key. - - The with the specified key. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Raises the event. - - The instance containing the event data. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Represents a JSON constructor. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the with the specified key. - - - - - - Represents a JSON object. - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Represents a JSON property. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Gets the node type for this . - - The type. - - - - Represents a raw JSON string. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a null value. - - A null value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the at the reader's current position. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - Contains the JSON schema extension methods. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - Validates the specified . - - The source to test. - The schema to test with. - - - - Validates the specified . - - The source to test. - The schema to test with. - The validation event handler. - - - - An in-memory representation of a JSON Schema. - - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Returns detailed information about the schema exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Generates a from a specified . - - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Resolves from an id. - - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - The value types allowed by the . - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies undefined schema Id handling options for the . - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - Returns detailed information related to the . - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - Represents the callback method that will handle JSON schema validation events and the . - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Used by to resolves a for a given . - - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Get and set values for a using dynamic methods. - - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Specifies type name handling options for the . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/EventbriteNET/bin/Debug/System.Net.Http.Extensions.dll b/EventbriteNET/bin/Debug/System.Net.Http.Extensions.dll deleted file mode 100644 index aecc82e..0000000 Binary files a/EventbriteNET/bin/Debug/System.Net.Http.Extensions.dll and /dev/null differ diff --git a/EventbriteNET/bin/Debug/System.Net.Http.Extensions.xml b/EventbriteNET/bin/Debug/System.Net.Http.Extensions.xml deleted file mode 100644 index 3a27257..0000000 --- a/EventbriteNET/bin/Debug/System.Net.Http.Extensions.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - System.Net.Http.Extensions - - - - - Extension methods for which expose differences in platform specific capabilities. - - - - - Gets a value that indicates if HttpClientHandler.AllowAutoRedirect is supported by the handler. - When this property is true and HttpClientHandler.SupportsRedirectConfiguration is false, setting HttpClientHandler.AllowAutoRedirect to true will cause the system default to be used for HttpClientHandler.MaximumAutomaticRedirections. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion are supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion properties; otherwise false. - - - - Gets a value that indicates if HttpRequestMessage.Headers with or header value of 'chunked' is supported by the handler. - - The to check. - Returns .true if the if the handler supports setting HttpRequestMessage.Headers with or header value of 'chunked'; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - When this property is true and HttpClientHandler.SupportsProxy is false, setting HttpClientHandler.UseProxy to true will cause the system default to be used for HttpClientHandler.Proxy. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - diff --git a/EventbriteNET/bin/Debug/System.Net.Http.Primitives.dll b/EventbriteNET/bin/Debug/System.Net.Http.Primitives.dll deleted file mode 100644 index 3a26074..0000000 Binary files a/EventbriteNET/bin/Debug/System.Net.Http.Primitives.dll and /dev/null differ diff --git a/EventbriteNET/bin/Debug/System.Net.Http.Primitives.xml b/EventbriteNET/bin/Debug/System.Net.Http.Primitives.xml deleted file mode 100644 index 7cc3ae0..0000000 --- a/EventbriteNET/bin/Debug/System.Net.Http.Primitives.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - System.Net.Http.Primitives - - - - - Represents the file compression and decompression encoding format to be used to compress the data received in response to an . - - - - - Do not use compression. - - - - - Use the gZip compression-decompression algorithm. - - - - - Use the deflate compression-decompression algorithm. - - - - - Provides the base interface for implementation of proxy access for the class. - - - - - Returns the URI of a proxy. - - A that specifies the requested Internet resource. - A instance that contains the URI of the proxy used to contact . - - - - Indicates that the proxy should not be used for the specified host. - - The of the host to check for proxy use. - true if the proxy server should not be used for ; otherwise, false. - - - - The credentials to submit to the proxy server for authentication. - - An instance that contains the credentials that are needed to authenticate a request to the proxy server. - - - - The System.Net.TransportContext class provides additional context about the underlying transport layer. - - - - diff --git a/EventbriteNET/bin/Debug/System.Net.Http.dll b/EventbriteNET/bin/Debug/System.Net.Http.dll deleted file mode 100644 index f69b4fc..0000000 Binary files a/EventbriteNET/bin/Debug/System.Net.Http.dll and /dev/null differ diff --git a/EventbriteNET/bin/Debug/System.Net.Http.xml b/EventbriteNET/bin/Debug/System.Net.Http.xml deleted file mode 100644 index 8e0255e..0000000 --- a/EventbriteNET/bin/Debug/System.Net.Http.xml +++ /dev/null @@ -1,1581 +0,0 @@ - - - - System.Net.Http - - - - Provides HTTP content based on a byte array. - - - Initializes a new instance of the class. - The content used to initialize the . - The parameter is null. - - - Initializes a new instance of the class. - The content used to initialize the . - The offset, in bytes, in the parameter used to initialize the . - The number of bytes in the starting from the parameter used to initialize the . - The parameter is null. - The parameter is less than zero.-or-The parameter is greater than the length of content specified by the parameter.-or-The parameter is less than zero.-or-The parameter is greater than the length of content specified by the parameter - minus the parameter. - - - Creates an HTTP content stream for reading whose backing store is memory from the . - Returns .The HTTP content stream. - - - Serialize and write the byte array provided in the constructor to an HTTP content stream. - The target stream. - Information about the transport(channel binding token, for example). This parameter may be null. - - - Serialize and write the byte array provided in the constructor to an HTTP content stream as an asynchronous operation. - Returns . The task object representing the asynchronous operation. - The target stream. - Information about the transport, like channel binding token. This parameter may be null. - - - Determines whether a byte array has a valid length in bytes. - Returns .true if is a valid length; otherwise, false. - The length in bytes of the byte array. - - - A base type for HTTP handlers that delegate the processing of HTTP response messages to another handler, called the inner handler. - - - Initializes a new instance of the class with a specific inner handler. - The inner handler which is responsible for processing the HTTP response messages. - - - Releases the unmanaged resources used by the , and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Sends an HTTP request to the inner handler to send to the server synchronously. - Returns . The HTTP response message from the inner handler. - The HTTP request message to send to the server. - A cancellation token to cancel operation. - - - Sends an HTTP request to the inner handler to send to the server as an asynchronous operation. - Returns . The task object representing the asynchronous operation. - The HTTP request message to send to the server. - A cancellation token to cancel operation. - - - A container for name/value tuples encoded using application/x-www-form-urlencoded MIME type. - - - Initializes a new instance of the class with a specific collection of name/value pairs. - A collection of name/value pairs. - - - Creates an HTTP content stream for reading whose backing store is memory from the . - Returns . The HTTP content stream. - - - Serialize and write the provided name/value pairs in the constructor to an HTTP content stream. - The target stream. - Information about the transport (the channel binding token, for example). This parameter may be a null reference. - - - Serialize and write the provided name/value pairs in the constructor to an HTTP content stream as an asynchronous operation. - Returns . The task object representing the asynchronous operation. - The target stream. - Information about the transport (the channel binding token, for example). This parameter may be a null reference. - - - Determines whether the encoded name/value data has a valid length in bytes. - Returns .true if is a valid length; otherwise, false. - The length in bytes of the encoded name/value data. - - - Provides a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specific handler. - The HTTP handler stack to use for sending requests. - - - Gets or sets the base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests. - Returns .The base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests. - - - Cancel all pending requests on this instance. - - - Gets the headers which should be sent with each request. - Returns .The headers which should be sent with each request. - - - Send a DELETE request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a DELETE request to the specified Uri. - Returns .The HTTP response message. - The request message was already sent by the instance. - - - Send a DELETE request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - - - Send a DELETE request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Send a GET request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a GET request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a GET request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a GET request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Gets or sets the maximum number of bytes to buffer when reading the response content. - Returns .The maximum number of bytes to buffer when reading the response content. - The size specified is less than or equal to zero. - An operation has already been started on the current instance. - The current instance has been disposed. - - - Send a POST request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a POST request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a POST request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a POST request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - This operation will not block. The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Gets or sets the number of milliseconds to wait before the request times out. - Returns .The number of milliseconds to wait before the request times out. - The timeout specified is less than or equal to zero and is not . - An operation has already been started on the current instance. - The current instance has been disposed. - - - A base class for HTTP handler implementations. - - - Creates an instance of a class. - - - Gets or sets a value that indicates whether the handler should follow redirection responses. - Returns .true if the if the handler should follow redirection responses; otherwise false. The default value is true. - - - Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response. - Returns .The automatic decompression method used by the handler. The default value is . - - - Gets or sets the cookie container used to store server cookies by the handler. - Returns .The cookie container used to store server cookies by the handler. - - - Gets or sets authentication information used by this handler. - Returns .The authentication credentials associated with the handler. The default is null. - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Gets or sets the maximum number of redirects that the handler follows. - Returns .The maximum number of redirection responses that the handler follows. The default value is 50. - - - Gets or sets the maximum request content buffer size used by the handler. - Returns .The maximum request content buffer size in bytes. The default value is 65,536 bytes. - - - Gets or sets a value that indicates whether the handler sends an Authorization header with the request. - Returns .true for the handler to send an HTTP Authorization header with requests after authentication has taken place; otherwise, false. The default is false. - - - Gets or sets proxy information used by the handler. - Returns .The proxy information used by the handler. The default value is null. - - - Creates an instance of based on the information provided in the . - Returns .The HTTP response message. - The HTTP request message. - A cancellation token to cancel the operation. - - - Creates an instance of based on the information provided in the as an operation that will not block. - Returns .The task object representing the asynchronous operation. - The HTTP request message. - A cancellation token to cancel the operation. - - - Gets a value that indicates whether the handler supports automatic response content decompression. - Returns .true if the if the handler supports automatic response content decompression; otherwise false. The default value is true. - - - Gets a value that indicates whether the handler supports proxy settings. - Returns .true if the if the handler supports proxy settings; otherwise false. The default value is true. - - - Gets a value that indicates whether the handler supports configuration settings for the and properties. - Returns .true if the if the handler supports configuration settings for the and properties; otherwise false. The default value is true. - - - Gets or sets a value that indicates whether the handler uses the property to store server cookies and uses these cookies when sending requests. - Returns .true if the if the handler supports uses the property to store server cookies and uses these cookies when sending requests; otherwise false. The default value is true. - - - Gets or sets a value that controls whether default credentials are sent with requests by the handler. - Returns .true if the default credentials are used; otherwise false. The default value is false. - - - Gets or sets a value that indicates whether the handler uses a proxy for requests. - Returns .true if the handler should use a proxy for requests; otherwise false. The default value is true. - - - Indicates if operations should be considered completed either as soon as a response is available, or after reading the entire response message including the content. - - - The operation should complete after reading the entire response including the content. - - - The operation should complete as soon as a response is available and headers are read. The content is not read yet. - - - A base class representing an HTTP entity body and content headers. - - - Initializes a new instance of the class. - - - Gets a stream representing the serialized HTTP content. - Returns .A stream representing the serialized HTTP content. - - - Write the HTTP content to a stream. - The target stream. - - - Write the HTTP content to a stream. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Write the HTTP content to a stream as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The target stream. - - - Write the HTTP content to a stream as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Buffer the te HTTP content to a memory stream. - Returns . - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Gets the HTTP content headers as defined in RFC 2616. - Returns .The content headers as defined in RFC 2616. - - - Serialize the HTTP content to a memory buffer. - - - Serialize the HTTP content to a memory buffer. - The maximum size, in bytes, of the buffer to use. - - - Serialize the HTTP content to a memory buffer as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - - - Serialize the HTTP content to a memory buffer as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The maximum size, in bytes, of the buffer to use. - - - Return the HTTP content as byte array. - Returns .The HTTP content as byte array. - - - Return the HTTP content as string. - Returns .The HTTP content as a string. - - - Serialize the HTTP content to a stream. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Serialize the HTTP content to a stream as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Determines whether the HTTP content has a valid length in bytes. - Returns .true if is a valid length; otherwise, false. - The length in bytes of the HHTP content. - - - A base type for HTTP message handlers. - - - Initializes a new instance of the class. - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Send an HTTP message synchronously. - Returns .The HTTP response message. - The HTTP message to send. - The cancellation token to cancel operation. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - The cancellation token to cancel operation. - - - A helper class for retrieving and comparing standard HTTP methods. - - - Initializes a new instance of the class with a specific HTTP method. - The HTTP method. - - - Represents an HTTP DELETE protocol method. - Returns . - - - Returns . - - - Returns . - - - Represents an HTTP GET protocol method. - Returns . - - - Returns . - - - Represents an HTTP HEAD protocol method. The HEAD method is identical to GET except that the server only returns message-headers in the response, without a message-body. - Returns . - - - An HTTP method. - Returns .An HTTP method represented as a . - - - Returns . - - - Returns . - - - Represents an HTTP OPTIONS protocol method. - Returns . - - - Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI. - Returns . - - - Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI. - Returns . - - - Returns a string that represents the current object. - Returns .A string representing the current object. - - - Represents an HTTP TRACE protocol method. - Returns . - - - A base class for exceptions thrown by the and classes. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specific message that describes the current exception. - A message that describes the current exception. - - - Initializes a new instance of the class with a specific message that describes the current exception and an inner exception. - A message that describes the current exception. - The inner exception. - - - Represents a HTTP request message. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with an HTTP method and a request . - The HTTP method. - A string that represents the request . - - - Initializes a new instance of the class with an HTTP method and a request . - The HTTP method. - The to request. - - - Gets or sets the contents of the HTTP message. - Returns .The content of a message - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Gets the collection of HTTP request headers. - Returns .The collection of HTTP request headers. - - - Gets or sets the HTTP method used by the HTTP request message. - Returns .The HTTP method used by the request message. The default is the GET method. - - - Gets a set of properties for the HTTP request. - Returns . - - - Gets or sets the used for the HTTP request. - Returns .The used for the HTTP request. - - - Returns a string that represents the current object. - Returns .A string representation of the current object. - - - Gets or sets the HTTP message version. - Returns .The HTTP message version. The default is 1.1. - - - Represents a HTTP response message. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specific . - The status code of the HTTP response. - - - Gets or sets the content of a HTTP response message. - Returns .The content of the HTTP response message. - - - Releases the unmanaged resources and disposes of unmanaged resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Throws an exception if the property for the HTTP response is false. - Returns .The HTTP response message if the call is successful. - - - Gets the collection of HTTP response headers. - Returns .The collection of HTTP response headers. - - - Gets a value that indicates if the HTTP response was successful. - Returns .A value that indicates if the HTTP response was successful. true if was in the range 200-299; otherwise false. - - - Gets or sets the reason phrase which typically is sent by servers together with the status code. - Returns .The reason phrase sent by the server. - - - Gets or sets the request message which led to this response message. - Returns .The request message which led to this response message. - - - Gets or sets the status code of the HTTP response. - Returns .The status code of the HTTP response. - - - Returns a string that represents the current object. - Returns .A string representation of the current object. - - - Gets or sets the HTTP message version. - Returns .The HTTP message version. The default is 1.1. - - - A base type for handlers which only do some small processing of request and/or response messages. - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Provides a collection of objects that get serialized using the multipart/* content type specification. - - - - - - - Returns . - - - - Returns . - - - Returns . - - - Returns . - - - Provides a container for content encoded using multipart/form-data MIME type. - - - - - - - - Provides HTTP content based on a stream. - - - - - Returns . - - - - - Returns . - - - Returns . - - - Provides HTTP content based on a string. - - - - - - Represents authentication information in Authorization, ProxyAuthorization, WWW-Authneticate, and Proxy-Authenticate header values. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of the Cache-Control header. - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of the Content-Range header. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents an entity-tag header value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the collection of Content Headers as defined in RFC 2616. - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - A collection of headers and their values as defined in RFC 2616. - - - - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a collection of header values. - - - - - - Returns . - - - - Returns . - - - Returns . - - - Returns . - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the collection of Request Headers as defined in RFC 2616. - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the collection of Response Headers as defined in RFC 2616. - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a media-type as defined in the RFC 2616. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a content-type header value with an additional quality. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a name/value pair. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a name/value pair with parameters. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a product header value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a value which can either be a product or a comment. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a header value which can either be a date/time or an entity-tag value. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of the Range header. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a byte-range header value. - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a header value which can either be a date/time or a timespan value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a string header value with an optional quality. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a transfer-coding header value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a transfer-coding header value with optional quality. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of a Via header. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a warning value used by the Warning header. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - \ No newline at end of file diff --git a/EventbriteNET/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/EventbriteNET/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 0f14eea..0000000 Binary files a/EventbriteNET/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/EventbriteNET/obj/Debug/EventbriteNET.csproj.FileListAbsolute.txt b/EventbriteNET/obj/Debug/EventbriteNET.csproj.FileListAbsolute.txt deleted file mode 100644 index afc3b46..0000000 --- a/EventbriteNET/obj/Debug/EventbriteNET.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,13 +0,0 @@ -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\obj\Debug\EventbriteNET.csprojResolveAssemblyReference.cache -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\bin\Debug\EventbriteNET.dll -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\bin\Debug\EventbriteNET.pdb -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\bin\Debug\Newtonsoft.Json.dll -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\bin\Debug\System.Net.Http.dll -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\bin\Debug\System.Net.Http.Extensions.dll -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\bin\Debug\System.Net.Http.Primitives.dll -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\bin\Debug\Newtonsoft.Json.xml -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\bin\Debug\System.Net.Http.xml -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\bin\Debug\System.Net.Http.Extensions.xml -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\bin\Debug\System.Net.Http.Primitives.xml -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\obj\Debug\EventbriteNET.dll -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNET\obj\Debug\EventbriteNET.pdb diff --git a/EventbriteNET/obj/Debug/EventbriteNET.csprojResolveAssemblyReference.cache b/EventbriteNET/obj/Debug/EventbriteNET.csprojResolveAssemblyReference.cache deleted file mode 100644 index 2d791b4..0000000 Binary files a/EventbriteNET/obj/Debug/EventbriteNET.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/EventbriteNET/obj/Debug/EventbriteNET.dll b/EventbriteNET/obj/Debug/EventbriteNET.dll deleted file mode 100644 index ce12d1b..0000000 Binary files a/EventbriteNET/obj/Debug/EventbriteNET.dll and /dev/null differ diff --git a/EventbriteNET/obj/Debug/EventbriteNET.pdb b/EventbriteNET/obj/Debug/EventbriteNET.pdb deleted file mode 100644 index 621908e..0000000 Binary files a/EventbriteNET/obj/Debug/EventbriteNET.pdb and /dev/null differ diff --git a/EventbriteNET/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/EventbriteNET/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/EventbriteNET/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/EventbriteNET/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/EventbriteNET/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/EventbriteNET/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/EventbriteNET/packages.config b/EventbriteNET/packages.config deleted file mode 100644 index 8a830a1..0000000 --- a/EventbriteNET/packages.config +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/EventbriteNETConsoleTest/EventbriteNETConsoleTest.csproj b/EventbriteNETConsoleTest/EventbriteNETConsoleTest.csproj deleted file mode 100644 index ff61e08..0000000 --- a/EventbriteNETConsoleTest/EventbriteNETConsoleTest.csproj +++ /dev/null @@ -1,64 +0,0 @@ - - - - - Debug - AnyCPU - {A8674ACF-76FF-4602-AC65-C023129FDE8B} - Exe - Properties - EventbriteNETConsoleTest - EventbriteNETConsoleTest - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - {af04039a-80fb-474f-8147-76ae4e19c23e} - EventbriteNET - - - - - \ No newline at end of file diff --git a/EventbriteNETConsoleTest/bin/Debug/EventbriteNET.dll b/EventbriteNETConsoleTest/bin/Debug/EventbriteNET.dll deleted file mode 100644 index ce12d1b..0000000 Binary files a/EventbriteNETConsoleTest/bin/Debug/EventbriteNET.dll and /dev/null differ diff --git a/EventbriteNETConsoleTest/bin/Debug/EventbriteNET.pdb b/EventbriteNETConsoleTest/bin/Debug/EventbriteNET.pdb deleted file mode 100644 index 621908e..0000000 Binary files a/EventbriteNETConsoleTest/bin/Debug/EventbriteNET.pdb and /dev/null differ diff --git a/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.exe b/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.exe deleted file mode 100644 index 5365268..0000000 Binary files a/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.exe and /dev/null differ diff --git a/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.exe.config b/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.exe.config deleted file mode 100644 index fad249e..0000000 --- a/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.pdb b/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.pdb deleted file mode 100644 index f8a5fbe..0000000 Binary files a/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.pdb and /dev/null differ diff --git a/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.vshost.exe b/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.vshost.exe deleted file mode 100644 index 8c84517..0000000 Binary files a/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.vshost.exe and /dev/null differ diff --git a/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.vshost.exe.config b/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.vshost.exe.config deleted file mode 100644 index fad249e..0000000 --- a/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.vshost.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.vshost.exe.manifest b/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.vshost.exe.manifest deleted file mode 100644 index f96b1d6..0000000 --- a/EventbriteNETConsoleTest/bin/Debug/EventbriteNETConsoleTest.vshost.exe.manifest +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/EventbriteNETConsoleTest/bin/Debug/Newtonsoft.Json.dll b/EventbriteNETConsoleTest/bin/Debug/Newtonsoft.Json.dll deleted file mode 100644 index c1ac3db..0000000 Binary files a/EventbriteNETConsoleTest/bin/Debug/Newtonsoft.Json.dll and /dev/null differ diff --git a/EventbriteNETConsoleTest/bin/Debug/Newtonsoft.Json.xml b/EventbriteNETConsoleTest/bin/Debug/Newtonsoft.Json.xml deleted file mode 100644 index 1f38e1f..0000000 --- a/EventbriteNETConsoleTest/bin/Debug/Newtonsoft.Json.xml +++ /dev/null @@ -1,8302 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Initializes a new instance of the class. - - The Oid value. - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - - A . This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the end of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current Json object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a Json array. - - - - - Writes the beginning of a Json object. - - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a to and from JSON and BSON. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets the of the JSON produced by the JsonConverter. - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Initializes a new instance of the class. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly. - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Instructs the to always serialize the member with the specified name. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings. - - - A new instance. - The will not use default settings. - - - - - Creates a new instance using the specified . - The will not use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - - - - Creates a new instance. - The will use default settings. - - - A new instance. - The will use default settings. - - - - - Creates a new instance using the specified . - The will use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the Json structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Specifies the settings on a object. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Specifies the type of Json token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - Represents a reader that provides validation. - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Represents a token that can contain other tokens. - - - - - Represents an abstract JSON token. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Gets the with the specified key. - - The with the specified key. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Raises the event. - - The instance containing the event data. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Represents a JSON constructor. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the with the specified key. - - - - - - Represents a JSON object. - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Represents a JSON property. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Gets the node type for this . - - The type. - - - - Represents a raw JSON string. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a null value. - - A null value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the at the reader's current position. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - Contains the JSON schema extension methods. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - Validates the specified . - - The source to test. - The schema to test with. - - - - Validates the specified . - - The source to test. - The schema to test with. - The validation event handler. - - - - An in-memory representation of a JSON Schema. - - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Returns detailed information about the schema exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Generates a from a specified . - - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Resolves from an id. - - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - The value types allowed by the . - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies undefined schema Id handling options for the . - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - Returns detailed information related to the . - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - Represents the callback method that will handle JSON schema validation events and the . - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Used by to resolves a for a given . - - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Get and set values for a using dynamic methods. - - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Specifies type name handling options for the . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/EventbriteNETConsoleTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/EventbriteNETConsoleTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 02dd03f..0000000 Binary files a/EventbriteNETConsoleTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/EventbriteNETConsoleTest/obj/Debug/EventbriteNETConsoleTest.csproj.FileListAbsolute.txt b/EventbriteNETConsoleTest/obj/Debug/EventbriteNETConsoleTest.csproj.FileListAbsolute.txt deleted file mode 100644 index 04f9b39..0000000 --- a/EventbriteNETConsoleTest/obj/Debug/EventbriteNETConsoleTest.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,10 +0,0 @@ -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNETConsoleTest\bin\Debug\EventbriteNETConsoleTest.exe.config -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNETConsoleTest\bin\Debug\EventbriteNETConsoleTest.exe -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNETConsoleTest\bin\Debug\EventbriteNETConsoleTest.pdb -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNETConsoleTest\bin\Debug\EventbriteNET.dll -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNETConsoleTest\bin\Debug\Newtonsoft.Json.dll -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNETConsoleTest\bin\Debug\EventbriteNET.pdb -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNETConsoleTest\bin\Debug\Newtonsoft.Json.xml -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNETConsoleTest\obj\Debug\EventbriteNETConsoleTest.csprojResolveAssemblyReference.cache -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNETConsoleTest\obj\Debug\EventbriteNETConsoleTest.exe -C:\Users\ageorgiou\Documents\Visual Studio 2012\Projects\EventbriteNET\EventbriteNETConsoleTest\obj\Debug\EventbriteNETConsoleTest.pdb diff --git a/EventbriteNETConsoleTest/obj/Debug/EventbriteNETConsoleTest.csprojResolveAssemblyReference.cache b/EventbriteNETConsoleTest/obj/Debug/EventbriteNETConsoleTest.csprojResolveAssemblyReference.cache deleted file mode 100644 index 096e4c4..0000000 Binary files a/EventbriteNETConsoleTest/obj/Debug/EventbriteNETConsoleTest.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/EventbriteNETConsoleTest/obj/Debug/EventbriteNETConsoleTest.exe b/EventbriteNETConsoleTest/obj/Debug/EventbriteNETConsoleTest.exe deleted file mode 100644 index 5365268..0000000 Binary files a/EventbriteNETConsoleTest/obj/Debug/EventbriteNETConsoleTest.exe and /dev/null differ diff --git a/EventbriteNETConsoleTest/obj/Debug/EventbriteNETConsoleTest.pdb b/EventbriteNETConsoleTest/obj/Debug/EventbriteNETConsoleTest.pdb deleted file mode 100644 index f8a5fbe..0000000 Binary files a/EventbriteNETConsoleTest/obj/Debug/EventbriteNETConsoleTest.pdb and /dev/null differ diff --git a/README.md b/README.md index 6b187ab..c2d4da8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # EventbriteNET -Eventbrite .NET wrapper for Eventbrite AP! V3 +Eventbrite .NET wrapper for Eventbrite API V3 + +Expanded to support more context operations, but many more exist to be implemented. + +https://www.nuget.org/packages/EventbriteDotNet/ diff --git a/packages/Microsoft.Bcl.1.1.9/License-Stable.rtf b/packages/Microsoft.Bcl.1.1.9/License-Stable.rtf deleted file mode 100644 index 3aec6b6..0000000 --- a/packages/Microsoft.Bcl.1.1.9/License-Stable.rtf +++ /dev/null @@ -1,118 +0,0 @@ -{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fswiss\fprq2\fcharset0 Calibri;}{\f3\fnil\fcharset0 Calibri;}{\f4\fnil\fcharset2 Symbol;}} -{\colortbl ;\red31\green73\blue125;\red0\green0\blue255;} -{\*\listtable -{\list\listhybrid -{\listlevel\levelnfc0\leveljc0\levelstartat1{\leveltext\'02\'00.;}{\levelnumbers\'01;}\jclisttab\tx360} -{\listlevel\levelnfc4\leveljc0\levelstartat1{\leveltext\'02\'01.;}{\levelnumbers\'01;}\jclisttab\tx363} -{\listlevel\levelnfc2\leveljc0\levelstartat1{\leveltext\'02\'02.;}{\levelnumbers\'01;}\jclisttab\tx720}\listid1 } -{\list\listhybrid -{\listlevel\levelnfc0\leveljc0\levelstartat1{\leveltext\'02\'00.;}{\levelnumbers\'01;}\jclisttab\tx363} -{\listlevel\levelnfc4\leveljc0\levelstartat1{\leveltext\'02\'01.;}{\levelnumbers\'01;}\jclisttab\tx363}\listid2 }} -{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} -{\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}{\s3 heading 3;}} -{\*\generator Riched20 6.2.9200}\viewkind4\uc1 -\pard\nowidctlpar\sb120\sa120\b\f0\fs24 MICROSOFT SOFTWARE LICENSE TERMS\par - -\pard\brdrb\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 MICROSOFT .NET LIBRARY \par - -\pard\nowidctlpar\sb120\sa120\fs19 These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120\b0 updates,\par -{\pntext\f4\'B7\tab}supplements,\par -{\pntext\f4\'B7\tab}Internet-based services, and\par -{\pntext\f4\'B7\tab}support services\par - -\pard\nowidctlpar\sb120\sa120\b for this software, unless other terms accompany those items. If so, those terms apply.\par -BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par - -\pard\brdrt\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.\par - -\pard -{\listtext\f0 1.\tab}\jclisttab\tx360\ls1\nowidctlpar\s1\fi-357\li357\sb120\sa120 INSTALLATION AND USE RIGHTS. \par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls1\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 Installation and Use.\b0\fs20 You may install and use any number of copies of the software to design, develop and test your programs.\par -{\listtext\f0 b.\tab}\b\fs19 Third Party Programs.\b0\fs20 The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only.\b\fs19\par - -\pard -{\listtext\f0 2.\tab}\jclisttab\tx360\ls1\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.\par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls1\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 DISTRIBUTABLE CODE.\~ \b0 The software is comprised of Distributable Code. \f1\ldblquote\f0 Distributable Code\f1\rdblquote\f0 is code that you are permitted to distribute in programs you develop if you comply with the terms below.\b\par - -\pard -{\listtext\f0 i.\tab}\jclisttab\tx720\ls1\ilvl2\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077 Right to Use and Distribute. \par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 You may copy and distribute the object code form of the software.\par -{\pntext\f4\'B7\tab}Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.\par - -\pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\b ii.\tab Distribution Requirements.\b0 \b For any Distributable Code you distribute, you must\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 add significant primary functionality to it in your programs;\par -{\pntext\f4\'B7\tab}require distributors and external end users to agree to terms that protect it at least as much as this agreement;\par -{\pntext\f4\'B7\tab}display your valid copyright notice on your programs; and\par -{\pntext\f4\'B7\tab}indemnify, defend, and hold harmless Microsoft from any claims, including attorneys\rquote fees, related to the distribution or use of your programs.\par - -\pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\b iii.\tab Distribution Restrictions.\b0 \b You may not\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 alter any copyright, trademark or patent notice in the Distributable Code;\par -{\pntext\f4\'B7\tab}use Microsoft\rquote s trademarks in your programs\rquote names or in a way that suggests your programs come from or are endorsed by Microsoft;\par -{\pntext\f4\'B7\tab}include Distributable Code in malicious, deceptive or unlawful programs; or\par -{\pntext\f4\'B7\tab}modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-358\li1792\sb120\sa120 the code be disclosed or distributed in source code form; or\cf1\f2\par -{\pntext\f4\'B7\tab}\cf0\f0 others have the right to modify it.\cf1\f2\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\cf0\b\f0 3.\tab\fs19 SCOPE OF LICENSE. \b0 The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120 work around any technical limitations in the software;\par -{\pntext\f4\'B7\tab}reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;\par -{\pntext\f4\'B7\tab}publish the software for others to copy;\par -{\pntext\f4\'B7\tab}rent, lease or lend the software;\par -{\pntext\f4\'B7\tab}transfer the software or this agreement to any third party; or\par -{\pntext\f4\'B7\tab}use the software for commercial software hosting services.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\b\fs20 4.\tab\fs19 BACKUP COPY. \b0 You may make one backup copy of the software. You may use it only to reinstall the software.\par -\b\fs20 5.\tab\fs19 DOCUMENTATION. \b0 Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\par -\b\fs20 6.\tab\fs19 EXPORT RESTRICTIONS. \b0 The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see {\cf2\ul\fs20{\field{\*\fldinst{HYPERLINK www.microsoft.com/exporting }}{\fldrslt{www.microsoft.com/exporting}}}}\f0\fs19 .\cf2\ul\fs20\par -\cf0\ulnone\b 7.\tab\fs19 SUPPORT SERVICES. \b0 Because this software is \ldblquote as is,\rdblquote we may not provide support services for it.\par -\b\fs20 8.\tab\fs19 ENTIRE AGREEMENT. \b0 This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par -\b\fs20 9.\tab\fs19 APPLICABLE LAW.\par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls2\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 United States. \b0 If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\par -{\listtext\f0 b.\tab}\b Outside the United States. If you acquired the software in any other country, the laws of that country apply.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 10.\tab\fs19 LEGAL EFFECT. \b0 This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\par -\b\fs20 11.\tab\fs19 DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED \ldblquote AS-IS.\rdblquote YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.\par - -\pard\nowidctlpar\li357\sb120\sa120 FOR AUSTRALIA \endash YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 12.\tab\fs19 LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.\par - -\pard\nowidctlpar\li357\sb120\sa120\b0 This limitation applies to\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120 anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par -{\pntext\f4\'B7\tab}claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par - -\pard\nowidctlpar\sb120\sa120 It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\par -\lang9 Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.\par -Remarque : Ce logiciel \'e9tant distribu\'e9 au Qu\'e9bec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en fran\'e7ais.\par - -\pard\nowidctlpar\s1\sb120\sa120\b\lang1033 EXON\'c9RATION DE GARANTIE. \b0 Le logiciel vis\'e9 par une licence est offert \'ab tel quel \'bb. Toute utilisation de ce logiciel est \'e0 votre seule risque et p\'e9ril. Microsoft n\rquote accorde aucune autre garantie expresse. Vous pouvez b\'e9n\'e9ficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualit\'e9 marchande, d\rquote ad\'e9quation \'e0 un usage particulier et d\rquote absence de contrefa\'e7on sont exclues.\par -\b LIMITATION DES DOMMAGES-INT\'c9R\'caTS ET EXCLUSION DE RESPONSABILIT\'c9 POUR LES DOMMAGES. \b0 Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement \'e0 hauteur de 5,00 $ US. Vous ne pouvez pr\'e9tendre \'e0 aucune indemnisation pour les autres dommages, y compris les dommages sp\'e9ciaux, indirects ou accessoires et pertes de b\'e9n\'e9fices.\par - -\pard\nowidctlpar\sb120\sa120\lang9 Cette limitation concerne :\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\li720\sb120\sa120 tout ce qui est reli\'e9 au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et\par -{\pntext\f4\'B7\tab}les r\'e9clamations au titre de violation de contrat ou de garantie, ou au titre de responsabilit\'e9 stricte, de n\'e9gligence ou d\rquote une autre faute dans la limite autoris\'e9e par la loi en vigueur.\par - -\pard\nowidctlpar\sb120\sa120 Elle s\rquote applique \'e9galement, m\'eame si Microsoft connaissait ou devrait conna\'eetre l\rquote\'e9ventualit\'e9 d\rquote un tel dommage. Si votre pays n\rquote autorise pas l\rquote exclusion ou la limitation de responsabilit\'e9 pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l\rquote exclusion ci-dessus ne s\rquote appliquera pas \'e0 votre \'e9gard.\par - -\pard\nowidctlpar\s1\sb120\sa120\b\lang1033 EFFET JURIDIQUE. \b0 Le pr\'e9sent contrat d\'e9crit certains droits juridiques. Vous pourriez avoir d\rquote autres droits pr\'e9vus par les lois de votre pays. Le pr\'e9sent contrat ne modifie pas les droits que vous conf\'e8rent les lois de votre pays si celles-ci ne le permettent pas.\par - -\pard\nowidctlpar\sb120\sa120\b\fs20\lang1036\par - -\pard\sa200\sl276\slmult1\b0\f3\fs22\lang9\par -} - \ No newline at end of file diff --git a/packages/Microsoft.Bcl.1.1.9/Microsoft.Bcl.1.1.9.nupkg b/packages/Microsoft.Bcl.1.1.9/Microsoft.Bcl.1.1.9.nupkg deleted file mode 100644 index 7825d24..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/Microsoft.Bcl.1.1.9.nupkg and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/content/monoandroid/_._ b/packages/Microsoft.Bcl.1.1.9/content/monoandroid/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/monotouch/_._ b/packages/Microsoft.Bcl.1.1.9/content/monotouch/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/net45/_._ b/packages/Microsoft.Bcl.1.1.9/content/net45/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/portable-net45+win8+wp8+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/content/portable-net45+win8+wp8+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/portable-net45+win8+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/content/portable-net45+win8+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/portable-net451+win81+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/content/portable-net451+win81+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/portable-net451+win81/_._ b/packages/Microsoft.Bcl.1.1.9/content/portable-net451+win81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/portable-win81+wp81+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/content/portable-win81+wp81+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/sl4/_._ b/packages/Microsoft.Bcl.1.1.9/content/sl4/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/sl5/_._ b/packages/Microsoft.Bcl.1.1.9/content/sl5/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/win8/_._ b/packages/Microsoft.Bcl.1.1.9/content/win8/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/wp8/_._ b/packages/Microsoft.Bcl.1.1.9/content/wp8/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/content/wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/monoandroid/_._ b/packages/Microsoft.Bcl.1.1.9/lib/monoandroid/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/monotouch/_._ b/packages/Microsoft.Bcl.1.1.9/lib/monotouch/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.dll deleted file mode 100644 index 578c237..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.xml deleted file mode 100644 index 865aa1a..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - System.IO - - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.dll deleted file mode 100644 index 4a865fc..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.xml deleted file mode 100644 index b47921e..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.xml +++ /dev/null @@ -1,475 +0,0 @@ - - - - System.Threading.Tasks - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/net40/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net45/_._ b/packages/Microsoft.Bcl.1.1.9/lib/net45/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.dll deleted file mode 100644 index 88e07e2..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.xml deleted file mode 100644 index 53f5bef..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.xml +++ /dev/null @@ -1,860 +0,0 @@ - - - - System.Runtime - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Argument must be of type {0}.. - - - - - Looks up a localized string similar to The last element of an eight element tuple must be a Tuple.. - - - - - Defines methods to support the comparison of objects for structural equality. - - - - - Determines whether an object is structurally equal to the current instance. - - The object to compare with the current instance. - An object that determines whether the current instance and other are equal. - true if the two objects are equal; otherwise, false. - - - - Returns a hash code for the current instance. - - An object that computes the hash code of the current object. - The hash code for the current instance. - - - - Supports the structural comparison of collection objects. - - - - - Determines whether the current collection object precedes, occurs in the same position as, or follows another object in the sort order. - - The object to compare with the current instance. - An object that compares members of the current collection object with the corresponding members of other. - An integer that indicates the relationship of the current collection object to other. - - This instance and other are not the same type. - - - - - Encapsulates a method that has five parameters and returns a value of the type specified by the TResult parameter. - - The type of the first parameter of the method that this delegate encapsulates. - The type of the second parameter of the method that this delegate encapsulates. - The type of the third parameter of the method that this delegate encapsulates. - The type of the fourth parameter of the method that this delegate encapsulates. - The type of the fifth parameter of the method that this delegate encapsulates. - The type of the return value of the method that this delegate encapsulates. - The first parameter of the method that this delegate encapsulates. - The second parameter of the method that this delegate encapsulates. - The third parameter of the method that this delegate encapsulates. - The fourth parameter of the method that this delegate encapsulates. - The fifth parameter of the method that this delegate encapsulates. - The return value of the method that this delegate encapsulates. - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - - Helper so we can call some tuple methods recursively without knowing the underlying types. - - - - - Provides static methods for creating tuple objects. - - - - - Creates a new 1-tuple, or singleton. - - The type of the only component of the tuple. - The value of the only component of the tuple. - A tuple whose value is (item1). - - - - Creates a new 3-tuple, or pair. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - An 2-tuple (pair) whose value is (item1, item2). - - - - Creates a new 3-tuple, or triple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - An 3-tuple (triple) whose value is (item1, item2, item3). - - - - Creates a new 4-tuple, or quadruple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - An 4-tuple (quadruple) whose value is (item1, item2, item3, item4). - - - - Creates a new 5-tuple, or quintuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - An 5-tuple (quintuple) whose value is (item1, item2, item3, item4, item5). - - - - Creates a new 6-tuple, or sextuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - An 6-tuple (sextuple) whose value is (item1, item2, item3, item4, item5, item6). - - - - Creates a new 7-tuple, or septuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - An 7-tuple (septuple) whose value is (item1, item2, item3, item4, item5, item6, item7). - - - - Creates a new 8-tuple, or octuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - The type of the eighth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - The value of the eighth component of the tuple. - An 8-tuple (octuple) whose value is (item1, item2, item3, item4, item5, item6, item7, item8). - - - - Represents a 1-tuple, or singleton. - - The type of the tuple's only component. - - - - Initializes a new instance of the class. - - The value of the current tuple object's single component. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the tuple object's single component. - - - The value of the current tuple object's single component. - - - - - Represents an 2-tuple, or pair. - - The type of the first component of the tuple. - The type of the second component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Represents an 3-tuple, or triple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Represents an 4-tuple, or quadruple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Represents an 5-tuple, or quintuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Represents an 6-tuple, or sextuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Gets the value of the current tuple object's sixth component. - - - The value of the current tuple object's sixth component. - - - - - Represents an 7-tuple, or septuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Gets the value of the current tuple object's sixth component. - - - The value of the current tuple object's sixth component. - - - - - Gets the value of the current tuple object's seventh component. - - - The value of the current tuple object's seventh component. - - - - - Represents an n-tuple, where n is 8 or greater. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - Any generic Tuple object that defines the types of the tuple's remaining components. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - Any generic Tuple object that contains the values of the tuple's remaining components. - - rest is not a generic Tuple object. - - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Gets the value of the current tuple object's sixth component. - - - The value of the current tuple object's sixth component. - - - - - Gets the value of the current tuple object's seventh component. - - - The value of the current tuple object's seventh component. - - - - - Gets the current tuple object's remaining components. - - - The value of the current tuple object's remaining components. - - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.dll deleted file mode 100644 index 23d6d1a..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.xml deleted file mode 100644 index 6c77012..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.xml +++ /dev/null @@ -1,8969 +0,0 @@ - - - - System.Threading.Tasks - - - - Represents one or more errors that occur during application execution. - - is used to consolidate multiple failures into a single, throwable - exception object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a specified error - message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - The argument - is null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Allocates a new aggregate exception with the specified message and list of inner exceptions. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Returns the that is the root cause of this exception. - - - - - Invokes a handler on each contained by this . - - The predicate to execute for each exception. The predicate accepts as an - argument the to be processed and returns a Boolean to indicate - whether the exception was handled. - - Each invocation of the returns true or false to indicate whether the - was handled. After all invocations, if any exceptions went - unhandled, all unhandled exceptions will be put into a new - which will be thrown. Otherwise, the method simply returns. If any - invocations of the throws an exception, it will halt the processing - of any more exceptions and immediately propagate the thrown exception as-is. - - An exception contained by this was not handled. - The argument is - null. - - - - Flattens an instances into a single, new instance. - - A new, flattened . - - If any inner exceptions are themselves instances of - , this method will recursively flatten all of them. The - inner exceptions returned in the new - will be the union of all of the the inner exceptions from exception tree rooted at the provided - instance. - - - - - Creates and returns a string representation of the current . - - A string representation of the current exception. - - - - Gets a read-only collection of the instances that caused the - current exception. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to One or more errors occurred.. - - - - - Looks up a localized string similar to An element of innerExceptions was null.. - - - - - Looks up a localized string similar to {0}{1}---> (Inner Exception #{2}) {3}{4}{5}. - - - - - Looks up a localized string similar to No tokens were supplied.. - - - - - Looks up a localized string similar to The CancellationTokenSource associated with this CancellationToken has been disposed.. - - - - - Looks up a localized string similar to The CancellationTokenSource has been disposed.. - - - - - Looks up a localized string similar to The SyncRoot property may not be used for the synchronization of concurrent collections.. - - - - - Looks up a localized string similar to The array is multidimensional, or the type parameter for the set cannot be cast automatically to the type of the destination array.. - - - - - Looks up a localized string similar to The index is equal to or greater than the length of the array, or the number of elements in the dictionary is greater than the available space from index to the end of the destination array.. - - - - - Looks up a localized string similar to The capacity argument must be greater than or equal to zero.. - - - - - Looks up a localized string similar to The concurrencyLevel argument must be positive.. - - - - - Looks up a localized string similar to The index argument is less than zero.. - - - - - Looks up a localized string similar to TKey is a reference type and item.Key is null.. - - - - - Looks up a localized string similar to The key already existed in the dictionary.. - - - - - Looks up a localized string similar to The source argument contains duplicate keys.. - - - - - Looks up a localized string similar to The key was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The value was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The lazily-initialized type does not have a public, parameterless constructor.. - - - - - Looks up a localized string similar to ValueFactory returned null.. - - - - - Looks up a localized string similar to The spinCount argument must be in the range 0 to {0}, inclusive.. - - - - - Looks up a localized string similar to There are too many threads currently waiting on the event. A maximum of {0} waiting threads are supported.. - - - - - Looks up a localized string similar to The event has been disposed.. - - - - - Looks up a localized string similar to The operation was canceled.. - - - - - Looks up a localized string similar to The condition argument is null.. - - - - - Looks up a localized string similar to The timeout must represent a value between -1 and Int32.MaxValue, inclusive.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions combined LongRunning and ExecuteSynchronously. Synchronous continuations should not be long running.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions excluded all continuation kinds.. - - - - - Looks up a localized string similar to (Internal)An attempt was made to create a LongRunning SelfReplicating task.. - - - - - Looks up a localized string similar to The value needs to translate in milliseconds to -1 (signifying an infinite timeout), 0 or a positive integer less than or equal to Int32.MaxValue.. - - - - - Looks up a localized string similar to The value needs to be either -1 (signifying an infinite timeout), 0 or a positive integer.. - - - - - Looks up a localized string similar to A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.LongRunning in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.PreferFairness in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating in calls to FromAsync.. - - - - - Looks up a localized string similar to FromAsync was called with a TaskManager that had already shut down.. - - - - - Looks up a localized string similar to The tasks argument contains no tasks.. - - - - - Looks up a localized string similar to It is invalid to exclude specific continuation kinds for continuations off of multiple tasks.. - - - - - Looks up a localized string similar to The tasks argument included a null value.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that was already started.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a continuation task.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that has already completed.. - - - - - Looks up a localized string similar to Start may not be called on a task that was already started.. - - - - - Looks up a localized string similar to Start may not be called on a continuation task.. - - - - - Looks up a localized string similar to Start may not be called on a task with null action.. - - - - - Looks up a localized string similar to Start may not be called on a promise-style task.. - - - - - Looks up a localized string similar to Start may not be called on a task that has completed.. - - - - - Looks up a localized string similar to The task has been disposed.. - - - - - Looks up a localized string similar to The tasks array included at least one null element.. - - - - - Looks up a localized string similar to The awaited task has not yet completed.. - - - - - Looks up a localized string similar to A task was canceled.. - - - - - Looks up a localized string similar to The exceptions collection was empty.. - - - - - Looks up a localized string similar to The exceptions collection included at least one null element.. - - - - - Looks up a localized string similar to A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.. - - - - - Looks up a localized string similar to (Internal)Expected an Exception or an IEnumerable<Exception>. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was already executed.. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was previously queued to a different TaskScheduler.. - - - - - Looks up a localized string similar to The current SynchronizationContext may not be used as a TaskScheduler.. - - - - - Looks up a localized string similar to The TryExecuteTaskInline call to the underlying scheduler succeeded, but the task body was not invoked.. - - - - - Looks up a localized string similar to An exception was thrown by a TaskScheduler.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating for a Task<TResult>.. - - - - - Looks up a localized string similar to {Not yet computed}. - - - - - Looks up a localized string similar to A task's Exception may only be set directly if the task was created without a function.. - - - - - Looks up a localized string similar to An attempt was made to transition a task to a final state when it had already completed.. - - - - - Represents a thread-safe collection of keys and values. - - The type of the keys in the dictionary. - The type of the values in the dictionary. - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads. - - - - - Initializes a new instance of the - class that is empty, has the default concurrency level, has the default initial capacity, and - uses the default comparer for the key type. - - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the default - comparer for the key type. - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - is - less than 1. - is less than - 0. - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency - level, has the default initial capacity, and uses the default comparer for the key type. - - The whose elements are copied to - the new - . - is a null reference - (Nothing in Visual Basic). - contains one or more - duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the specified - . - - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency level, has the default - initial capacity, and uses the specified - . - - The whose elements are copied to - the new - . - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). -or- - is a null reference (Nothing in Visual Basic). - - - - - Initializes a new instance of the - class that contains elements copied from the specified , - has the specified concurrency level, has the specified initial capacity, and uses the specified - . - - The estimated number of threads that will update the - concurrently. - The whose elements are copied to the new - . - The implementation to use - when comparing keys. - - is a null reference (Nothing in Visual Basic). - -or- - is a null reference (Nothing in Visual Basic). - - - is less than 1. - - contains one or more duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level, has the specified initial capacity, and - uses the specified . - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - The - implementation to use when comparing keys. - - is less than 1. -or- - is less than 0. - - is a null reference - (Nothing in Visual Basic). - - - - Attempts to add the specified key and value to the . - - The key of the element to add. - The value of the element to add. The value can be a null reference (Nothing - in Visual Basic) for reference types. - true if the key/value pair was added to the - successfully; otherwise, false. - is null reference - (Nothing in Visual Basic). - The - contains too many elements. - - - - Determines whether the contains the specified - key. - - The key to locate in the . - true if the contains an element with - the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Attempts to remove and return the the value with the specified key from the - . - - The key of the element to remove and return. - When this method returns, contains the object removed from the - or the default value of - if the operation failed. - true if an object was removed successfully; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Removes the specified key from the dictionary if it exists and returns its associated value. - If matchValue flag is set, the key will be removed only if is associated with a particular - value. - - The key to search for and remove if it exists. - The variable into which the removed value, if found, is stored. - Whether removal of the key is conditional on its value. - The conditional value to compare against if is true - - - - - Attempts to get the value associated with the specified key from the . - - The key of the value to get. - When this method returns, contains the object from - the - with the spedified key or the default value of - , if the operation failed. - true if the key was found in the ; - otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Compares the existing value for the specified key with a specified value, and if they’re equal, - updates the key with a third value. - - The key whose value is compared with and - possibly replaced. - The value that replaces the value of the element with if the comparison results in equality. - The value that is compared to the value of the element with - . - true if the value with was equal to and replaced with ; otherwise, - false. - is a null - reference. - - - - Removes all keys and values from the . - - - - - Copies the elements of the to an array of - type , starting at the - specified array index. - - The one-dimensional array of type - that is the destination of the elements copied from the . The array must have zero-based indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Copies the key and value pairs stored in the to a - new array. - - A new array containing a snapshot of key and value pairs copied from the . - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToPairs. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToEntries. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToObjects. - - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Shared internal implementation for inserts and updates. - If key exists, we always return false; and if updateIfExists == true we force update with value; - If key doesn't exist, we always add value and return true; - - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - The function used to generate a value for the key - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value for the key as returned by valueFactory - if the key was not in the dictionary. - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - the value to be added, if the key does not already exist - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value if the key was not in the dictionary. - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The function used to generate a value for an absent key - The function used to generate a new value for an existing key - based on the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The value to be added for an absent key - The function used to generate a new value for an existing key based on - the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds the specified key and value to the . - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - An element with the same key already exists in the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - true if the element is successfully remove; otherwise false. This method also returns - false if - was not found in the original . - - is a null reference - (Nothing in Visual Basic). - - - - Adds the specified value to the - with the specified key. - - The - structure representing the key and value to add to the . - The of is null. - The - contains too many elements. - An element with the same key already exists in the - - - - - Determines whether the - contains a specific key and value. - - The - structure to locate in the . - true if the is found in the ; otherwise, false. - - - - Removes a key and value from the dictionary. - - The - structure representing the key and value to remove from the . - true if the key and value represented by is successfully - found and removed; otherwise, false. - The Key property of is a null reference (Nothing in Visual Basic). - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Adds the specified key and value to the dictionary. - - The object to use as the key. - The object to use as the value. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - is of a type that is not assignable to the key type of the . -or- - is of a type that is not assignable to , - the type of values in the . - -or- A value with the same key already exists in the . - - - - - Gets whether the contains an - element with the specified key. - - The key to locate in the . - true if the contains - an element with the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - Provides an for the - . - An for the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - is a null reference - (Nothing in Visual Basic). - - - - Copies the elements of the to an array, starting - at the specified array index. - - The one-dimensional array that is the destination of the elements copied from - the . The array must have zero-based - indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Replaces the internal table with a larger one. To prevent multiple threads from resizing the - table as a result of races, the table of buckets that was deemed too small is passed in as - an argument to GrowTable(). GrowTable() obtains a lock, and then checks whether the bucket - table has been replaced in the meantime or not. - - Reference to the bucket table that was deemed too small. - - - - Computes the bucket and lock number for a particular key. - - - - - Acquires all locks for this hash table, and increments locksAcquired by the number - of locks that were successfully acquired. The locks are acquired in an increasing - order. - - - - - Acquires a contiguous range of locks for this hash table, and increments locksAcquired - by the number of locks that were successfully acquired. The locks are acquired in an - increasing order. - - - - - Releases a contiguous range of locks. - - - - - Gets a collection containing the keys in the dictionary. - - - - - Gets a collection containing the values in the dictionary. - - - - - A helper method for asserts. - - - - - Get the data array to be serialized - - - - - Construct the dictionary from a previously seiralized one - - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key. If the specified key is not found, a get - operation throws a - , and a set operation creates a new - element with the specified key. - is a null reference - (Nothing in Visual Basic). - The property is retrieved and - - does not exist in the collection. - - - - Gets the number of key/value pairs contained in the . - - The dictionary contains too many - elements. - The number of key/value paris contained in the . - Count has snapshot semantics and represents the number of items in the - at the moment when Count was accessed. - - - - Gets a value that indicates whether the is empty. - - true if the is empty; otherwise, - false. - - - - Gets a collection containing the keys in the . - - An containing the keys in the - . - - - - Gets a collection containing the values in the . - - An containing the values in - the - . - - - - Gets a value indicating whether the dictionary is read-only. - - true if the is - read-only; otherwise, false. For , this property always returns - false. - - - - Gets a value indicating whether the has a fixed size. - - true if the has a - fixed size; otherwise, false. For , this property always - returns false. - - - - Gets a value indicating whether the is read-only. - - true if the is - read-only; otherwise, false. For , this property always - returns false. - - - - Gets an containing the keys of the . - - An containing the keys of the . - - - - Gets an containing the values in the . - - An containing the values in the . - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key, or a null reference (Nothing in Visual Basic) - if is not in the dictionary or is of a type that is - not assignable to the key type of the . - is a null reference - (Nothing in Visual Basic). - - A value is being assigned, and is of a type that is not assignable to the - key type of the . -or- A value is being - assigned, and is of a type that is not assignable to the value type - of the - - - - - Gets a value indicating whether access to the is - synchronized with the SyncRoot. - - true if access to the is synchronized - (thread safe); otherwise, false. For , this property always - returns false. - - - - Gets an object that can be used to synchronize access to the . This property is not supported. - - The SyncRoot property is not supported. - - - - The number of concurrent writes for which to optimize by default. - - - - - A node in a singly-linked list representing a particular hash table bucket. - - - - - A private class to represent enumeration over the dictionary that implements the - IDictionaryEnumerator interface. - - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - - An interface similar to the one added in .NET 4.0. - - - - The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. - - - Initializes the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - Initializes the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - A cancellation token associated with the operation that was canceled. - - - Gets a token associated with the operation that was canceled. - - - - A dummy replacement for the .NET internal class StackCrawlMark. - - - - - Propogates notification that operations should be canceled. - - - - A may be created directly in an unchangeable canceled or non-canceled state - using the CancellationToken's constructors. However, to have a CancellationToken that can change - from a non-canceled to a canceled state, - CancellationTokenSource must be used. - CancellationTokenSource exposes the associated CancellationToken that may be canceled by the source through its - Token property. - - - Once canceled, a token may not transition to a non-canceled state, and a token whose - is false will never change to one that can be canceled. - - - All members of this struct are thread-safe and may be used concurrently from multiple threads. - - - - - - Internal constructor only a CancellationTokenSource should create a CancellationToken - - - - - Initializes the CancellationToken. - - - The canceled state for the token. - - - Tokens created with this constructor will remain in the canceled state specified - by the parameter. If is false, - both and will be false. - If is true, - both and will be true. - - - - - Registers a delegate that will be called when this CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Determines whether the current CancellationToken instance is equal to the - specified token. - - The other CancellationToken to which to compare this - instance. - True if the instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other object to which to compare this instance. - True if is a CancellationToken - and if the two instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - An associated CancellationTokenSource has been disposed. - - - - Serves as a hash function for a CancellationToken. - - A hash code for the current CancellationToken instance. - - - - Determines whether two CancellationToken instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Determines whether two CancellationToken instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Throws a OperationCanceledException if - this token has had cancellation requested. - - - This method provides functionality equivalent to: - - if (token.IsCancellationRequested) - throw new OperationCanceledException(token); - - - The token has had cancellation requested. - The associated CancellationTokenSource has been disposed. - - - - Returns an empty CancellationToken value. - - - The value returned by this property will be non-cancelable by default. - - - - - Gets whether cancellation has been requested for this token. - - Whether cancellation has been requested for this token. - - - This property indicates whether cancellation has been requested for this token, - either through the token initially being construted in a canceled state, or through - calling Cancel - on the token's associated . - - - If this property is true, it only guarantees that cancellation has been requested. - It does not guarantee that every registered handler - has finished executing, nor that cancellation requests have finished propagating - to all registered handlers. Additional synchronization may be required, - particularly in situations where related objects are being canceled concurrently. - - - - - - Gets whether this token is capable of being in the canceled state. - - - If CanBeCanceled returns false, it is guaranteed that the token will never transition - into a canceled state, meaning that will never - return true. - - - - - Gets a that is signaled when the token is canceled. - - Accessing this property causes a WaitHandle - to be instantiated. It is preferable to only use this property when necessary, and to then - dispose the associated instance at the earliest opportunity (disposing - the source will dispose of this allocated handle). The handle should not be closed or disposed directly. - - The associated CancellationTokenSource has been disposed. - - - - Represents a callback delegate that has been registered with a CancellationToken. - - - To unregister a callback, dispose the corresponding Registration instance. - - - - - Attempts to deregister the item. If it's already being run, this may fail. - Entails a full memory fence. - - True if the callback was found and deregistered, false otherwise. - - - - Disposes of the registration and unregisters the target callback from the associated - CancellationToken. - If the target callback is currently executing this method will wait until it completes, except - in the degenerate cases where a callback method deregisters itself. - - - - - Determines whether two CancellationTokenRegistration - instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - - - - Determines whether two CancellationTokenRegistration instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - - - - Determines whether the current CancellationTokenRegistration instance is equal to the - specified . - - The other object to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other CancellationTokenRegistration to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Serves as a hash function for a CancellationTokenRegistration.. - - A hash code for the current CancellationTokenRegistration instance. - - - - Signals to a that it should be canceled. - - - - is used to instantiate a - (via the source's Token property) - that can be handed to operations that wish to be notified of cancellation or that can be used to - register asynchronous operations for cancellation. That token may have cancellation requested by - calling to the source's Cancel - method. - - - All members of this class, except Dispose, are thread-safe and may be used - concurrently from multiple threads. - - - - - The ID of the thread currently executing the main body of CTS.Cancel() - this helps us to know if a call to ctr.Dispose() is running 'within' a cancellation callback. - This is updated as we move between the main thread calling cts.Cancel() and any syncContexts that are used to - actually run the callbacks. - - - - Initializes the . - - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - However, this overload of Cancel will aggregate any exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - If is true, an exception will immediately propagate out of the - call to Cancel, preventing the remaining callbacks and cancelable operations from being processed. - If is false, this overload will aggregate any - exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - Specifies whether exceptions should immediately propagate. - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Releases the resources used by this . - - - This method is not thread-safe for any other concurrent calls. - - - - - Throws an exception if the source has been disposed. - - - - - InternalGetStaticSource() - - Whether the source should be set. - A static source to be shared among multiple tokens. - - - - Registers a callback object. If cancellation has already occurred, the - callback will have been run by the time this method returns. - - - - - - - - - - Invoke the Canceled event. - - - The handlers are invoked synchronously in LIFO order. - - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The first CancellationToken to observe. - The second CancellationToken to observe. - A CancellationTokenSource that is linked - to the source tokens. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The CancellationToken instances to observe. - A CancellationTokenSource that is linked - to the source tokens. - is null. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Gets whether cancellation has been requested for this CancellationTokenSource. - - Whether cancellation has been requested for this CancellationTokenSource. - - - This property indicates whether cancellation has been requested for this token source, such as - due to a call to its - Cancel method. - - - If this property returns true, it only guarantees that cancellation has been requested. It does not - guarantee that every handler registered with the corresponding token has finished executing, nor - that cancellation requests have finished propagating to all registered handlers. Additional - synchronization may be required, particularly in situations where related objects are being - canceled concurrently. - - - - - - A simple helper to determine whether cancellation has finished. - - - - - A simple helper to determine whether disposal has occured. - - - - - The ID of the thread that is running callbacks. - - - - - Gets the CancellationToken - associated with this . - - The CancellationToken - associated with this . - The token source has been - disposed. - - - - - - - - - - - - - - The currently executing callback - - - - - A helper class for collating the various bits of information required to execute - cancellation callbacks. - - - - - InternalExecuteCallbackSynchronously_GeneralPath - This will be called on the target synchronization context, however, we still need to restore the required execution context - - - - - A sparsely populated array. Elements can be sparse and some null, but this allows for - lock-free additions and growth, and also for constant time removal (by nulling out). - - The kind of elements contained within. - - - - Allocates a new array with the given initial size. - - How many array slots to pre-allocate. - - - - Adds an element in the first available slot, beginning the search from the tail-to-head. - If no slots are available, the array is grown. The method doesn't return until successful. - - The element to add. - Information about where the add happened, to enable O(1) deregistration. - - - - The tail of the doubly linked list. - - - - - A struct to hold a link to the exact spot in an array an element was inserted, enabling - constant time removal later on. - - - - - A fragment of a sparsely populated array, doubly linked. - - The kind of elements contained within. - - - - Provides lazy initialization routines. - - - These routines avoid needing to allocate a dedicated, lazy-initialization instance, instead using - references to ensure targets have been initialized as they are accessed. - - - - - Initializes a target reference type with the type's default constructor if the target has not - already been initialized. - - The refence type of the reference to be initialized. - A reference of type to initialize if it has not - already been initialized. - The initialized reference of type . - Type does not have a default - constructor. - - Permissions to access the constructor of type were missing. - - - - This method may only be used on reference types. To ensure initialization of value - types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initializes a target reference type using the specified function if it has not already been - initialized. - - The reference type of the reference to be initialized. - The reference of type to initialize if it has not - already been initialized. - The invoked to initialize the - reference. - The initialized reference of type . - Type does not have a - default constructor. - returned - null. - - - This method may only be used on reference types, and may - not return a null reference (Nothing in Visual Basic). To ensure initialization of value types or - to allow null reference types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initialize the target using the given delegate (slow path). - - The reference type of the reference to be initialized. - The variable that need to be initialized - The delegate that will be executed to initialize the target - The initialized variable - - - - Initializes a target reference or value type with its default constructor if it has not already - been initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The initialized value of type . - - - - Initializes a target reference or value type with a specified function if it has not already been - initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The invoked to initialize the - reference or value. - The initialized value of type . - - - - Ensure the target is initialized and return the value (slow path). This overload permits nulls - and also works for value type targets. Uses the supplied function to create the value. - - The type of target. - A reference to the target to be initialized. - A reference to a location tracking whether the target has been initialized. - A reference to a location containing a mutual exclusive lock. - - The to invoke in order to produce the lazily-initialized value. - - The initialized object. - - - - Provides a slimmed down version of . - - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads, with the exception of Dispose, which - must only be used when all other operations on the have - completed, and Reset, which should only be used when no other threads are - accessing the event. - - - - - Initializes a new instance of the - class with an initial state of nonsignaled. - - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled. - - true to set the initial state signaled; false to set the initial state - to nonsignaled. - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled and a specified - spin count. - - true to set the initial state to signaled; false to set the initial state - to nonsignaled. - The number of spin waits that will occur before falling back to a true - wait. - is less than - 0 or greater than the maximum allowed value. - - - - Initializes the internal state of the event. - - Whether the event is set initially or not. - The spin count that decides when the event will block. - - - - Helper to ensure the lock object is created before first use. - - - - - This method lazily initializes the event object. It uses CAS to guarantee that - many threads racing to call this at once don't result in more than one event - being stored and used. The event will be signaled or unsignaled depending on - the state of the thin-event itself, with synchronization taken into account. - - True if a new event was created and stored, false otherwise. - - - - Sets the state of the event to signaled, which allows one or more threads waiting on the event to - proceed. - - - - - Private helper to actually perform the Set. - - Indicates whether we are calling Set() during cancellation. - The object has been canceled. - - - - Sets the state of the event to nonsignaled, which causes threads to block. - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Blocks the current thread until the current is set. - - - The maximum number of waiters has been exceeded. - - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current receives a signal, - while observing a . - - The to - observe. - - The maximum number of waiters has been exceeded. - - was - canceled. - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval. - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval, while observing a . - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - The to - observe. - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - was canceled. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval. - - The number of milliseconds to wait, or (-1) to wait indefinitely. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval, while observing a . - - The number of milliseconds to wait, or (-1) to wait indefinitely. - The to - observe. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - was canceled. - - - - Releases all resources used by the current instance of . - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - When overridden in a derived class, releases the unmanaged resources used by the - , and optionally releases the managed resources. - - true to release both managed and unmanaged resources; - false to release only unmanaged resources. - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Throw ObjectDisposedException if the MRES is disposed - - - - - Private helper method to wake up waiters when a cancellationToken gets canceled. - - - - - Private helper method for updating parts of a bit-string state value. - Mainly called from the IsSet and Waiters properties setters - - - Note: the parameter types must be int as CompareExchange cannot take a Uint - - The new value - The mask used to set the bits - - - - Private helper method - performs Mask and shift, particular helpful to extract a field from a packed word. - eg ExtractStatePortionAndShiftRight(0x12345678, 0xFF000000, 24) => 0x12, ie extracting the top 8-bits as a simple integer - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - - - Performs a Mask operation, but does not perform the shift. - This is acceptable for boolean values for which the shift is unnecessary - eg (val & Mask) != 0 is an appropriate way to extract a boolean rather than using - ((val & Mask) >> shiftAmount) == 1 - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - Helper function to measure and update the wait time - - The first time (in Ticks) observed when the wait started. - The orginal wait timeoutout in milliseconds. - The new wait time in milliseconds, -1 if the time expired, -2 if overflow in counters - has occurred. - - - - Gets the underlying object for this . - - The underlying event object fore this . - - Accessing this property forces initialization of an underlying event object if one hasn't - already been created. To simply wait on this , - the public Wait methods should be preferred. - - - - - Gets whether the event is set. - - true if the event has is set; otherwise, false. - - - - Gets the number of spin waits that will be occur before falling back to a true wait. - - - - - How many threads are waiting. - - - - - Provides support for spin-based waiting. - - - - encapsulates common spinning logic. On single-processor machines, yields are - always used instead of busy waits, and on computers with Intel™ processors employing Hyper-Threading™ - technology, it helps to prevent hardware thread starvation. SpinWait encapsulates a good mixture of - spinning and true yielding. - - - is a value type, which means that low-level code can utilize SpinWait without - fear of unnecessary allocation overheads. SpinWait is not generally useful for ordinary applications. - In most cases, you should use the synchronization classes provided by the .NET Framework, such as - . For most purposes where spin waiting is required, however, - the type should be preferred over the System.Threading.Thread.SpinWait method. - - - While SpinWait is designed to be used in concurrent applications, it is not designed to be - used from multiple threads concurrently. SpinWait's members are not thread-safe. If multiple - threads must spin, each should use its own instance of SpinWait. - - - - - - Performs a single spin. - - - This is typically called in a loop, and may change in behavior based on the number of times a - has been called thus far on this instance. - - - - - Resets the spin counter. - - - This makes and behave as though no calls - to had been issued on this instance. If a instance - is reused many times, it may be useful to reset it to avoid yielding too soon. - - - - - Spins until the specified condition is satisfied. - - A delegate to be executed over and over until it returns true. - The argument is null. - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - - A that represents the number of milliseconds to wait, - or a TimeSpan that represents -1 milliseconds to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a negative number - other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than - . - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - The number of milliseconds to wait, or (-1) to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a - negative number other than -1, which represents an infinite time-out. - - - - Gets the number of times has been called on this instance. - - - - - Gets whether the next call to will yield the processor, triggering a - forced context switch. - - Whether the next call to will yield the processor, triggering a - forced context switch. - - On a single-CPU machine, always yields the processor. On machines with - multiple CPUs, may yield after an unspecified number of calls. - - - - - A helper class to get the number of preocessors, it updates the numbers of processors every sampling interval - - - - - Gets the number of available processors - - - - - Gets whether the current machine has only a single processor. - - - - - Represents an asynchronous operation that produces a result at some time in the future. - - - The type of the result produced by this . - - - - instances may be created in a variety of ways. The most common approach is by - using the task's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs a function, the factory's StartNew - method may be used: - - // C# - var t = Task<int>.Factory.StartNew(() => GenerateResult()); - - or - - var t = Task.Factory.StartNew(() => GenerateResult()); - - ' Visual Basic - Dim t = Task<int>.Factory.StartNew(Function() GenerateResult()) - - or - - Dim t = Task.Factory.StartNew(Function() GenerateResult()) - - - - The class also provides constructors that initialize the task but that do not - schedule it for execution. For performance reasons, the StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - Start - method may then be used to schedule the task for execution at a later time. - - - All members of , except for - Dispose, are thread-safe - and may be used from multiple threads concurrently. - - - - - - Represents an asynchronous operation. - - - - instances may be created in a variety of ways. The most common approach is by - using the Task type's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs an action, the factory's StartNew - method may be used: - - // C# - var t = Task.Factory.StartNew(() => DoAction()); - - ' Visual Basic - Dim t = Task.Factory.StartNew(Function() DoAction()) - - - - The class also provides constructors that initialize the Task but that do not - schedule it for execution. For performance reasons, TaskFactory's StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - method may then be used to schedule the task for execution at a later time. - - - All members of , except for , are thread-safe - and may be used from multiple threads concurrently. - - - For operations that return values, the class - should be used. - - - For developers implementing custom debuggers, several internal and private members of Task may be - useful (these may change from release to release). The Int32 m_taskId field serves as the backing - store for the property, however accessing this field directly from a debugger may be - more efficient than accessing the same value through the property's getter method (the - s_taskIdCounter Int32 counter is used to retrieve the next available ID for a Task). Similarly, the - Int32 m_stateFlags field stores information about the current lifecycle stage of the Task, - information also accessible through the property. The m_action System.Object - field stores a reference to the Task's delegate, and the m_stateObject System.Object field stores the - async state passed to the Task by the developer. Finally, for debuggers that parse stack frames, the - InternalWait method serves a potential marker for when a Task is entering a wait operation. - - - - - - A type initializer that runs with the appropriate permissions. - - - - - Initializes a new with the specified action. - - The delegate that represents the code to execute in the Task. - The argument is null. - - - - Initializes a new with the specified action and CancellationToken. - - The delegate that represents the code to execute in the Task. - The CancellationToken - that will be assigned to the new Task. - The argument is null. - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and state. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - An internal constructor used by the factory methods on task and its descendent(s). - This variant does not capture the ExecutionContext; it is up to the caller to do that. - - An action to execute. - Optional state to pass to the action. - Parent of Task. - A CancellationToken for the task. - A task scheduler under which the task will run. - Options to control its execution. - Internal options to control its execution - - - - Common logic used by the following internal ctors: - Task() - Task(object action, object state, Task parent, TaskCreationOptions options, TaskScheduler taskScheduler) - - ASSUMES THAT m_creatingTask IS ALREADY SET. - - - Action for task to execute. - Object to which to pass to action (may be null) - Task scheduler on which to run thread (only used by continuation tasks). - A CancellationToken for the Task. - Options to customize behavior of Task. - Internal options to customize behavior of Task. - - - - Checks if we registered a CT callback during construction, and deregisters it. - This should be called when we know the registration isn't useful anymore. Specifically from Finish() if the task has completed - successfully or with an exception. - - - - - Captures the ExecutionContext so long as flow isn't suppressed. - - A stack crawl mark pointing to the frame of the caller. - - - - Internal function that will be called by a new child task to add itself to - the children list of the parent (this). - - Since a child task can only be created from the thread executing the action delegate - of this task, reentrancy is neither required nor supported. This should not be called from - anywhere other than the task construction/initialization codepaths. - - - - - Starts the , scheduling it for execution to the current TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time - will result in an exception. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Starts the , scheduling it for execution to the specified TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - The TaskScheduler with which to associate - and execute this task. - - - The argument is null. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the current TaskScheduler. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - Tasks executed with will be associated with the current TaskScheduler. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the scheduler provided. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - The parameter - is null. - The scheduler on which to attempt to run this task inline. - - - - Throws an exception if the task has been disposed, and hence can no longer be accessed. - - The task has been disposed. - - - - Sets the internal completion event. - - - - - Disposes the , releasing all of its unmanaged resources. - - - Unlike most of the members of , this method is not thread-safe. - Also, may only be called on a that is in one of - the final states: RanToCompletion, - Faulted, or - Canceled. - - - The exception that is thrown if the is not in - one of the final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Disposes the , releasing all of its unmanaged resources. - - - A Boolean value that indicates whether this method is being called due to a call to . - - - Unlike most of the members of , this method is not thread-safe. - - - - - Schedules the task for execution. - - If true, TASK_STATE_STARTED bit is turned on in - an atomic fashion, making sure that TASK_STATE_CANCELED does not get set - underneath us. If false, TASK_STATE_STARTED bit is OR-ed right in. This - allows us to streamline things a bit for StartNew(), where competing cancellations - are not a problem. - - - - Adds an exception to the list of exceptions this task has thrown. - - An object representing either an Exception or a collection of Exceptions. - - - - Returns a list of exceptions by aggregating the holder's contents. Or null if - no exceptions have been thrown. - - Whether to include a TCE if cancelled. - An aggregate exception, or null if no exceptions have been caught. - - - - Throws an aggregate exception if the task contains exceptions. - - - - - Checks whether this is an attached task, and whether we are being called by the parent task. - And sets the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag based on that. - - This is meant to be used internally when throwing an exception, and when WaitAll is gathering - exceptions for tasks it waited on. If this flag gets set, the implicit wait on children - will skip exceptions to prevent duplication. - - This should only be called when this task has completed with an exception - - - - - - Signals completion of this particular task. - - The bUserDelegateExecuted parameter indicates whether this Finish() call comes following the - full execution of the user delegate. - - If bUserDelegateExecuted is false, it mean user delegate wasn't invoked at all (either due to - a cancellation request, or because this task is a promise style Task). In this case, the steps - involving child tasks (i.e. WaitForChildren) will be skipped. - - - - - - FinishStageTwo is to be executed as soon as we known there are no more children to complete. - It can happen i) either on the thread that originally executed this task (if no children were spawned, or they all completed by the time this task's delegate quit) - ii) or on the thread that executed the last child. - - - - - Final stage of the task completion code path. Notifies the parent (if any) that another of its childre are done, and runs continuations. - This function is only separated out from FinishStageTwo because these two operations are also needed to be called from CancellationCleanupLogic() - - - - - This is called by children of this task when they are completed. - - - - - This is to be called just before the task does its final state transition. - It traverses the list of exceptional children, and appends their aggregate exceptions into this one's exception list - - - - - Special purpose Finish() entry point to be used when the task delegate throws a ThreadAbortedException - This makes a note in the state flags so that we avoid any costly synchronous operations in the finish codepath - such as inlined continuations - - - Indicates whether the ThreadAbortException was added to this task's exception holder. - This should always be true except for the case of non-root self replicating task copies. - - Whether the delegate was executed. - - - - Executes the task. This method will only be called once, and handles bookeeping associated with - self-replicating tasks, in addition to performing necessary exception marshaling. - - The task has already been disposed. - - - - IThreadPoolWorkItem override, which is the entry function for this task when the TP scheduler decides to run it. - - - - - - Outermost entry function to execute this task. Handles all aspects of executing a task on the caller thread. - Currently this is called by IThreadPoolWorkItem.ExecuteWorkItem(), and TaskManager.TryExecuteInline. - - - Performs atomic updates to prevent double execution. Should only be set to true - in codepaths servicing user provided TaskSchedulers. The ConcRT or ThreadPool schedulers don't need this. - - - - The actual code which invokes the body of the task. This can be overriden in derived types. - - - - - Alternate InnerInvoke prototype to be called from ExecuteSelfReplicating() so that - the Parallel Debugger can discover the actual task being invoked. - Details: Here, InnerInvoke is actually being called on the rootTask object while we are actually executing the - childTask. And the debugger needs to discover the childTask, so we pass that down as an argument. - The NoOptimization and NoInlining flags ensure that the childTask pointer is retained, and that this - function appears on the callstack. - - - - - - Performs whatever handling is necessary for an unhandled exception. Normally - this just entails adding the exception to the holder object. - - The exception that went unhandled. - - - - Waits for the to complete execution. - - - The was canceled -or- an exception was thrown during - the execution of the . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A to observe while waiting for the task to complete. - - - The was canceled. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - true if the completed execution within the allotted time; otherwise, - false. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the task to complete. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - The core wait function, which is only accesible internally. It's meant to be used in places in TPL code where - the current context is known or cached. - - - - - Cancels the . - - Indiactes whether we should only cancel non-invoked tasks. - For the default scheduler this option will only be serviced through TryDequeue. - For custom schedulers we also attempt an atomic state transition. - true if the task was successfully canceled; otherwise, false. - The - has been disposed. - - - - Sets the task's cancellation acknowledged flag. - - - - - Runs all of the continuations, as appropriate. - - - - - Helper function to determine whether the current task is in the state desired by the - continuation kind under evaluation. Three possibilities exist: the task failed with - an unhandled exception (OnFailed), the task was canceled before running (OnAborted), - or the task completed successfully (OnCompletedSuccessfully). Note that the last - one includes completing due to cancellation. - - The continuation options under evaluation. - True if the continuation should be run given the task's current state. - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - The that will be assigned to the new continuation task. - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Converts TaskContinuationOptions to TaskCreationOptions, and also does - some validity checking along the way. - - Incoming TaskContinuationOptions - Outgoing TaskCreationOptions - Outgoing InternalTaskOptions - - - - Registers the continuation and possibly runs it (if the task is already finished). - - The continuation task itself. - TaskScheduler with which to associate continuation task. - Restrictions on when the continuation becomes active. - - - - Waits for all of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The was canceled. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Waits for a set of handles in a STA-aware way. In other words, it will wait for each - of the events individually if we're on a STA thread, because MsgWaitForMultipleObjectsEx - can't do a true wait-all due to its hidden message queue event. This is not atomic, - of course, but we only wait on one-way (MRE) events anyway so this is OK. - - An array of wait handles to wait on. - The timeout to use during waits. - The cancellationToken that enables a wait to be canceled. - True if all waits succeeded, false if a timeout occurred. - - - - Internal WaitAll implementation which is meant to be used with small number of tasks, - optimized for Parallel.Invoke and other structured primitives. - - - - - This internal function is only meant to be called by WaitAll() - If the completed task is canceled or it has other exceptions, here we will add those - into the passed in exception list (which will be lazily initialized here). - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - The index of the completed task in the array argument. - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - The was canceled. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Gets a unique ID for this Task instance. - - - Task IDs are assigned on-demand and do not necessarily represent the order in the which Task - instances were created. - - - - - Returns the unique ID of the currently executing Task. - - - - - Gets the Task instance currently executing, or - null if none exists. - - - - - Gets the Exception that caused the Task to end prematurely. If the Task completed successfully or has not yet thrown any - exceptions, this will return null. - - - Tasks that throw unhandled exceptions store the resulting exception and propagate it wrapped in a - in calls to Wait - or in accesses to the property. Any exceptions not observed by the time - the Task instance is garbage collected will be propagated on the finalizer thread. - - - The Task - has been disposed. - - - - - Gets the TaskStatus of this Task. - - - - - Gets whether this Task instance has completed - execution due to being canceled. - - - A Task will complete in Canceled state either if its CancellationToken - was marked for cancellation before the task started executing, or if the task acknowledged the cancellation request on - its already signaled CancellationToken by throwing an - OperationCanceledException2 that bears the same - CancellationToken. - - - - - Returns true if this task has a cancellation token and it was signaled. - To be used internally in execute entry codepaths. - - - - - This internal property provides access to the CancellationToken that was set on the task - when it was constructed. - - - - - Gets whether this threw an OperationCanceledException2 while its CancellationToken was signaled. - - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Checks whether this task has been disposed. - - - - - Gets the TaskCreationOptions used - to create this task. - - - - - Gets a that can be used to wait for the task to - complete. - - - Using the wait functionality provided by - should be preferred over using for similar - functionality. - - - The has been disposed. - - - - - Gets the state object supplied when the Task was created, - or null if none was supplied. - - - - - Gets an indication of whether the asynchronous operation completed synchronously. - - true if the asynchronous operation completed synchronously; otherwise, false. - - - - Provides access to the TaskScheduler responsible for executing this Task. - - - - - Provides access to factory methods for creating and instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on TaskFactory. - - - - - Provides an event that can be used to wait for completion. - Only called by Wait*(), which means that we really do need to instantiate a completion event. - - - - - Determines whether this is the root task of a self replicating group. - - - - - Determines whether the task is a replica itself. - - - - - The property formerly known as IsFaulted. - - - - - Gets whether the completed due to an unhandled exception. - - - If is true, the Task's will be equal to - TaskStatus.Faulted, and its - property will be non-null. - - - - - Checks whether the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag is set, - This will only be used by the implicit wait to prevent double throws - - - - - - Checks whether the body was ever invoked. Used by task scheduler code to verify custom schedulers actually ran the task. - - - - - A structure to hold continuation information. - - - - - Constructs a new continuation structure. - - The task to be activated. - The continuation options. - The scheduler to use for the continuation. - - - - Invokes the continuation for the target completion task. - - The completed task. - Whether the continuation can be inlined. - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The argument is null. - - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The to be assigned to this task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and state. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Creates a new future object. - - The parent task for this future. - A function that yields the future value. - The task scheduler which will be used to execute the future. - The CancellationToken for the task. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Creates a new future object. - - The parent task for this future. - An object containing data to be used by the action; may be null. - A function that yields the future value. - The CancellationToken for the task. - The task scheduler which will be used to execute the future. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Evaluates the value selector of the Task which is passed in as an object and stores the result. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new task. - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . This task's completion state will be transferred to the task returned - from the ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be passed as - an argument this completed task. - - The that will be assigned to the new task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . - This task's completion state will be transferred to the task returned from the - ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Gets the result value of this . - - - The get accessor for this property ensures that the asynchronous operation is complete before - returning. Once the result of the computation is available, it is stored and will be returned - immediately on later calls to . - - - - - Provides access to factory methods for creating instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on the factory type. - - - - - Provides support for creating and scheduling - Task{TResult} objects. - - The type of the results that are available though - the Task{TResult} objects that are associated with - the methods in this class. - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task{TResult}.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the default configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory{TResult}. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory{TResult}. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The that will be assigned to the new task. - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory{TResult}. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory{TResult}. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory{TResult}. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents the current stage in the lifecycle of a . - - - - - The task has been initialized but has not yet been scheduled. - - - - - The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure. - - - - - The task has been scheduled for execution but has not yet begun executing. - - - - - The task is running but has not yet completed. - - - - - The task has finished executing and is implicitly waiting for - attached child tasks to complete. - - - - - The task completed execution successfully. - - - - - The task acknowledged cancellation by throwing an OperationCanceledException2 with its own CancellationToken - while the token was in signaled state, or the task's CancellationToken was already signaled before the - task started executing. - - - - - The task completed due to an unhandled exception. - - - - - Specifies flags that control optional behavior for the creation and execution of tasks. - - - - - Specifies that the default behavior should be used. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides a hint to the - TaskScheduler that oversubscription may be - warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Task creation flags which are only used internally. - - - - Specifies "No internal task options" - - - Used to filter out internal vs. public task creation options. - - - Specifies that the task will be queued by the runtime before handing it over to the user. - This flag will be used to skip the cancellationtoken registration step, which is only meant for unstarted tasks. - - - - Specifies flags that control optional behavior for the creation and execution of continuation tasks. - - - - - Default = "Continue on any, no task options, run asynchronously" - Specifies that the default behavior should be used. Continuations, by default, will - be scheduled when the antecedent task completes, regardless of the task's final TaskStatus. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides - a hint to the TaskScheduler that - oversubscription may be warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Specifies that the continuation task should not be scheduled if its antecedent ran to completion. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled - exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent was canceled. This - option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent ran to - completion. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent threw an - unhandled exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent was canceled. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be executed synchronously. With this option - specified, the continuation will be run on the same thread that causes the antecedent task to - transition into its final state. If the antecedent is already complete when the continuation is - created, the continuation will run on the thread creating the continuation. Only very - short-running continuations should be executed synchronously. - - - - - Represents an exception used to communicate task cancellation. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the - class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the - class with a specified error message and a reference to the inner exception that is the cause of - this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - - Initializes a new instance of the class - with a reference to the that has been canceled. - - A task that has been canceled. - - - - Gets the task associated with this exception. - - - It is permissible for no Task to be associated with a - , in which case - this property will return null. - - - - - Represents the producer side of a unbound to a - delegate, providing access to the consumer side through the property. - - - - It is often the case that a is desired to - represent another asynchronous operation. - TaskCompletionSource is provided for this purpose. It enables - the creation of a task that can be handed out to consumers, and those consumers can use the members - of the task as they would any other. However, unlike most tasks, the state of a task created by a - TaskCompletionSource is controlled explicitly by the methods on TaskCompletionSource. This enables the - completion of the external asynchronous operation to be propagated to the underlying Task. The - separation also ensures that consumers are not able to transition the state without access to the - corresponding TaskCompletionSource. - - - All members of are thread-safe - and may be used from multiple threads concurrently. - - - The type of the result value assocatied with this . - - - - Creates a . - - - - - Creates a - with the specified options. - - - The created - by this instance and accessible through its property - will be instantiated using the specified . - - The options to use when creating the underlying - . - - The represent options invalid for use - with a . - - - - - Creates a - with the specified state. - - The state to use as the underlying - 's AsyncState. - - - - Creates a with - the specified state and options. - - The options to use when creating the underlying - . - The state to use as the underlying - 's AsyncState. - - The represent options invalid for use - with a . - - - - - Attempts to transition the underlying - into the - Faulted - state. - - The exception to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - The was disposed. - - - - Attempts to transition the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - There are one or more null elements in . - The collection is empty. - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The exception to bind to this . - The argument is null. - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - The argument is null. - There are one or more null elements in . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Canceled - state. - - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - Canceled - state. - - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Gets the created - by this . - - - This property enables a consumer access to the that is controlled by this instance. - The , , - , and - methods (and their "Try" variants) on this instance all result in the relevant state - transitions on this underlying Task. - - - - - An exception holder manages a list of exceptions for one particular task. - It offers the ability to aggregate, but more importantly, also offers intrinsic - support for propagating unhandled exceptions that are never observed. It does - this by aggregating and throwing if the holder is ever GC'd without the holder's - contents ever having been requested (e.g. by a Task.Wait, Task.get_Exception, etc). - - - - - Creates a new holder; it will be registered for finalization. - - The task this holder belongs to. - - - - A finalizer that repropagates unhandled exceptions. - - - - - Add an exception to the internal list. This will ensure the holder is - in the proper state (handled/unhandled) depending on the list's contents. - - An exception object (either an Exception or an - IEnumerable{Exception}) to add to the list. - - - - A private helper method that ensures the holder is considered - unhandled, i.e. it is registered for finalization. - - - - - A private helper method that ensures the holder is considered - handled, i.e. it is not registered for finalization. - - Whether this is called from the finalizer thread. - - - - Allocates a new aggregate exception and adds the contents of the list to - it. By calling this method, the holder assumes exceptions to have been - "observed", such that the finalization check will be subsequently skipped. - - Whether this is being called from a finalizer. - An extra exception to be included (optionally). - The aggregate exception to throw. - - - - Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of - instances. - - - - - Creates a proxy Task that represents the - asynchronous operation of a Task{Task}. - - - It is often useful to be able to return a Task from a - Task{TResult}, where the inner Task represents work done as part of the outer Task{TResult}. However, - doing so results in a Task{Task}, which, if not dealt with carefully, could produce unexpected behavior. Unwrap - solves this problem by creating a proxy Task that represents the entire asynchronous operation of such a Task{Task}. - - The Task{Task} to unwrap. - The exception that is thrown if the - argument is null. - A Task that represents the asynchronous operation of the provided Task{Task}. - - - - Creates a proxy Task{TResult} that represents the - asynchronous operation of a Task{Task{TResult}}. - - - It is often useful to be able to return a Task{TResult} from a Task{TResult}, where the inner Task{TResult} - represents work done as part of the outer Task{TResult}. However, doing so results in a Task{Task{TResult}}, - which, if not dealt with carefully, could produce unexpected behavior. Unwrap solves this problem by - creating a proxy Task{TResult} that represents the entire asynchronous operation of such a Task{Task{TResult}}. - - The Task{Task{TResult}} to unwrap. - The exception that is thrown if the - argument is null. - A Task{TResult} that represents the asynchronous operation of the provided Task{Task{TResult}}. /// Unwraps a Task that returns another Task. - - - - Provides support for creating and scheduling - Tasks. - - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new task. - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Check validity of options passed to FromAsync method - - The options to be validated. - determines type of FromAsync method that called this method - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents an abstract scheduler for tasks. - - - - TaskScheduler acts as the extension point for all - pluggable scheduling logic. This includes mechanisms such as how to schedule a task for execution, and - how scheduled tasks should be exposed to debuggers. - - - All members of the abstract type are thread-safe - and may be used from multiple threads concurrently. - - - - - - Queues a Task to the scheduler. - - - - A class derived from TaskScheduler - implements this method to accept tasks being scheduled on the scheduler. - A typical implementation would store the task in an internal data structure, which would - be serviced by threads that would execute those tasks at some time in the future. - - - This method is only meant to be called by the .NET Framework and - should not be called directly by the derived class. This is necessary - for maintaining the consistency of the system. - - - The Task to be queued. - The argument is null. - - - - Determines whether the provided Task - can be executed synchronously in this call, and if it can, executes it. - - - - A class derived from TaskScheduler implements this function to - support inline execution of a task on a thread that initiates a wait on that task object. Inline - execution is optional, and the request may be rejected by returning false. However, better - scalability typically results the more tasks that can be inlined, and in fact a scheduler that - inlines too little may be prone to deadlocks. A proper implementation should ensure that a - request executing under the policies guaranteed by the scheduler can successfully inline. For - example, if a scheduler uses a dedicated thread to execute tasks, any inlining requests from that - thread should succeed. - - - If a scheduler decides to perform the inline execution, it should do so by calling to the base - TaskScheduler's - TryExecuteTask method with the provided task object, propagating - the return value. It may also be appropriate for the scheduler to remove an inlined task from its - internal data structures if it decides to honor the inlining request. Note, however, that under - some circumstances a scheduler may be asked to inline a task that was not previously provided to - it with the method. - - - The derived scheduler is responsible for making sure that the calling thread is suitable for - executing the given task as far as its own scheduling and execution policies are concerned. - - - The Task to be - executed. - A Boolean denoting whether or not task has previously been - queued. If this parameter is True, then the task may have been previously queued (scheduled); if - False, then the task is known not to have been queued, and this call is being made in order to - execute the task inline without queueing it. - A Boolean value indicating whether the task was executed inline. - The argument is - null. - The was already - executed. - - - - Generates an enumerable of Task instances - currently queued to the scheduler waiting to be executed. - - - - A class derived from implements this method in order to support - integration with debuggers. This method will only be invoked by the .NET Framework when the - debugger requests access to the data. The enumerable returned will be traversed by debugging - utilities to access the tasks currently queued to this scheduler, enabling the debugger to - provide a representation of this information in the user interface. - - - It is important to note that, when this method is called, all other threads in the process will - be frozen. Therefore, it's important to avoid synchronization with other threads that may lead to - blocking. If synchronization is necessary, the method should prefer to throw a - than to block, which could cause a debugger to experience delays. Additionally, this method and - the enumerable returned must not modify any globally visible state. - - - The returned enumerable should never be null. If there are currently no queued tasks, an empty - enumerable should be returned instead. - - - For developers implementing a custom debugger, this method shouldn't be called directly, but - rather this functionality should be accessed through the internal wrapper method - GetScheduledTasksForDebugger: - internal Task[] GetScheduledTasksForDebugger(). This method returns an array of tasks, - rather than an enumerable. In order to retrieve a list of active schedulers, a debugger may use - another internal method: internal static TaskScheduler[] GetTaskSchedulersForDebugger(). - This static method returns an array of all active TaskScheduler instances. - GetScheduledTasksForDebugger then may be used on each of these scheduler instances to retrieve - the list of scheduled tasks for each. - - - An enumerable that allows traversal of tasks currently queued to this scheduler. - - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Retrieves some thread static state that can be cached and passed to multiple - TryRunInline calls, avoiding superflous TLS fetches. - - A bag of TLS state (or null if none exists). - - - - Attempts to execute the target task synchronously. - - The task to run. - True if the task may have been previously queued, - false if the task was absolutely not previously queued. - The state retrieved from GetThreadStatics - True if it ran, false otherwise. - - - - Attempts to dequeue a Task that was previously queued to - this scheduler. - - The Task to be dequeued. - A Boolean denoting whether the argument was successfully dequeued. - The argument is null. - - - - Notifies the scheduler that a work item has made progress. - - - - - Initializes the . - - - - - Frees all resources associated with this scheduler. - - - - - Creates a - associated with the current . - - - All Task instances queued to - the returned scheduler will be executed through a call to the - Post method - on that context. - - - A associated with - the current SynchronizationContext, as - determined by SynchronizationContext.Current. - - - The current SynchronizationContext may not be used as a TaskScheduler. - - - - - Attempts to execute the provided Task - on this scheduler. - - - - Scheduler implementations are provided with Task - instances to be executed through either the method or the - method. When the scheduler deems it appropriate to run the - provided task, should be used to do so. TryExecuteTask handles all - aspects of executing a task, including action invocation, exception handling, state management, - and lifecycle control. - - - must only be used for tasks provided to this scheduler by the .NET - Framework infrastructure. It should not be used to execute arbitrary tasks obtained through - custom mechanisms. - - - - A Task object to be executed. - - The is not associated with this scheduler. - - A Boolean that is true if was successfully executed, false if it - was not. A common reason for execution failure is that the task had previously been executed or - is in the process of being executed by another thread. - - - - Provides an array of all queued Task instances - for the debugger. - - - The returned array is populated through a call to . - Note that this function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of Task instances. - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Provides an array of all active TaskScheduler - instances for the debugger. - - - This function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of TaskScheduler instances. - - - - Registers a new TaskScheduler instance in the global collection of schedulers. - - - - - Removes a TaskScheduler instance from the global collection of schedulers. - - - - - Indicates the maximum concurrency level this - is able to support. - - - - - Indicates whether this is a custom scheduler, in which case the safe code paths will be taken upon task entry - using a CAS to transition from queued state to executing. - - - - - Gets the default TaskScheduler instance. - - - - - Gets the TaskScheduler - associated with the currently executing task. - - - When not called from within a task, will return the scheduler. - - - - - Gets the unique ID for this . - - - - - Occurs when a faulted 's unobserved exception is about to trigger exception escalation - policy, which, by default, would terminate the process. - - - This AppDomain-wide event provides a mechanism to prevent exception - escalation policy (which, by default, terminates the process) from triggering. - Each handler is passed a - instance, which may be used to examine the exception and to mark it as observed. - - - - - Nested class that provides debugger view for TaskScheduler - - - - Default thread pool scheduler. - - - - A TaskScheduler implementation that executes all tasks queued to it through a call to - on the - that its associated with. The default constructor for this class binds to the current - - - - - Constructs a SynchronizationContextTaskScheduler associated with - - This constructor expects to be set. - - - - Implemetation of for this scheduler class. - - Simply posts the tasks to be executed on the associated . - - - - - - Implementation of for this scheduler class. - - The task will be executed inline only if the call happens within - the associated . - - - - - - - Implementes the property for - this scheduler class. - - By default it returns 1, because a based - scheduler only supports execution on a single thread. - - - - - Provides data for the event that is raised when a faulted 's - exception goes unobserved. - - - The Exception property is used to examine the exception without marking it - as observed, whereas the method is used to mark the exception - as observed. Marking the exception as observed prevents it from triggering exception escalation policy - which, by default, terminates the process. - - - - - Initializes a new instance of the class - with the unobserved exception. - - The Exception that has gone unobserved. - - - - Marks the as "observed," thus preventing it - from triggering exception escalation policy which, by default, terminates the process. - - - - - Gets whether this exception has been marked as "observed." - - - - - The Exception that went unobserved. - - - - - Represents an exception used to communicate an invalid operation by a - . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the - class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the - class using the default error message and a reference to the inner exception that is the cause of - this exception. - - The exception that is the cause of the current exception. - - - - Initializes a new instance of the - class with a specified error message and a reference to the inner exception that is the cause of - this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.dll deleted file mode 100644 index 23d6d1a..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.xml deleted file mode 100644 index 6c77012..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.xml +++ /dev/null @@ -1,8969 +0,0 @@ - - - - System.Threading.Tasks - - - - Represents one or more errors that occur during application execution. - - is used to consolidate multiple failures into a single, throwable - exception object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a specified error - message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - The argument - is null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Allocates a new aggregate exception with the specified message and list of inner exceptions. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Returns the that is the root cause of this exception. - - - - - Invokes a handler on each contained by this . - - The predicate to execute for each exception. The predicate accepts as an - argument the to be processed and returns a Boolean to indicate - whether the exception was handled. - - Each invocation of the returns true or false to indicate whether the - was handled. After all invocations, if any exceptions went - unhandled, all unhandled exceptions will be put into a new - which will be thrown. Otherwise, the method simply returns. If any - invocations of the throws an exception, it will halt the processing - of any more exceptions and immediately propagate the thrown exception as-is. - - An exception contained by this was not handled. - The argument is - null. - - - - Flattens an instances into a single, new instance. - - A new, flattened . - - If any inner exceptions are themselves instances of - , this method will recursively flatten all of them. The - inner exceptions returned in the new - will be the union of all of the the inner exceptions from exception tree rooted at the provided - instance. - - - - - Creates and returns a string representation of the current . - - A string representation of the current exception. - - - - Gets a read-only collection of the instances that caused the - current exception. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to One or more errors occurred.. - - - - - Looks up a localized string similar to An element of innerExceptions was null.. - - - - - Looks up a localized string similar to {0}{1}---> (Inner Exception #{2}) {3}{4}{5}. - - - - - Looks up a localized string similar to No tokens were supplied.. - - - - - Looks up a localized string similar to The CancellationTokenSource associated with this CancellationToken has been disposed.. - - - - - Looks up a localized string similar to The CancellationTokenSource has been disposed.. - - - - - Looks up a localized string similar to The SyncRoot property may not be used for the synchronization of concurrent collections.. - - - - - Looks up a localized string similar to The array is multidimensional, or the type parameter for the set cannot be cast automatically to the type of the destination array.. - - - - - Looks up a localized string similar to The index is equal to or greater than the length of the array, or the number of elements in the dictionary is greater than the available space from index to the end of the destination array.. - - - - - Looks up a localized string similar to The capacity argument must be greater than or equal to zero.. - - - - - Looks up a localized string similar to The concurrencyLevel argument must be positive.. - - - - - Looks up a localized string similar to The index argument is less than zero.. - - - - - Looks up a localized string similar to TKey is a reference type and item.Key is null.. - - - - - Looks up a localized string similar to The key already existed in the dictionary.. - - - - - Looks up a localized string similar to The source argument contains duplicate keys.. - - - - - Looks up a localized string similar to The key was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The value was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The lazily-initialized type does not have a public, parameterless constructor.. - - - - - Looks up a localized string similar to ValueFactory returned null.. - - - - - Looks up a localized string similar to The spinCount argument must be in the range 0 to {0}, inclusive.. - - - - - Looks up a localized string similar to There are too many threads currently waiting on the event. A maximum of {0} waiting threads are supported.. - - - - - Looks up a localized string similar to The event has been disposed.. - - - - - Looks up a localized string similar to The operation was canceled.. - - - - - Looks up a localized string similar to The condition argument is null.. - - - - - Looks up a localized string similar to The timeout must represent a value between -1 and Int32.MaxValue, inclusive.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions combined LongRunning and ExecuteSynchronously. Synchronous continuations should not be long running.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions excluded all continuation kinds.. - - - - - Looks up a localized string similar to (Internal)An attempt was made to create a LongRunning SelfReplicating task.. - - - - - Looks up a localized string similar to The value needs to translate in milliseconds to -1 (signifying an infinite timeout), 0 or a positive integer less than or equal to Int32.MaxValue.. - - - - - Looks up a localized string similar to The value needs to be either -1 (signifying an infinite timeout), 0 or a positive integer.. - - - - - Looks up a localized string similar to A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.LongRunning in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.PreferFairness in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating in calls to FromAsync.. - - - - - Looks up a localized string similar to FromAsync was called with a TaskManager that had already shut down.. - - - - - Looks up a localized string similar to The tasks argument contains no tasks.. - - - - - Looks up a localized string similar to It is invalid to exclude specific continuation kinds for continuations off of multiple tasks.. - - - - - Looks up a localized string similar to The tasks argument included a null value.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that was already started.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a continuation task.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that has already completed.. - - - - - Looks up a localized string similar to Start may not be called on a task that was already started.. - - - - - Looks up a localized string similar to Start may not be called on a continuation task.. - - - - - Looks up a localized string similar to Start may not be called on a task with null action.. - - - - - Looks up a localized string similar to Start may not be called on a promise-style task.. - - - - - Looks up a localized string similar to Start may not be called on a task that has completed.. - - - - - Looks up a localized string similar to The task has been disposed.. - - - - - Looks up a localized string similar to The tasks array included at least one null element.. - - - - - Looks up a localized string similar to The awaited task has not yet completed.. - - - - - Looks up a localized string similar to A task was canceled.. - - - - - Looks up a localized string similar to The exceptions collection was empty.. - - - - - Looks up a localized string similar to The exceptions collection included at least one null element.. - - - - - Looks up a localized string similar to A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.. - - - - - Looks up a localized string similar to (Internal)Expected an Exception or an IEnumerable<Exception>. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was already executed.. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was previously queued to a different TaskScheduler.. - - - - - Looks up a localized string similar to The current SynchronizationContext may not be used as a TaskScheduler.. - - - - - Looks up a localized string similar to The TryExecuteTaskInline call to the underlying scheduler succeeded, but the task body was not invoked.. - - - - - Looks up a localized string similar to An exception was thrown by a TaskScheduler.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating for a Task<TResult>.. - - - - - Looks up a localized string similar to {Not yet computed}. - - - - - Looks up a localized string similar to A task's Exception may only be set directly if the task was created without a function.. - - - - - Looks up a localized string similar to An attempt was made to transition a task to a final state when it had already completed.. - - - - - Represents a thread-safe collection of keys and values. - - The type of the keys in the dictionary. - The type of the values in the dictionary. - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads. - - - - - Initializes a new instance of the - class that is empty, has the default concurrency level, has the default initial capacity, and - uses the default comparer for the key type. - - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the default - comparer for the key type. - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - is - less than 1. - is less than - 0. - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency - level, has the default initial capacity, and uses the default comparer for the key type. - - The whose elements are copied to - the new - . - is a null reference - (Nothing in Visual Basic). - contains one or more - duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the specified - . - - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency level, has the default - initial capacity, and uses the specified - . - - The whose elements are copied to - the new - . - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). -or- - is a null reference (Nothing in Visual Basic). - - - - - Initializes a new instance of the - class that contains elements copied from the specified , - has the specified concurrency level, has the specified initial capacity, and uses the specified - . - - The estimated number of threads that will update the - concurrently. - The whose elements are copied to the new - . - The implementation to use - when comparing keys. - - is a null reference (Nothing in Visual Basic). - -or- - is a null reference (Nothing in Visual Basic). - - - is less than 1. - - contains one or more duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level, has the specified initial capacity, and - uses the specified . - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - The - implementation to use when comparing keys. - - is less than 1. -or- - is less than 0. - - is a null reference - (Nothing in Visual Basic). - - - - Attempts to add the specified key and value to the . - - The key of the element to add. - The value of the element to add. The value can be a null reference (Nothing - in Visual Basic) for reference types. - true if the key/value pair was added to the - successfully; otherwise, false. - is null reference - (Nothing in Visual Basic). - The - contains too many elements. - - - - Determines whether the contains the specified - key. - - The key to locate in the . - true if the contains an element with - the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Attempts to remove and return the the value with the specified key from the - . - - The key of the element to remove and return. - When this method returns, contains the object removed from the - or the default value of - if the operation failed. - true if an object was removed successfully; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Removes the specified key from the dictionary if it exists and returns its associated value. - If matchValue flag is set, the key will be removed only if is associated with a particular - value. - - The key to search for and remove if it exists. - The variable into which the removed value, if found, is stored. - Whether removal of the key is conditional on its value. - The conditional value to compare against if is true - - - - - Attempts to get the value associated with the specified key from the . - - The key of the value to get. - When this method returns, contains the object from - the - with the spedified key or the default value of - , if the operation failed. - true if the key was found in the ; - otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Compares the existing value for the specified key with a specified value, and if they’re equal, - updates the key with a third value. - - The key whose value is compared with and - possibly replaced. - The value that replaces the value of the element with if the comparison results in equality. - The value that is compared to the value of the element with - . - true if the value with was equal to and replaced with ; otherwise, - false. - is a null - reference. - - - - Removes all keys and values from the . - - - - - Copies the elements of the to an array of - type , starting at the - specified array index. - - The one-dimensional array of type - that is the destination of the elements copied from the . The array must have zero-based indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Copies the key and value pairs stored in the to a - new array. - - A new array containing a snapshot of key and value pairs copied from the . - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToPairs. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToEntries. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToObjects. - - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Shared internal implementation for inserts and updates. - If key exists, we always return false; and if updateIfExists == true we force update with value; - If key doesn't exist, we always add value and return true; - - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - The function used to generate a value for the key - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value for the key as returned by valueFactory - if the key was not in the dictionary. - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - the value to be added, if the key does not already exist - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value if the key was not in the dictionary. - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The function used to generate a value for an absent key - The function used to generate a new value for an existing key - based on the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The value to be added for an absent key - The function used to generate a new value for an existing key based on - the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds the specified key and value to the . - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - An element with the same key already exists in the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - true if the element is successfully remove; otherwise false. This method also returns - false if - was not found in the original . - - is a null reference - (Nothing in Visual Basic). - - - - Adds the specified value to the - with the specified key. - - The - structure representing the key and value to add to the . - The of is null. - The - contains too many elements. - An element with the same key already exists in the - - - - - Determines whether the - contains a specific key and value. - - The - structure to locate in the . - true if the is found in the ; otherwise, false. - - - - Removes a key and value from the dictionary. - - The - structure representing the key and value to remove from the . - true if the key and value represented by is successfully - found and removed; otherwise, false. - The Key property of is a null reference (Nothing in Visual Basic). - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Adds the specified key and value to the dictionary. - - The object to use as the key. - The object to use as the value. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - is of a type that is not assignable to the key type of the . -or- - is of a type that is not assignable to , - the type of values in the . - -or- A value with the same key already exists in the . - - - - - Gets whether the contains an - element with the specified key. - - The key to locate in the . - true if the contains - an element with the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - Provides an for the - . - An for the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - is a null reference - (Nothing in Visual Basic). - - - - Copies the elements of the to an array, starting - at the specified array index. - - The one-dimensional array that is the destination of the elements copied from - the . The array must have zero-based - indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Replaces the internal table with a larger one. To prevent multiple threads from resizing the - table as a result of races, the table of buckets that was deemed too small is passed in as - an argument to GrowTable(). GrowTable() obtains a lock, and then checks whether the bucket - table has been replaced in the meantime or not. - - Reference to the bucket table that was deemed too small. - - - - Computes the bucket and lock number for a particular key. - - - - - Acquires all locks for this hash table, and increments locksAcquired by the number - of locks that were successfully acquired. The locks are acquired in an increasing - order. - - - - - Acquires a contiguous range of locks for this hash table, and increments locksAcquired - by the number of locks that were successfully acquired. The locks are acquired in an - increasing order. - - - - - Releases a contiguous range of locks. - - - - - Gets a collection containing the keys in the dictionary. - - - - - Gets a collection containing the values in the dictionary. - - - - - A helper method for asserts. - - - - - Get the data array to be serialized - - - - - Construct the dictionary from a previously seiralized one - - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key. If the specified key is not found, a get - operation throws a - , and a set operation creates a new - element with the specified key. - is a null reference - (Nothing in Visual Basic). - The property is retrieved and - - does not exist in the collection. - - - - Gets the number of key/value pairs contained in the . - - The dictionary contains too many - elements. - The number of key/value paris contained in the . - Count has snapshot semantics and represents the number of items in the - at the moment when Count was accessed. - - - - Gets a value that indicates whether the is empty. - - true if the is empty; otherwise, - false. - - - - Gets a collection containing the keys in the . - - An containing the keys in the - . - - - - Gets a collection containing the values in the . - - An containing the values in - the - . - - - - Gets a value indicating whether the dictionary is read-only. - - true if the is - read-only; otherwise, false. For , this property always returns - false. - - - - Gets a value indicating whether the has a fixed size. - - true if the has a - fixed size; otherwise, false. For , this property always - returns false. - - - - Gets a value indicating whether the is read-only. - - true if the is - read-only; otherwise, false. For , this property always - returns false. - - - - Gets an containing the keys of the . - - An containing the keys of the . - - - - Gets an containing the values in the . - - An containing the values in the . - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key, or a null reference (Nothing in Visual Basic) - if is not in the dictionary or is of a type that is - not assignable to the key type of the . - is a null reference - (Nothing in Visual Basic). - - A value is being assigned, and is of a type that is not assignable to the - key type of the . -or- A value is being - assigned, and is of a type that is not assignable to the value type - of the - - - - - Gets a value indicating whether access to the is - synchronized with the SyncRoot. - - true if access to the is synchronized - (thread safe); otherwise, false. For , this property always - returns false. - - - - Gets an object that can be used to synchronize access to the . This property is not supported. - - The SyncRoot property is not supported. - - - - The number of concurrent writes for which to optimize by default. - - - - - A node in a singly-linked list representing a particular hash table bucket. - - - - - A private class to represent enumeration over the dictionary that implements the - IDictionaryEnumerator interface. - - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - - An interface similar to the one added in .NET 4.0. - - - - The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. - - - Initializes the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - Initializes the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - A cancellation token associated with the operation that was canceled. - - - Gets a token associated with the operation that was canceled. - - - - A dummy replacement for the .NET internal class StackCrawlMark. - - - - - Propogates notification that operations should be canceled. - - - - A may be created directly in an unchangeable canceled or non-canceled state - using the CancellationToken's constructors. However, to have a CancellationToken that can change - from a non-canceled to a canceled state, - CancellationTokenSource must be used. - CancellationTokenSource exposes the associated CancellationToken that may be canceled by the source through its - Token property. - - - Once canceled, a token may not transition to a non-canceled state, and a token whose - is false will never change to one that can be canceled. - - - All members of this struct are thread-safe and may be used concurrently from multiple threads. - - - - - - Internal constructor only a CancellationTokenSource should create a CancellationToken - - - - - Initializes the CancellationToken. - - - The canceled state for the token. - - - Tokens created with this constructor will remain in the canceled state specified - by the parameter. If is false, - both and will be false. - If is true, - both and will be true. - - - - - Registers a delegate that will be called when this CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Determines whether the current CancellationToken instance is equal to the - specified token. - - The other CancellationToken to which to compare this - instance. - True if the instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other object to which to compare this instance. - True if is a CancellationToken - and if the two instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - An associated CancellationTokenSource has been disposed. - - - - Serves as a hash function for a CancellationToken. - - A hash code for the current CancellationToken instance. - - - - Determines whether two CancellationToken instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Determines whether two CancellationToken instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Throws a OperationCanceledException if - this token has had cancellation requested. - - - This method provides functionality equivalent to: - - if (token.IsCancellationRequested) - throw new OperationCanceledException(token); - - - The token has had cancellation requested. - The associated CancellationTokenSource has been disposed. - - - - Returns an empty CancellationToken value. - - - The value returned by this property will be non-cancelable by default. - - - - - Gets whether cancellation has been requested for this token. - - Whether cancellation has been requested for this token. - - - This property indicates whether cancellation has been requested for this token, - either through the token initially being construted in a canceled state, or through - calling Cancel - on the token's associated . - - - If this property is true, it only guarantees that cancellation has been requested. - It does not guarantee that every registered handler - has finished executing, nor that cancellation requests have finished propagating - to all registered handlers. Additional synchronization may be required, - particularly in situations where related objects are being canceled concurrently. - - - - - - Gets whether this token is capable of being in the canceled state. - - - If CanBeCanceled returns false, it is guaranteed that the token will never transition - into a canceled state, meaning that will never - return true. - - - - - Gets a that is signaled when the token is canceled. - - Accessing this property causes a WaitHandle - to be instantiated. It is preferable to only use this property when necessary, and to then - dispose the associated instance at the earliest opportunity (disposing - the source will dispose of this allocated handle). The handle should not be closed or disposed directly. - - The associated CancellationTokenSource has been disposed. - - - - Represents a callback delegate that has been registered with a CancellationToken. - - - To unregister a callback, dispose the corresponding Registration instance. - - - - - Attempts to deregister the item. If it's already being run, this may fail. - Entails a full memory fence. - - True if the callback was found and deregistered, false otherwise. - - - - Disposes of the registration and unregisters the target callback from the associated - CancellationToken. - If the target callback is currently executing this method will wait until it completes, except - in the degenerate cases where a callback method deregisters itself. - - - - - Determines whether two CancellationTokenRegistration - instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - - - - Determines whether two CancellationTokenRegistration instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - - - - Determines whether the current CancellationTokenRegistration instance is equal to the - specified . - - The other object to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other CancellationTokenRegistration to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Serves as a hash function for a CancellationTokenRegistration.. - - A hash code for the current CancellationTokenRegistration instance. - - - - Signals to a that it should be canceled. - - - - is used to instantiate a - (via the source's Token property) - that can be handed to operations that wish to be notified of cancellation or that can be used to - register asynchronous operations for cancellation. That token may have cancellation requested by - calling to the source's Cancel - method. - - - All members of this class, except Dispose, are thread-safe and may be used - concurrently from multiple threads. - - - - - The ID of the thread currently executing the main body of CTS.Cancel() - this helps us to know if a call to ctr.Dispose() is running 'within' a cancellation callback. - This is updated as we move between the main thread calling cts.Cancel() and any syncContexts that are used to - actually run the callbacks. - - - - Initializes the . - - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - However, this overload of Cancel will aggregate any exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - If is true, an exception will immediately propagate out of the - call to Cancel, preventing the remaining callbacks and cancelable operations from being processed. - If is false, this overload will aggregate any - exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - Specifies whether exceptions should immediately propagate. - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Releases the resources used by this . - - - This method is not thread-safe for any other concurrent calls. - - - - - Throws an exception if the source has been disposed. - - - - - InternalGetStaticSource() - - Whether the source should be set. - A static source to be shared among multiple tokens. - - - - Registers a callback object. If cancellation has already occurred, the - callback will have been run by the time this method returns. - - - - - - - - - - Invoke the Canceled event. - - - The handlers are invoked synchronously in LIFO order. - - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The first CancellationToken to observe. - The second CancellationToken to observe. - A CancellationTokenSource that is linked - to the source tokens. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The CancellationToken instances to observe. - A CancellationTokenSource that is linked - to the source tokens. - is null. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Gets whether cancellation has been requested for this CancellationTokenSource. - - Whether cancellation has been requested for this CancellationTokenSource. - - - This property indicates whether cancellation has been requested for this token source, such as - due to a call to its - Cancel method. - - - If this property returns true, it only guarantees that cancellation has been requested. It does not - guarantee that every handler registered with the corresponding token has finished executing, nor - that cancellation requests have finished propagating to all registered handlers. Additional - synchronization may be required, particularly in situations where related objects are being - canceled concurrently. - - - - - - A simple helper to determine whether cancellation has finished. - - - - - A simple helper to determine whether disposal has occured. - - - - - The ID of the thread that is running callbacks. - - - - - Gets the CancellationToken - associated with this . - - The CancellationToken - associated with this . - The token source has been - disposed. - - - - - - - - - - - - - - The currently executing callback - - - - - A helper class for collating the various bits of information required to execute - cancellation callbacks. - - - - - InternalExecuteCallbackSynchronously_GeneralPath - This will be called on the target synchronization context, however, we still need to restore the required execution context - - - - - A sparsely populated array. Elements can be sparse and some null, but this allows for - lock-free additions and growth, and also for constant time removal (by nulling out). - - The kind of elements contained within. - - - - Allocates a new array with the given initial size. - - How many array slots to pre-allocate. - - - - Adds an element in the first available slot, beginning the search from the tail-to-head. - If no slots are available, the array is grown. The method doesn't return until successful. - - The element to add. - Information about where the add happened, to enable O(1) deregistration. - - - - The tail of the doubly linked list. - - - - - A struct to hold a link to the exact spot in an array an element was inserted, enabling - constant time removal later on. - - - - - A fragment of a sparsely populated array, doubly linked. - - The kind of elements contained within. - - - - Provides lazy initialization routines. - - - These routines avoid needing to allocate a dedicated, lazy-initialization instance, instead using - references to ensure targets have been initialized as they are accessed. - - - - - Initializes a target reference type with the type's default constructor if the target has not - already been initialized. - - The refence type of the reference to be initialized. - A reference of type to initialize if it has not - already been initialized. - The initialized reference of type . - Type does not have a default - constructor. - - Permissions to access the constructor of type were missing. - - - - This method may only be used on reference types. To ensure initialization of value - types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initializes a target reference type using the specified function if it has not already been - initialized. - - The reference type of the reference to be initialized. - The reference of type to initialize if it has not - already been initialized. - The invoked to initialize the - reference. - The initialized reference of type . - Type does not have a - default constructor. - returned - null. - - - This method may only be used on reference types, and may - not return a null reference (Nothing in Visual Basic). To ensure initialization of value types or - to allow null reference types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initialize the target using the given delegate (slow path). - - The reference type of the reference to be initialized. - The variable that need to be initialized - The delegate that will be executed to initialize the target - The initialized variable - - - - Initializes a target reference or value type with its default constructor if it has not already - been initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The initialized value of type . - - - - Initializes a target reference or value type with a specified function if it has not already been - initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The invoked to initialize the - reference or value. - The initialized value of type . - - - - Ensure the target is initialized and return the value (slow path). This overload permits nulls - and also works for value type targets. Uses the supplied function to create the value. - - The type of target. - A reference to the target to be initialized. - A reference to a location tracking whether the target has been initialized. - A reference to a location containing a mutual exclusive lock. - - The to invoke in order to produce the lazily-initialized value. - - The initialized object. - - - - Provides a slimmed down version of . - - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads, with the exception of Dispose, which - must only be used when all other operations on the have - completed, and Reset, which should only be used when no other threads are - accessing the event. - - - - - Initializes a new instance of the - class with an initial state of nonsignaled. - - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled. - - true to set the initial state signaled; false to set the initial state - to nonsignaled. - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled and a specified - spin count. - - true to set the initial state to signaled; false to set the initial state - to nonsignaled. - The number of spin waits that will occur before falling back to a true - wait. - is less than - 0 or greater than the maximum allowed value. - - - - Initializes the internal state of the event. - - Whether the event is set initially or not. - The spin count that decides when the event will block. - - - - Helper to ensure the lock object is created before first use. - - - - - This method lazily initializes the event object. It uses CAS to guarantee that - many threads racing to call this at once don't result in more than one event - being stored and used. The event will be signaled or unsignaled depending on - the state of the thin-event itself, with synchronization taken into account. - - True if a new event was created and stored, false otherwise. - - - - Sets the state of the event to signaled, which allows one or more threads waiting on the event to - proceed. - - - - - Private helper to actually perform the Set. - - Indicates whether we are calling Set() during cancellation. - The object has been canceled. - - - - Sets the state of the event to nonsignaled, which causes threads to block. - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Blocks the current thread until the current is set. - - - The maximum number of waiters has been exceeded. - - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current receives a signal, - while observing a . - - The to - observe. - - The maximum number of waiters has been exceeded. - - was - canceled. - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval. - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval, while observing a . - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - The to - observe. - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - was canceled. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval. - - The number of milliseconds to wait, or (-1) to wait indefinitely. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval, while observing a . - - The number of milliseconds to wait, or (-1) to wait indefinitely. - The to - observe. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - was canceled. - - - - Releases all resources used by the current instance of . - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - When overridden in a derived class, releases the unmanaged resources used by the - , and optionally releases the managed resources. - - true to release both managed and unmanaged resources; - false to release only unmanaged resources. - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Throw ObjectDisposedException if the MRES is disposed - - - - - Private helper method to wake up waiters when a cancellationToken gets canceled. - - - - - Private helper method for updating parts of a bit-string state value. - Mainly called from the IsSet and Waiters properties setters - - - Note: the parameter types must be int as CompareExchange cannot take a Uint - - The new value - The mask used to set the bits - - - - Private helper method - performs Mask and shift, particular helpful to extract a field from a packed word. - eg ExtractStatePortionAndShiftRight(0x12345678, 0xFF000000, 24) => 0x12, ie extracting the top 8-bits as a simple integer - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - - - Performs a Mask operation, but does not perform the shift. - This is acceptable for boolean values for which the shift is unnecessary - eg (val & Mask) != 0 is an appropriate way to extract a boolean rather than using - ((val & Mask) >> shiftAmount) == 1 - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - Helper function to measure and update the wait time - - The first time (in Ticks) observed when the wait started. - The orginal wait timeoutout in milliseconds. - The new wait time in milliseconds, -1 if the time expired, -2 if overflow in counters - has occurred. - - - - Gets the underlying object for this . - - The underlying event object fore this . - - Accessing this property forces initialization of an underlying event object if one hasn't - already been created. To simply wait on this , - the public Wait methods should be preferred. - - - - - Gets whether the event is set. - - true if the event has is set; otherwise, false. - - - - Gets the number of spin waits that will be occur before falling back to a true wait. - - - - - How many threads are waiting. - - - - - Provides support for spin-based waiting. - - - - encapsulates common spinning logic. On single-processor machines, yields are - always used instead of busy waits, and on computers with Intel™ processors employing Hyper-Threading™ - technology, it helps to prevent hardware thread starvation. SpinWait encapsulates a good mixture of - spinning and true yielding. - - - is a value type, which means that low-level code can utilize SpinWait without - fear of unnecessary allocation overheads. SpinWait is not generally useful for ordinary applications. - In most cases, you should use the synchronization classes provided by the .NET Framework, such as - . For most purposes where spin waiting is required, however, - the type should be preferred over the System.Threading.Thread.SpinWait method. - - - While SpinWait is designed to be used in concurrent applications, it is not designed to be - used from multiple threads concurrently. SpinWait's members are not thread-safe. If multiple - threads must spin, each should use its own instance of SpinWait. - - - - - - Performs a single spin. - - - This is typically called in a loop, and may change in behavior based on the number of times a - has been called thus far on this instance. - - - - - Resets the spin counter. - - - This makes and behave as though no calls - to had been issued on this instance. If a instance - is reused many times, it may be useful to reset it to avoid yielding too soon. - - - - - Spins until the specified condition is satisfied. - - A delegate to be executed over and over until it returns true. - The argument is null. - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - - A that represents the number of milliseconds to wait, - or a TimeSpan that represents -1 milliseconds to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a negative number - other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than - . - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - The number of milliseconds to wait, or (-1) to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a - negative number other than -1, which represents an infinite time-out. - - - - Gets the number of times has been called on this instance. - - - - - Gets whether the next call to will yield the processor, triggering a - forced context switch. - - Whether the next call to will yield the processor, triggering a - forced context switch. - - On a single-CPU machine, always yields the processor. On machines with - multiple CPUs, may yield after an unspecified number of calls. - - - - - A helper class to get the number of preocessors, it updates the numbers of processors every sampling interval - - - - - Gets the number of available processors - - - - - Gets whether the current machine has only a single processor. - - - - - Represents an asynchronous operation that produces a result at some time in the future. - - - The type of the result produced by this . - - - - instances may be created in a variety of ways. The most common approach is by - using the task's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs a function, the factory's StartNew - method may be used: - - // C# - var t = Task<int>.Factory.StartNew(() => GenerateResult()); - - or - - var t = Task.Factory.StartNew(() => GenerateResult()); - - ' Visual Basic - Dim t = Task<int>.Factory.StartNew(Function() GenerateResult()) - - or - - Dim t = Task.Factory.StartNew(Function() GenerateResult()) - - - - The class also provides constructors that initialize the task but that do not - schedule it for execution. For performance reasons, the StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - Start - method may then be used to schedule the task for execution at a later time. - - - All members of , except for - Dispose, are thread-safe - and may be used from multiple threads concurrently. - - - - - - Represents an asynchronous operation. - - - - instances may be created in a variety of ways. The most common approach is by - using the Task type's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs an action, the factory's StartNew - method may be used: - - // C# - var t = Task.Factory.StartNew(() => DoAction()); - - ' Visual Basic - Dim t = Task.Factory.StartNew(Function() DoAction()) - - - - The class also provides constructors that initialize the Task but that do not - schedule it for execution. For performance reasons, TaskFactory's StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - method may then be used to schedule the task for execution at a later time. - - - All members of , except for , are thread-safe - and may be used from multiple threads concurrently. - - - For operations that return values, the class - should be used. - - - For developers implementing custom debuggers, several internal and private members of Task may be - useful (these may change from release to release). The Int32 m_taskId field serves as the backing - store for the property, however accessing this field directly from a debugger may be - more efficient than accessing the same value through the property's getter method (the - s_taskIdCounter Int32 counter is used to retrieve the next available ID for a Task). Similarly, the - Int32 m_stateFlags field stores information about the current lifecycle stage of the Task, - information also accessible through the property. The m_action System.Object - field stores a reference to the Task's delegate, and the m_stateObject System.Object field stores the - async state passed to the Task by the developer. Finally, for debuggers that parse stack frames, the - InternalWait method serves a potential marker for when a Task is entering a wait operation. - - - - - - A type initializer that runs with the appropriate permissions. - - - - - Initializes a new with the specified action. - - The delegate that represents the code to execute in the Task. - The argument is null. - - - - Initializes a new with the specified action and CancellationToken. - - The delegate that represents the code to execute in the Task. - The CancellationToken - that will be assigned to the new Task. - The argument is null. - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and state. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - An internal constructor used by the factory methods on task and its descendent(s). - This variant does not capture the ExecutionContext; it is up to the caller to do that. - - An action to execute. - Optional state to pass to the action. - Parent of Task. - A CancellationToken for the task. - A task scheduler under which the task will run. - Options to control its execution. - Internal options to control its execution - - - - Common logic used by the following internal ctors: - Task() - Task(object action, object state, Task parent, TaskCreationOptions options, TaskScheduler taskScheduler) - - ASSUMES THAT m_creatingTask IS ALREADY SET. - - - Action for task to execute. - Object to which to pass to action (may be null) - Task scheduler on which to run thread (only used by continuation tasks). - A CancellationToken for the Task. - Options to customize behavior of Task. - Internal options to customize behavior of Task. - - - - Checks if we registered a CT callback during construction, and deregisters it. - This should be called when we know the registration isn't useful anymore. Specifically from Finish() if the task has completed - successfully or with an exception. - - - - - Captures the ExecutionContext so long as flow isn't suppressed. - - A stack crawl mark pointing to the frame of the caller. - - - - Internal function that will be called by a new child task to add itself to - the children list of the parent (this). - - Since a child task can only be created from the thread executing the action delegate - of this task, reentrancy is neither required nor supported. This should not be called from - anywhere other than the task construction/initialization codepaths. - - - - - Starts the , scheduling it for execution to the current TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time - will result in an exception. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Starts the , scheduling it for execution to the specified TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - The TaskScheduler with which to associate - and execute this task. - - - The argument is null. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the current TaskScheduler. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - Tasks executed with will be associated with the current TaskScheduler. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the scheduler provided. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - The parameter - is null. - The scheduler on which to attempt to run this task inline. - - - - Throws an exception if the task has been disposed, and hence can no longer be accessed. - - The task has been disposed. - - - - Sets the internal completion event. - - - - - Disposes the , releasing all of its unmanaged resources. - - - Unlike most of the members of , this method is not thread-safe. - Also, may only be called on a that is in one of - the final states: RanToCompletion, - Faulted, or - Canceled. - - - The exception that is thrown if the is not in - one of the final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Disposes the , releasing all of its unmanaged resources. - - - A Boolean value that indicates whether this method is being called due to a call to . - - - Unlike most of the members of , this method is not thread-safe. - - - - - Schedules the task for execution. - - If true, TASK_STATE_STARTED bit is turned on in - an atomic fashion, making sure that TASK_STATE_CANCELED does not get set - underneath us. If false, TASK_STATE_STARTED bit is OR-ed right in. This - allows us to streamline things a bit for StartNew(), where competing cancellations - are not a problem. - - - - Adds an exception to the list of exceptions this task has thrown. - - An object representing either an Exception or a collection of Exceptions. - - - - Returns a list of exceptions by aggregating the holder's contents. Or null if - no exceptions have been thrown. - - Whether to include a TCE if cancelled. - An aggregate exception, or null if no exceptions have been caught. - - - - Throws an aggregate exception if the task contains exceptions. - - - - - Checks whether this is an attached task, and whether we are being called by the parent task. - And sets the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag based on that. - - This is meant to be used internally when throwing an exception, and when WaitAll is gathering - exceptions for tasks it waited on. If this flag gets set, the implicit wait on children - will skip exceptions to prevent duplication. - - This should only be called when this task has completed with an exception - - - - - - Signals completion of this particular task. - - The bUserDelegateExecuted parameter indicates whether this Finish() call comes following the - full execution of the user delegate. - - If bUserDelegateExecuted is false, it mean user delegate wasn't invoked at all (either due to - a cancellation request, or because this task is a promise style Task). In this case, the steps - involving child tasks (i.e. WaitForChildren) will be skipped. - - - - - - FinishStageTwo is to be executed as soon as we known there are no more children to complete. - It can happen i) either on the thread that originally executed this task (if no children were spawned, or they all completed by the time this task's delegate quit) - ii) or on the thread that executed the last child. - - - - - Final stage of the task completion code path. Notifies the parent (if any) that another of its childre are done, and runs continuations. - This function is only separated out from FinishStageTwo because these two operations are also needed to be called from CancellationCleanupLogic() - - - - - This is called by children of this task when they are completed. - - - - - This is to be called just before the task does its final state transition. - It traverses the list of exceptional children, and appends their aggregate exceptions into this one's exception list - - - - - Special purpose Finish() entry point to be used when the task delegate throws a ThreadAbortedException - This makes a note in the state flags so that we avoid any costly synchronous operations in the finish codepath - such as inlined continuations - - - Indicates whether the ThreadAbortException was added to this task's exception holder. - This should always be true except for the case of non-root self replicating task copies. - - Whether the delegate was executed. - - - - Executes the task. This method will only be called once, and handles bookeeping associated with - self-replicating tasks, in addition to performing necessary exception marshaling. - - The task has already been disposed. - - - - IThreadPoolWorkItem override, which is the entry function for this task when the TP scheduler decides to run it. - - - - - - Outermost entry function to execute this task. Handles all aspects of executing a task on the caller thread. - Currently this is called by IThreadPoolWorkItem.ExecuteWorkItem(), and TaskManager.TryExecuteInline. - - - Performs atomic updates to prevent double execution. Should only be set to true - in codepaths servicing user provided TaskSchedulers. The ConcRT or ThreadPool schedulers don't need this. - - - - The actual code which invokes the body of the task. This can be overriden in derived types. - - - - - Alternate InnerInvoke prototype to be called from ExecuteSelfReplicating() so that - the Parallel Debugger can discover the actual task being invoked. - Details: Here, InnerInvoke is actually being called on the rootTask object while we are actually executing the - childTask. And the debugger needs to discover the childTask, so we pass that down as an argument. - The NoOptimization and NoInlining flags ensure that the childTask pointer is retained, and that this - function appears on the callstack. - - - - - - Performs whatever handling is necessary for an unhandled exception. Normally - this just entails adding the exception to the holder object. - - The exception that went unhandled. - - - - Waits for the to complete execution. - - - The was canceled -or- an exception was thrown during - the execution of the . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A to observe while waiting for the task to complete. - - - The was canceled. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - true if the completed execution within the allotted time; otherwise, - false. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the task to complete. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - The core wait function, which is only accesible internally. It's meant to be used in places in TPL code where - the current context is known or cached. - - - - - Cancels the . - - Indiactes whether we should only cancel non-invoked tasks. - For the default scheduler this option will only be serviced through TryDequeue. - For custom schedulers we also attempt an atomic state transition. - true if the task was successfully canceled; otherwise, false. - The - has been disposed. - - - - Sets the task's cancellation acknowledged flag. - - - - - Runs all of the continuations, as appropriate. - - - - - Helper function to determine whether the current task is in the state desired by the - continuation kind under evaluation. Three possibilities exist: the task failed with - an unhandled exception (OnFailed), the task was canceled before running (OnAborted), - or the task completed successfully (OnCompletedSuccessfully). Note that the last - one includes completing due to cancellation. - - The continuation options under evaluation. - True if the continuation should be run given the task's current state. - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - The that will be assigned to the new continuation task. - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Converts TaskContinuationOptions to TaskCreationOptions, and also does - some validity checking along the way. - - Incoming TaskContinuationOptions - Outgoing TaskCreationOptions - Outgoing InternalTaskOptions - - - - Registers the continuation and possibly runs it (if the task is already finished). - - The continuation task itself. - TaskScheduler with which to associate continuation task. - Restrictions on when the continuation becomes active. - - - - Waits for all of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The was canceled. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Waits for a set of handles in a STA-aware way. In other words, it will wait for each - of the events individually if we're on a STA thread, because MsgWaitForMultipleObjectsEx - can't do a true wait-all due to its hidden message queue event. This is not atomic, - of course, but we only wait on one-way (MRE) events anyway so this is OK. - - An array of wait handles to wait on. - The timeout to use during waits. - The cancellationToken that enables a wait to be canceled. - True if all waits succeeded, false if a timeout occurred. - - - - Internal WaitAll implementation which is meant to be used with small number of tasks, - optimized for Parallel.Invoke and other structured primitives. - - - - - This internal function is only meant to be called by WaitAll() - If the completed task is canceled or it has other exceptions, here we will add those - into the passed in exception list (which will be lazily initialized here). - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - The index of the completed task in the array argument. - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - The was canceled. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Gets a unique ID for this Task instance. - - - Task IDs are assigned on-demand and do not necessarily represent the order in the which Task - instances were created. - - - - - Returns the unique ID of the currently executing Task. - - - - - Gets the Task instance currently executing, or - null if none exists. - - - - - Gets the Exception that caused the Task to end prematurely. If the Task completed successfully or has not yet thrown any - exceptions, this will return null. - - - Tasks that throw unhandled exceptions store the resulting exception and propagate it wrapped in a - in calls to Wait - or in accesses to the property. Any exceptions not observed by the time - the Task instance is garbage collected will be propagated on the finalizer thread. - - - The Task - has been disposed. - - - - - Gets the TaskStatus of this Task. - - - - - Gets whether this Task instance has completed - execution due to being canceled. - - - A Task will complete in Canceled state either if its CancellationToken - was marked for cancellation before the task started executing, or if the task acknowledged the cancellation request on - its already signaled CancellationToken by throwing an - OperationCanceledException2 that bears the same - CancellationToken. - - - - - Returns true if this task has a cancellation token and it was signaled. - To be used internally in execute entry codepaths. - - - - - This internal property provides access to the CancellationToken that was set on the task - when it was constructed. - - - - - Gets whether this threw an OperationCanceledException2 while its CancellationToken was signaled. - - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Checks whether this task has been disposed. - - - - - Gets the TaskCreationOptions used - to create this task. - - - - - Gets a that can be used to wait for the task to - complete. - - - Using the wait functionality provided by - should be preferred over using for similar - functionality. - - - The has been disposed. - - - - - Gets the state object supplied when the Task was created, - or null if none was supplied. - - - - - Gets an indication of whether the asynchronous operation completed synchronously. - - true if the asynchronous operation completed synchronously; otherwise, false. - - - - Provides access to the TaskScheduler responsible for executing this Task. - - - - - Provides access to factory methods for creating and instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on TaskFactory. - - - - - Provides an event that can be used to wait for completion. - Only called by Wait*(), which means that we really do need to instantiate a completion event. - - - - - Determines whether this is the root task of a self replicating group. - - - - - Determines whether the task is a replica itself. - - - - - The property formerly known as IsFaulted. - - - - - Gets whether the completed due to an unhandled exception. - - - If is true, the Task's will be equal to - TaskStatus.Faulted, and its - property will be non-null. - - - - - Checks whether the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag is set, - This will only be used by the implicit wait to prevent double throws - - - - - - Checks whether the body was ever invoked. Used by task scheduler code to verify custom schedulers actually ran the task. - - - - - A structure to hold continuation information. - - - - - Constructs a new continuation structure. - - The task to be activated. - The continuation options. - The scheduler to use for the continuation. - - - - Invokes the continuation for the target completion task. - - The completed task. - Whether the continuation can be inlined. - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The argument is null. - - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The to be assigned to this task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and state. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Creates a new future object. - - The parent task for this future. - A function that yields the future value. - The task scheduler which will be used to execute the future. - The CancellationToken for the task. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Creates a new future object. - - The parent task for this future. - An object containing data to be used by the action; may be null. - A function that yields the future value. - The CancellationToken for the task. - The task scheduler which will be used to execute the future. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Evaluates the value selector of the Task which is passed in as an object and stores the result. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new task. - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . This task's completion state will be transferred to the task returned - from the ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be passed as - an argument this completed task. - - The that will be assigned to the new task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . - This task's completion state will be transferred to the task returned from the - ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Gets the result value of this . - - - The get accessor for this property ensures that the asynchronous operation is complete before - returning. Once the result of the computation is available, it is stored and will be returned - immediately on later calls to . - - - - - Provides access to factory methods for creating instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on the factory type. - - - - - Provides support for creating and scheduling - Task{TResult} objects. - - The type of the results that are available though - the Task{TResult} objects that are associated with - the methods in this class. - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task{TResult}.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the default configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory{TResult}. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory{TResult}. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The that will be assigned to the new task. - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory{TResult}. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory{TResult}. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory{TResult}. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents the current stage in the lifecycle of a . - - - - - The task has been initialized but has not yet been scheduled. - - - - - The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure. - - - - - The task has been scheduled for execution but has not yet begun executing. - - - - - The task is running but has not yet completed. - - - - - The task has finished executing and is implicitly waiting for - attached child tasks to complete. - - - - - The task completed execution successfully. - - - - - The task acknowledged cancellation by throwing an OperationCanceledException2 with its own CancellationToken - while the token was in signaled state, or the task's CancellationToken was already signaled before the - task started executing. - - - - - The task completed due to an unhandled exception. - - - - - Specifies flags that control optional behavior for the creation and execution of tasks. - - - - - Specifies that the default behavior should be used. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides a hint to the - TaskScheduler that oversubscription may be - warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Task creation flags which are only used internally. - - - - Specifies "No internal task options" - - - Used to filter out internal vs. public task creation options. - - - Specifies that the task will be queued by the runtime before handing it over to the user. - This flag will be used to skip the cancellationtoken registration step, which is only meant for unstarted tasks. - - - - Specifies flags that control optional behavior for the creation and execution of continuation tasks. - - - - - Default = "Continue on any, no task options, run asynchronously" - Specifies that the default behavior should be used. Continuations, by default, will - be scheduled when the antecedent task completes, regardless of the task's final TaskStatus. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides - a hint to the TaskScheduler that - oversubscription may be warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Specifies that the continuation task should not be scheduled if its antecedent ran to completion. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled - exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent was canceled. This - option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent ran to - completion. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent threw an - unhandled exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent was canceled. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be executed synchronously. With this option - specified, the continuation will be run on the same thread that causes the antecedent task to - transition into its final state. If the antecedent is already complete when the continuation is - created, the continuation will run on the thread creating the continuation. Only very - short-running continuations should be executed synchronously. - - - - - Represents an exception used to communicate task cancellation. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the - class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the - class with a specified error message and a reference to the inner exception that is the cause of - this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - - Initializes a new instance of the class - with a reference to the that has been canceled. - - A task that has been canceled. - - - - Gets the task associated with this exception. - - - It is permissible for no Task to be associated with a - , in which case - this property will return null. - - - - - Represents the producer side of a unbound to a - delegate, providing access to the consumer side through the property. - - - - It is often the case that a is desired to - represent another asynchronous operation. - TaskCompletionSource is provided for this purpose. It enables - the creation of a task that can be handed out to consumers, and those consumers can use the members - of the task as they would any other. However, unlike most tasks, the state of a task created by a - TaskCompletionSource is controlled explicitly by the methods on TaskCompletionSource. This enables the - completion of the external asynchronous operation to be propagated to the underlying Task. The - separation also ensures that consumers are not able to transition the state without access to the - corresponding TaskCompletionSource. - - - All members of are thread-safe - and may be used from multiple threads concurrently. - - - The type of the result value assocatied with this . - - - - Creates a . - - - - - Creates a - with the specified options. - - - The created - by this instance and accessible through its property - will be instantiated using the specified . - - The options to use when creating the underlying - . - - The represent options invalid for use - with a . - - - - - Creates a - with the specified state. - - The state to use as the underlying - 's AsyncState. - - - - Creates a with - the specified state and options. - - The options to use when creating the underlying - . - The state to use as the underlying - 's AsyncState. - - The represent options invalid for use - with a . - - - - - Attempts to transition the underlying - into the - Faulted - state. - - The exception to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - The was disposed. - - - - Attempts to transition the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - There are one or more null elements in . - The collection is empty. - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The exception to bind to this . - The argument is null. - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - The argument is null. - There are one or more null elements in . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Canceled - state. - - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - Canceled - state. - - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Gets the created - by this . - - - This property enables a consumer access to the that is controlled by this instance. - The , , - , and - methods (and their "Try" variants) on this instance all result in the relevant state - transitions on this underlying Task. - - - - - An exception holder manages a list of exceptions for one particular task. - It offers the ability to aggregate, but more importantly, also offers intrinsic - support for propagating unhandled exceptions that are never observed. It does - this by aggregating and throwing if the holder is ever GC'd without the holder's - contents ever having been requested (e.g. by a Task.Wait, Task.get_Exception, etc). - - - - - Creates a new holder; it will be registered for finalization. - - The task this holder belongs to. - - - - A finalizer that repropagates unhandled exceptions. - - - - - Add an exception to the internal list. This will ensure the holder is - in the proper state (handled/unhandled) depending on the list's contents. - - An exception object (either an Exception or an - IEnumerable{Exception}) to add to the list. - - - - A private helper method that ensures the holder is considered - unhandled, i.e. it is registered for finalization. - - - - - A private helper method that ensures the holder is considered - handled, i.e. it is not registered for finalization. - - Whether this is called from the finalizer thread. - - - - Allocates a new aggregate exception and adds the contents of the list to - it. By calling this method, the holder assumes exceptions to have been - "observed", such that the finalization check will be subsequently skipped. - - Whether this is being called from a finalizer. - An extra exception to be included (optionally). - The aggregate exception to throw. - - - - Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of - instances. - - - - - Creates a proxy Task that represents the - asynchronous operation of a Task{Task}. - - - It is often useful to be able to return a Task from a - Task{TResult}, where the inner Task represents work done as part of the outer Task{TResult}. However, - doing so results in a Task{Task}, which, if not dealt with carefully, could produce unexpected behavior. Unwrap - solves this problem by creating a proxy Task that represents the entire asynchronous operation of such a Task{Task}. - - The Task{Task} to unwrap. - The exception that is thrown if the - argument is null. - A Task that represents the asynchronous operation of the provided Task{Task}. - - - - Creates a proxy Task{TResult} that represents the - asynchronous operation of a Task{Task{TResult}}. - - - It is often useful to be able to return a Task{TResult} from a Task{TResult}, where the inner Task{TResult} - represents work done as part of the outer Task{TResult}. However, doing so results in a Task{Task{TResult}}, - which, if not dealt with carefully, could produce unexpected behavior. Unwrap solves this problem by - creating a proxy Task{TResult} that represents the entire asynchronous operation of such a Task{Task{TResult}}. - - The Task{Task{TResult}} to unwrap. - The exception that is thrown if the - argument is null. - A Task{TResult} that represents the asynchronous operation of the provided Task{Task{TResult}}. /// Unwraps a Task that returns another Task. - - - - Provides support for creating and scheduling - Tasks. - - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new task. - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Check validity of options passed to FromAsync method - - The options to be validated. - determines type of FromAsync method that called this method - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents an abstract scheduler for tasks. - - - - TaskScheduler acts as the extension point for all - pluggable scheduling logic. This includes mechanisms such as how to schedule a task for execution, and - how scheduled tasks should be exposed to debuggers. - - - All members of the abstract type are thread-safe - and may be used from multiple threads concurrently. - - - - - - Queues a Task to the scheduler. - - - - A class derived from TaskScheduler - implements this method to accept tasks being scheduled on the scheduler. - A typical implementation would store the task in an internal data structure, which would - be serviced by threads that would execute those tasks at some time in the future. - - - This method is only meant to be called by the .NET Framework and - should not be called directly by the derived class. This is necessary - for maintaining the consistency of the system. - - - The Task to be queued. - The argument is null. - - - - Determines whether the provided Task - can be executed synchronously in this call, and if it can, executes it. - - - - A class derived from TaskScheduler implements this function to - support inline execution of a task on a thread that initiates a wait on that task object. Inline - execution is optional, and the request may be rejected by returning false. However, better - scalability typically results the more tasks that can be inlined, and in fact a scheduler that - inlines too little may be prone to deadlocks. A proper implementation should ensure that a - request executing under the policies guaranteed by the scheduler can successfully inline. For - example, if a scheduler uses a dedicated thread to execute tasks, any inlining requests from that - thread should succeed. - - - If a scheduler decides to perform the inline execution, it should do so by calling to the base - TaskScheduler's - TryExecuteTask method with the provided task object, propagating - the return value. It may also be appropriate for the scheduler to remove an inlined task from its - internal data structures if it decides to honor the inlining request. Note, however, that under - some circumstances a scheduler may be asked to inline a task that was not previously provided to - it with the method. - - - The derived scheduler is responsible for making sure that the calling thread is suitable for - executing the given task as far as its own scheduling and execution policies are concerned. - - - The Task to be - executed. - A Boolean denoting whether or not task has previously been - queued. If this parameter is True, then the task may have been previously queued (scheduled); if - False, then the task is known not to have been queued, and this call is being made in order to - execute the task inline without queueing it. - A Boolean value indicating whether the task was executed inline. - The argument is - null. - The was already - executed. - - - - Generates an enumerable of Task instances - currently queued to the scheduler waiting to be executed. - - - - A class derived from implements this method in order to support - integration with debuggers. This method will only be invoked by the .NET Framework when the - debugger requests access to the data. The enumerable returned will be traversed by debugging - utilities to access the tasks currently queued to this scheduler, enabling the debugger to - provide a representation of this information in the user interface. - - - It is important to note that, when this method is called, all other threads in the process will - be frozen. Therefore, it's important to avoid synchronization with other threads that may lead to - blocking. If synchronization is necessary, the method should prefer to throw a - than to block, which could cause a debugger to experience delays. Additionally, this method and - the enumerable returned must not modify any globally visible state. - - - The returned enumerable should never be null. If there are currently no queued tasks, an empty - enumerable should be returned instead. - - - For developers implementing a custom debugger, this method shouldn't be called directly, but - rather this functionality should be accessed through the internal wrapper method - GetScheduledTasksForDebugger: - internal Task[] GetScheduledTasksForDebugger(). This method returns an array of tasks, - rather than an enumerable. In order to retrieve a list of active schedulers, a debugger may use - another internal method: internal static TaskScheduler[] GetTaskSchedulersForDebugger(). - This static method returns an array of all active TaskScheduler instances. - GetScheduledTasksForDebugger then may be used on each of these scheduler instances to retrieve - the list of scheduled tasks for each. - - - An enumerable that allows traversal of tasks currently queued to this scheduler. - - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Retrieves some thread static state that can be cached and passed to multiple - TryRunInline calls, avoiding superflous TLS fetches. - - A bag of TLS state (or null if none exists). - - - - Attempts to execute the target task synchronously. - - The task to run. - True if the task may have been previously queued, - false if the task was absolutely not previously queued. - The state retrieved from GetThreadStatics - True if it ran, false otherwise. - - - - Attempts to dequeue a Task that was previously queued to - this scheduler. - - The Task to be dequeued. - A Boolean denoting whether the argument was successfully dequeued. - The argument is null. - - - - Notifies the scheduler that a work item has made progress. - - - - - Initializes the . - - - - - Frees all resources associated with this scheduler. - - - - - Creates a - associated with the current . - - - All Task instances queued to - the returned scheduler will be executed through a call to the - Post method - on that context. - - - A associated with - the current SynchronizationContext, as - determined by SynchronizationContext.Current. - - - The current SynchronizationContext may not be used as a TaskScheduler. - - - - - Attempts to execute the provided Task - on this scheduler. - - - - Scheduler implementations are provided with Task - instances to be executed through either the method or the - method. When the scheduler deems it appropriate to run the - provided task, should be used to do so. TryExecuteTask handles all - aspects of executing a task, including action invocation, exception handling, state management, - and lifecycle control. - - - must only be used for tasks provided to this scheduler by the .NET - Framework infrastructure. It should not be used to execute arbitrary tasks obtained through - custom mechanisms. - - - - A Task object to be executed. - - The is not associated with this scheduler. - - A Boolean that is true if was successfully executed, false if it - was not. A common reason for execution failure is that the task had previously been executed or - is in the process of being executed by another thread. - - - - Provides an array of all queued Task instances - for the debugger. - - - The returned array is populated through a call to . - Note that this function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of Task instances. - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Provides an array of all active TaskScheduler - instances for the debugger. - - - This function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of TaskScheduler instances. - - - - Registers a new TaskScheduler instance in the global collection of schedulers. - - - - - Removes a TaskScheduler instance from the global collection of schedulers. - - - - - Indicates the maximum concurrency level this - is able to support. - - - - - Indicates whether this is a custom scheduler, in which case the safe code paths will be taken upon task entry - using a CAS to transition from queued state to executing. - - - - - Gets the default TaskScheduler instance. - - - - - Gets the TaskScheduler - associated with the currently executing task. - - - When not called from within a task, will return the scheduler. - - - - - Gets the unique ID for this . - - - - - Occurs when a faulted 's unobserved exception is about to trigger exception escalation - policy, which, by default, would terminate the process. - - - This AppDomain-wide event provides a mechanism to prevent exception - escalation policy (which, by default, terminates the process) from triggering. - Each handler is passed a - instance, which may be used to examine the exception and to mark it as observed. - - - - - Nested class that provides debugger view for TaskScheduler - - - - Default thread pool scheduler. - - - - A TaskScheduler implementation that executes all tasks queued to it through a call to - on the - that its associated with. The default constructor for this class binds to the current - - - - - Constructs a SynchronizationContextTaskScheduler associated with - - This constructor expects to be set. - - - - Implemetation of for this scheduler class. - - Simply posts the tasks to be executed on the associated . - - - - - - Implementation of for this scheduler class. - - The task will be executed inline only if the call happens within - the associated . - - - - - - - Implementes the property for - this scheduler class. - - By default it returns 1, because a based - scheduler only supports execution on a single thread. - - - - - Provides data for the event that is raised when a faulted 's - exception goes unobserved. - - - The Exception property is used to examine the exception without marking it - as observed, whereas the method is used to mark the exception - as observed. Marking the exception as observed prevents it from triggering exception escalation policy - which, by default, terminates the process. - - - - - Initializes a new instance of the class - with the unobserved exception. - - The Exception that has gone unobserved. - - - - Marks the as "observed," thus preventing it - from triggering exception escalation policy which, by default, terminates the process. - - - - - Gets whether this exception has been marked as "observed." - - - - - The Exception that went unobserved. - - - - - Represents an exception used to communicate an invalid operation by a - . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the - class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the - class using the default error message and a reference to the inner exception that is the cause of - this exception. - - The exception that is the cause of the current exception. - - - - Initializes a new instance of the - class with a specified error message and a reference to the inner exception that is the cause of - this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.dll deleted file mode 100644 index 23d6d1a..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.xml deleted file mode 100644 index 6c77012..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.xml +++ /dev/null @@ -1,8969 +0,0 @@ - - - - System.Threading.Tasks - - - - Represents one or more errors that occur during application execution. - - is used to consolidate multiple failures into a single, throwable - exception object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a specified error - message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - The argument - is null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Allocates a new aggregate exception with the specified message and list of inner exceptions. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Returns the that is the root cause of this exception. - - - - - Invokes a handler on each contained by this . - - The predicate to execute for each exception. The predicate accepts as an - argument the to be processed and returns a Boolean to indicate - whether the exception was handled. - - Each invocation of the returns true or false to indicate whether the - was handled. After all invocations, if any exceptions went - unhandled, all unhandled exceptions will be put into a new - which will be thrown. Otherwise, the method simply returns. If any - invocations of the throws an exception, it will halt the processing - of any more exceptions and immediately propagate the thrown exception as-is. - - An exception contained by this was not handled. - The argument is - null. - - - - Flattens an instances into a single, new instance. - - A new, flattened . - - If any inner exceptions are themselves instances of - , this method will recursively flatten all of them. The - inner exceptions returned in the new - will be the union of all of the the inner exceptions from exception tree rooted at the provided - instance. - - - - - Creates and returns a string representation of the current . - - A string representation of the current exception. - - - - Gets a read-only collection of the instances that caused the - current exception. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to One or more errors occurred.. - - - - - Looks up a localized string similar to An element of innerExceptions was null.. - - - - - Looks up a localized string similar to {0}{1}---> (Inner Exception #{2}) {3}{4}{5}. - - - - - Looks up a localized string similar to No tokens were supplied.. - - - - - Looks up a localized string similar to The CancellationTokenSource associated with this CancellationToken has been disposed.. - - - - - Looks up a localized string similar to The CancellationTokenSource has been disposed.. - - - - - Looks up a localized string similar to The SyncRoot property may not be used for the synchronization of concurrent collections.. - - - - - Looks up a localized string similar to The array is multidimensional, or the type parameter for the set cannot be cast automatically to the type of the destination array.. - - - - - Looks up a localized string similar to The index is equal to or greater than the length of the array, or the number of elements in the dictionary is greater than the available space from index to the end of the destination array.. - - - - - Looks up a localized string similar to The capacity argument must be greater than or equal to zero.. - - - - - Looks up a localized string similar to The concurrencyLevel argument must be positive.. - - - - - Looks up a localized string similar to The index argument is less than zero.. - - - - - Looks up a localized string similar to TKey is a reference type and item.Key is null.. - - - - - Looks up a localized string similar to The key already existed in the dictionary.. - - - - - Looks up a localized string similar to The source argument contains duplicate keys.. - - - - - Looks up a localized string similar to The key was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The value was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The lazily-initialized type does not have a public, parameterless constructor.. - - - - - Looks up a localized string similar to ValueFactory returned null.. - - - - - Looks up a localized string similar to The spinCount argument must be in the range 0 to {0}, inclusive.. - - - - - Looks up a localized string similar to There are too many threads currently waiting on the event. A maximum of {0} waiting threads are supported.. - - - - - Looks up a localized string similar to The event has been disposed.. - - - - - Looks up a localized string similar to The operation was canceled.. - - - - - Looks up a localized string similar to The condition argument is null.. - - - - - Looks up a localized string similar to The timeout must represent a value between -1 and Int32.MaxValue, inclusive.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions combined LongRunning and ExecuteSynchronously. Synchronous continuations should not be long running.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions excluded all continuation kinds.. - - - - - Looks up a localized string similar to (Internal)An attempt was made to create a LongRunning SelfReplicating task.. - - - - - Looks up a localized string similar to The value needs to translate in milliseconds to -1 (signifying an infinite timeout), 0 or a positive integer less than or equal to Int32.MaxValue.. - - - - - Looks up a localized string similar to The value needs to be either -1 (signifying an infinite timeout), 0 or a positive integer.. - - - - - Looks up a localized string similar to A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.LongRunning in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.PreferFairness in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating in calls to FromAsync.. - - - - - Looks up a localized string similar to FromAsync was called with a TaskManager that had already shut down.. - - - - - Looks up a localized string similar to The tasks argument contains no tasks.. - - - - - Looks up a localized string similar to It is invalid to exclude specific continuation kinds for continuations off of multiple tasks.. - - - - - Looks up a localized string similar to The tasks argument included a null value.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that was already started.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a continuation task.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that has already completed.. - - - - - Looks up a localized string similar to Start may not be called on a task that was already started.. - - - - - Looks up a localized string similar to Start may not be called on a continuation task.. - - - - - Looks up a localized string similar to Start may not be called on a task with null action.. - - - - - Looks up a localized string similar to Start may not be called on a promise-style task.. - - - - - Looks up a localized string similar to Start may not be called on a task that has completed.. - - - - - Looks up a localized string similar to The task has been disposed.. - - - - - Looks up a localized string similar to The tasks array included at least one null element.. - - - - - Looks up a localized string similar to The awaited task has not yet completed.. - - - - - Looks up a localized string similar to A task was canceled.. - - - - - Looks up a localized string similar to The exceptions collection was empty.. - - - - - Looks up a localized string similar to The exceptions collection included at least one null element.. - - - - - Looks up a localized string similar to A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.. - - - - - Looks up a localized string similar to (Internal)Expected an Exception or an IEnumerable<Exception>. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was already executed.. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was previously queued to a different TaskScheduler.. - - - - - Looks up a localized string similar to The current SynchronizationContext may not be used as a TaskScheduler.. - - - - - Looks up a localized string similar to The TryExecuteTaskInline call to the underlying scheduler succeeded, but the task body was not invoked.. - - - - - Looks up a localized string similar to An exception was thrown by a TaskScheduler.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating for a Task<TResult>.. - - - - - Looks up a localized string similar to {Not yet computed}. - - - - - Looks up a localized string similar to A task's Exception may only be set directly if the task was created without a function.. - - - - - Looks up a localized string similar to An attempt was made to transition a task to a final state when it had already completed.. - - - - - Represents a thread-safe collection of keys and values. - - The type of the keys in the dictionary. - The type of the values in the dictionary. - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads. - - - - - Initializes a new instance of the - class that is empty, has the default concurrency level, has the default initial capacity, and - uses the default comparer for the key type. - - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the default - comparer for the key type. - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - is - less than 1. - is less than - 0. - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency - level, has the default initial capacity, and uses the default comparer for the key type. - - The whose elements are copied to - the new - . - is a null reference - (Nothing in Visual Basic). - contains one or more - duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the specified - . - - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency level, has the default - initial capacity, and uses the specified - . - - The whose elements are copied to - the new - . - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). -or- - is a null reference (Nothing in Visual Basic). - - - - - Initializes a new instance of the - class that contains elements copied from the specified , - has the specified concurrency level, has the specified initial capacity, and uses the specified - . - - The estimated number of threads that will update the - concurrently. - The whose elements are copied to the new - . - The implementation to use - when comparing keys. - - is a null reference (Nothing in Visual Basic). - -or- - is a null reference (Nothing in Visual Basic). - - - is less than 1. - - contains one or more duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level, has the specified initial capacity, and - uses the specified . - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - The - implementation to use when comparing keys. - - is less than 1. -or- - is less than 0. - - is a null reference - (Nothing in Visual Basic). - - - - Attempts to add the specified key and value to the . - - The key of the element to add. - The value of the element to add. The value can be a null reference (Nothing - in Visual Basic) for reference types. - true if the key/value pair was added to the - successfully; otherwise, false. - is null reference - (Nothing in Visual Basic). - The - contains too many elements. - - - - Determines whether the contains the specified - key. - - The key to locate in the . - true if the contains an element with - the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Attempts to remove and return the the value with the specified key from the - . - - The key of the element to remove and return. - When this method returns, contains the object removed from the - or the default value of - if the operation failed. - true if an object was removed successfully; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Removes the specified key from the dictionary if it exists and returns its associated value. - If matchValue flag is set, the key will be removed only if is associated with a particular - value. - - The key to search for and remove if it exists. - The variable into which the removed value, if found, is stored. - Whether removal of the key is conditional on its value. - The conditional value to compare against if is true - - - - - Attempts to get the value associated with the specified key from the . - - The key of the value to get. - When this method returns, contains the object from - the - with the spedified key or the default value of - , if the operation failed. - true if the key was found in the ; - otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Compares the existing value for the specified key with a specified value, and if they’re equal, - updates the key with a third value. - - The key whose value is compared with and - possibly replaced. - The value that replaces the value of the element with if the comparison results in equality. - The value that is compared to the value of the element with - . - true if the value with was equal to and replaced with ; otherwise, - false. - is a null - reference. - - - - Removes all keys and values from the . - - - - - Copies the elements of the to an array of - type , starting at the - specified array index. - - The one-dimensional array of type - that is the destination of the elements copied from the . The array must have zero-based indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Copies the key and value pairs stored in the to a - new array. - - A new array containing a snapshot of key and value pairs copied from the . - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToPairs. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToEntries. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToObjects. - - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Shared internal implementation for inserts and updates. - If key exists, we always return false; and if updateIfExists == true we force update with value; - If key doesn't exist, we always add value and return true; - - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - The function used to generate a value for the key - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value for the key as returned by valueFactory - if the key was not in the dictionary. - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - the value to be added, if the key does not already exist - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value if the key was not in the dictionary. - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The function used to generate a value for an absent key - The function used to generate a new value for an existing key - based on the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The value to be added for an absent key - The function used to generate a new value for an existing key based on - the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds the specified key and value to the . - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - An element with the same key already exists in the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - true if the element is successfully remove; otherwise false. This method also returns - false if - was not found in the original . - - is a null reference - (Nothing in Visual Basic). - - - - Adds the specified value to the - with the specified key. - - The - structure representing the key and value to add to the . - The of is null. - The - contains too many elements. - An element with the same key already exists in the - - - - - Determines whether the - contains a specific key and value. - - The - structure to locate in the . - true if the is found in the ; otherwise, false. - - - - Removes a key and value from the dictionary. - - The - structure representing the key and value to remove from the . - true if the key and value represented by is successfully - found and removed; otherwise, false. - The Key property of is a null reference (Nothing in Visual Basic). - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Adds the specified key and value to the dictionary. - - The object to use as the key. - The object to use as the value. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - is of a type that is not assignable to the key type of the . -or- - is of a type that is not assignable to , - the type of values in the . - -or- A value with the same key already exists in the . - - - - - Gets whether the contains an - element with the specified key. - - The key to locate in the . - true if the contains - an element with the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - Provides an for the - . - An for the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - is a null reference - (Nothing in Visual Basic). - - - - Copies the elements of the to an array, starting - at the specified array index. - - The one-dimensional array that is the destination of the elements copied from - the . The array must have zero-based - indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Replaces the internal table with a larger one. To prevent multiple threads from resizing the - table as a result of races, the table of buckets that was deemed too small is passed in as - an argument to GrowTable(). GrowTable() obtains a lock, and then checks whether the bucket - table has been replaced in the meantime or not. - - Reference to the bucket table that was deemed too small. - - - - Computes the bucket and lock number for a particular key. - - - - - Acquires all locks for this hash table, and increments locksAcquired by the number - of locks that were successfully acquired. The locks are acquired in an increasing - order. - - - - - Acquires a contiguous range of locks for this hash table, and increments locksAcquired - by the number of locks that were successfully acquired. The locks are acquired in an - increasing order. - - - - - Releases a contiguous range of locks. - - - - - Gets a collection containing the keys in the dictionary. - - - - - Gets a collection containing the values in the dictionary. - - - - - A helper method for asserts. - - - - - Get the data array to be serialized - - - - - Construct the dictionary from a previously seiralized one - - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key. If the specified key is not found, a get - operation throws a - , and a set operation creates a new - element with the specified key. - is a null reference - (Nothing in Visual Basic). - The property is retrieved and - - does not exist in the collection. - - - - Gets the number of key/value pairs contained in the . - - The dictionary contains too many - elements. - The number of key/value paris contained in the . - Count has snapshot semantics and represents the number of items in the - at the moment when Count was accessed. - - - - Gets a value that indicates whether the is empty. - - true if the is empty; otherwise, - false. - - - - Gets a collection containing the keys in the . - - An containing the keys in the - . - - - - Gets a collection containing the values in the . - - An containing the values in - the - . - - - - Gets a value indicating whether the dictionary is read-only. - - true if the is - read-only; otherwise, false. For , this property always returns - false. - - - - Gets a value indicating whether the has a fixed size. - - true if the has a - fixed size; otherwise, false. For , this property always - returns false. - - - - Gets a value indicating whether the is read-only. - - true if the is - read-only; otherwise, false. For , this property always - returns false. - - - - Gets an containing the keys of the . - - An containing the keys of the . - - - - Gets an containing the values in the . - - An containing the values in the . - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key, or a null reference (Nothing in Visual Basic) - if is not in the dictionary or is of a type that is - not assignable to the key type of the . - is a null reference - (Nothing in Visual Basic). - - A value is being assigned, and is of a type that is not assignable to the - key type of the . -or- A value is being - assigned, and is of a type that is not assignable to the value type - of the - - - - - Gets a value indicating whether access to the is - synchronized with the SyncRoot. - - true if access to the is synchronized - (thread safe); otherwise, false. For , this property always - returns false. - - - - Gets an object that can be used to synchronize access to the . This property is not supported. - - The SyncRoot property is not supported. - - - - The number of concurrent writes for which to optimize by default. - - - - - A node in a singly-linked list representing a particular hash table bucket. - - - - - A private class to represent enumeration over the dictionary that implements the - IDictionaryEnumerator interface. - - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - - An interface similar to the one added in .NET 4.0. - - - - The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. - - - Initializes the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - Initializes the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - A cancellation token associated with the operation that was canceled. - - - Gets a token associated with the operation that was canceled. - - - - A dummy replacement for the .NET internal class StackCrawlMark. - - - - - Propogates notification that operations should be canceled. - - - - A may be created directly in an unchangeable canceled or non-canceled state - using the CancellationToken's constructors. However, to have a CancellationToken that can change - from a non-canceled to a canceled state, - CancellationTokenSource must be used. - CancellationTokenSource exposes the associated CancellationToken that may be canceled by the source through its - Token property. - - - Once canceled, a token may not transition to a non-canceled state, and a token whose - is false will never change to one that can be canceled. - - - All members of this struct are thread-safe and may be used concurrently from multiple threads. - - - - - - Internal constructor only a CancellationTokenSource should create a CancellationToken - - - - - Initializes the CancellationToken. - - - The canceled state for the token. - - - Tokens created with this constructor will remain in the canceled state specified - by the parameter. If is false, - both and will be false. - If is true, - both and will be true. - - - - - Registers a delegate that will be called when this CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Determines whether the current CancellationToken instance is equal to the - specified token. - - The other CancellationToken to which to compare this - instance. - True if the instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other object to which to compare this instance. - True if is a CancellationToken - and if the two instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - An associated CancellationTokenSource has been disposed. - - - - Serves as a hash function for a CancellationToken. - - A hash code for the current CancellationToken instance. - - - - Determines whether two CancellationToken instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Determines whether two CancellationToken instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Throws a OperationCanceledException if - this token has had cancellation requested. - - - This method provides functionality equivalent to: - - if (token.IsCancellationRequested) - throw new OperationCanceledException(token); - - - The token has had cancellation requested. - The associated CancellationTokenSource has been disposed. - - - - Returns an empty CancellationToken value. - - - The value returned by this property will be non-cancelable by default. - - - - - Gets whether cancellation has been requested for this token. - - Whether cancellation has been requested for this token. - - - This property indicates whether cancellation has been requested for this token, - either through the token initially being construted in a canceled state, or through - calling Cancel - on the token's associated . - - - If this property is true, it only guarantees that cancellation has been requested. - It does not guarantee that every registered handler - has finished executing, nor that cancellation requests have finished propagating - to all registered handlers. Additional synchronization may be required, - particularly in situations where related objects are being canceled concurrently. - - - - - - Gets whether this token is capable of being in the canceled state. - - - If CanBeCanceled returns false, it is guaranteed that the token will never transition - into a canceled state, meaning that will never - return true. - - - - - Gets a that is signaled when the token is canceled. - - Accessing this property causes a WaitHandle - to be instantiated. It is preferable to only use this property when necessary, and to then - dispose the associated instance at the earliest opportunity (disposing - the source will dispose of this allocated handle). The handle should not be closed or disposed directly. - - The associated CancellationTokenSource has been disposed. - - - - Represents a callback delegate that has been registered with a CancellationToken. - - - To unregister a callback, dispose the corresponding Registration instance. - - - - - Attempts to deregister the item. If it's already being run, this may fail. - Entails a full memory fence. - - True if the callback was found and deregistered, false otherwise. - - - - Disposes of the registration and unregisters the target callback from the associated - CancellationToken. - If the target callback is currently executing this method will wait until it completes, except - in the degenerate cases where a callback method deregisters itself. - - - - - Determines whether two CancellationTokenRegistration - instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - - - - Determines whether two CancellationTokenRegistration instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - - - - Determines whether the current CancellationTokenRegistration instance is equal to the - specified . - - The other object to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other CancellationTokenRegistration to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Serves as a hash function for a CancellationTokenRegistration.. - - A hash code for the current CancellationTokenRegistration instance. - - - - Signals to a that it should be canceled. - - - - is used to instantiate a - (via the source's Token property) - that can be handed to operations that wish to be notified of cancellation or that can be used to - register asynchronous operations for cancellation. That token may have cancellation requested by - calling to the source's Cancel - method. - - - All members of this class, except Dispose, are thread-safe and may be used - concurrently from multiple threads. - - - - - The ID of the thread currently executing the main body of CTS.Cancel() - this helps us to know if a call to ctr.Dispose() is running 'within' a cancellation callback. - This is updated as we move between the main thread calling cts.Cancel() and any syncContexts that are used to - actually run the callbacks. - - - - Initializes the . - - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - However, this overload of Cancel will aggregate any exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - If is true, an exception will immediately propagate out of the - call to Cancel, preventing the remaining callbacks and cancelable operations from being processed. - If is false, this overload will aggregate any - exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - Specifies whether exceptions should immediately propagate. - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Releases the resources used by this . - - - This method is not thread-safe for any other concurrent calls. - - - - - Throws an exception if the source has been disposed. - - - - - InternalGetStaticSource() - - Whether the source should be set. - A static source to be shared among multiple tokens. - - - - Registers a callback object. If cancellation has already occurred, the - callback will have been run by the time this method returns. - - - - - - - - - - Invoke the Canceled event. - - - The handlers are invoked synchronously in LIFO order. - - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The first CancellationToken to observe. - The second CancellationToken to observe. - A CancellationTokenSource that is linked - to the source tokens. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The CancellationToken instances to observe. - A CancellationTokenSource that is linked - to the source tokens. - is null. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Gets whether cancellation has been requested for this CancellationTokenSource. - - Whether cancellation has been requested for this CancellationTokenSource. - - - This property indicates whether cancellation has been requested for this token source, such as - due to a call to its - Cancel method. - - - If this property returns true, it only guarantees that cancellation has been requested. It does not - guarantee that every handler registered with the corresponding token has finished executing, nor - that cancellation requests have finished propagating to all registered handlers. Additional - synchronization may be required, particularly in situations where related objects are being - canceled concurrently. - - - - - - A simple helper to determine whether cancellation has finished. - - - - - A simple helper to determine whether disposal has occured. - - - - - The ID of the thread that is running callbacks. - - - - - Gets the CancellationToken - associated with this . - - The CancellationToken - associated with this . - The token source has been - disposed. - - - - - - - - - - - - - - The currently executing callback - - - - - A helper class for collating the various bits of information required to execute - cancellation callbacks. - - - - - InternalExecuteCallbackSynchronously_GeneralPath - This will be called on the target synchronization context, however, we still need to restore the required execution context - - - - - A sparsely populated array. Elements can be sparse and some null, but this allows for - lock-free additions and growth, and also for constant time removal (by nulling out). - - The kind of elements contained within. - - - - Allocates a new array with the given initial size. - - How many array slots to pre-allocate. - - - - Adds an element in the first available slot, beginning the search from the tail-to-head. - If no slots are available, the array is grown. The method doesn't return until successful. - - The element to add. - Information about where the add happened, to enable O(1) deregistration. - - - - The tail of the doubly linked list. - - - - - A struct to hold a link to the exact spot in an array an element was inserted, enabling - constant time removal later on. - - - - - A fragment of a sparsely populated array, doubly linked. - - The kind of elements contained within. - - - - Provides lazy initialization routines. - - - These routines avoid needing to allocate a dedicated, lazy-initialization instance, instead using - references to ensure targets have been initialized as they are accessed. - - - - - Initializes a target reference type with the type's default constructor if the target has not - already been initialized. - - The refence type of the reference to be initialized. - A reference of type to initialize if it has not - already been initialized. - The initialized reference of type . - Type does not have a default - constructor. - - Permissions to access the constructor of type were missing. - - - - This method may only be used on reference types. To ensure initialization of value - types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initializes a target reference type using the specified function if it has not already been - initialized. - - The reference type of the reference to be initialized. - The reference of type to initialize if it has not - already been initialized. - The invoked to initialize the - reference. - The initialized reference of type . - Type does not have a - default constructor. - returned - null. - - - This method may only be used on reference types, and may - not return a null reference (Nothing in Visual Basic). To ensure initialization of value types or - to allow null reference types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initialize the target using the given delegate (slow path). - - The reference type of the reference to be initialized. - The variable that need to be initialized - The delegate that will be executed to initialize the target - The initialized variable - - - - Initializes a target reference or value type with its default constructor if it has not already - been initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The initialized value of type . - - - - Initializes a target reference or value type with a specified function if it has not already been - initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The invoked to initialize the - reference or value. - The initialized value of type . - - - - Ensure the target is initialized and return the value (slow path). This overload permits nulls - and also works for value type targets. Uses the supplied function to create the value. - - The type of target. - A reference to the target to be initialized. - A reference to a location tracking whether the target has been initialized. - A reference to a location containing a mutual exclusive lock. - - The to invoke in order to produce the lazily-initialized value. - - The initialized object. - - - - Provides a slimmed down version of . - - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads, with the exception of Dispose, which - must only be used when all other operations on the have - completed, and Reset, which should only be used when no other threads are - accessing the event. - - - - - Initializes a new instance of the - class with an initial state of nonsignaled. - - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled. - - true to set the initial state signaled; false to set the initial state - to nonsignaled. - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled and a specified - spin count. - - true to set the initial state to signaled; false to set the initial state - to nonsignaled. - The number of spin waits that will occur before falling back to a true - wait. - is less than - 0 or greater than the maximum allowed value. - - - - Initializes the internal state of the event. - - Whether the event is set initially or not. - The spin count that decides when the event will block. - - - - Helper to ensure the lock object is created before first use. - - - - - This method lazily initializes the event object. It uses CAS to guarantee that - many threads racing to call this at once don't result in more than one event - being stored and used. The event will be signaled or unsignaled depending on - the state of the thin-event itself, with synchronization taken into account. - - True if a new event was created and stored, false otherwise. - - - - Sets the state of the event to signaled, which allows one or more threads waiting on the event to - proceed. - - - - - Private helper to actually perform the Set. - - Indicates whether we are calling Set() during cancellation. - The object has been canceled. - - - - Sets the state of the event to nonsignaled, which causes threads to block. - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Blocks the current thread until the current is set. - - - The maximum number of waiters has been exceeded. - - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current receives a signal, - while observing a . - - The to - observe. - - The maximum number of waiters has been exceeded. - - was - canceled. - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval. - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval, while observing a . - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - The to - observe. - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - was canceled. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval. - - The number of milliseconds to wait, or (-1) to wait indefinitely. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval, while observing a . - - The number of milliseconds to wait, or (-1) to wait indefinitely. - The to - observe. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - was canceled. - - - - Releases all resources used by the current instance of . - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - When overridden in a derived class, releases the unmanaged resources used by the - , and optionally releases the managed resources. - - true to release both managed and unmanaged resources; - false to release only unmanaged resources. - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Throw ObjectDisposedException if the MRES is disposed - - - - - Private helper method to wake up waiters when a cancellationToken gets canceled. - - - - - Private helper method for updating parts of a bit-string state value. - Mainly called from the IsSet and Waiters properties setters - - - Note: the parameter types must be int as CompareExchange cannot take a Uint - - The new value - The mask used to set the bits - - - - Private helper method - performs Mask and shift, particular helpful to extract a field from a packed word. - eg ExtractStatePortionAndShiftRight(0x12345678, 0xFF000000, 24) => 0x12, ie extracting the top 8-bits as a simple integer - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - - - Performs a Mask operation, but does not perform the shift. - This is acceptable for boolean values for which the shift is unnecessary - eg (val & Mask) != 0 is an appropriate way to extract a boolean rather than using - ((val & Mask) >> shiftAmount) == 1 - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - Helper function to measure and update the wait time - - The first time (in Ticks) observed when the wait started. - The orginal wait timeoutout in milliseconds. - The new wait time in milliseconds, -1 if the time expired, -2 if overflow in counters - has occurred. - - - - Gets the underlying object for this . - - The underlying event object fore this . - - Accessing this property forces initialization of an underlying event object if one hasn't - already been created. To simply wait on this , - the public Wait methods should be preferred. - - - - - Gets whether the event is set. - - true if the event has is set; otherwise, false. - - - - Gets the number of spin waits that will be occur before falling back to a true wait. - - - - - How many threads are waiting. - - - - - Provides support for spin-based waiting. - - - - encapsulates common spinning logic. On single-processor machines, yields are - always used instead of busy waits, and on computers with Intel™ processors employing Hyper-Threading™ - technology, it helps to prevent hardware thread starvation. SpinWait encapsulates a good mixture of - spinning and true yielding. - - - is a value type, which means that low-level code can utilize SpinWait without - fear of unnecessary allocation overheads. SpinWait is not generally useful for ordinary applications. - In most cases, you should use the synchronization classes provided by the .NET Framework, such as - . For most purposes where spin waiting is required, however, - the type should be preferred over the System.Threading.Thread.SpinWait method. - - - While SpinWait is designed to be used in concurrent applications, it is not designed to be - used from multiple threads concurrently. SpinWait's members are not thread-safe. If multiple - threads must spin, each should use its own instance of SpinWait. - - - - - - Performs a single spin. - - - This is typically called in a loop, and may change in behavior based on the number of times a - has been called thus far on this instance. - - - - - Resets the spin counter. - - - This makes and behave as though no calls - to had been issued on this instance. If a instance - is reused many times, it may be useful to reset it to avoid yielding too soon. - - - - - Spins until the specified condition is satisfied. - - A delegate to be executed over and over until it returns true. - The argument is null. - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - - A that represents the number of milliseconds to wait, - or a TimeSpan that represents -1 milliseconds to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a negative number - other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than - . - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - The number of milliseconds to wait, or (-1) to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a - negative number other than -1, which represents an infinite time-out. - - - - Gets the number of times has been called on this instance. - - - - - Gets whether the next call to will yield the processor, triggering a - forced context switch. - - Whether the next call to will yield the processor, triggering a - forced context switch. - - On a single-CPU machine, always yields the processor. On machines with - multiple CPUs, may yield after an unspecified number of calls. - - - - - A helper class to get the number of preocessors, it updates the numbers of processors every sampling interval - - - - - Gets the number of available processors - - - - - Gets whether the current machine has only a single processor. - - - - - Represents an asynchronous operation that produces a result at some time in the future. - - - The type of the result produced by this . - - - - instances may be created in a variety of ways. The most common approach is by - using the task's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs a function, the factory's StartNew - method may be used: - - // C# - var t = Task<int>.Factory.StartNew(() => GenerateResult()); - - or - - var t = Task.Factory.StartNew(() => GenerateResult()); - - ' Visual Basic - Dim t = Task<int>.Factory.StartNew(Function() GenerateResult()) - - or - - Dim t = Task.Factory.StartNew(Function() GenerateResult()) - - - - The class also provides constructors that initialize the task but that do not - schedule it for execution. For performance reasons, the StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - Start - method may then be used to schedule the task for execution at a later time. - - - All members of , except for - Dispose, are thread-safe - and may be used from multiple threads concurrently. - - - - - - Represents an asynchronous operation. - - - - instances may be created in a variety of ways. The most common approach is by - using the Task type's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs an action, the factory's StartNew - method may be used: - - // C# - var t = Task.Factory.StartNew(() => DoAction()); - - ' Visual Basic - Dim t = Task.Factory.StartNew(Function() DoAction()) - - - - The class also provides constructors that initialize the Task but that do not - schedule it for execution. For performance reasons, TaskFactory's StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - method may then be used to schedule the task for execution at a later time. - - - All members of , except for , are thread-safe - and may be used from multiple threads concurrently. - - - For operations that return values, the class - should be used. - - - For developers implementing custom debuggers, several internal and private members of Task may be - useful (these may change from release to release). The Int32 m_taskId field serves as the backing - store for the property, however accessing this field directly from a debugger may be - more efficient than accessing the same value through the property's getter method (the - s_taskIdCounter Int32 counter is used to retrieve the next available ID for a Task). Similarly, the - Int32 m_stateFlags field stores information about the current lifecycle stage of the Task, - information also accessible through the property. The m_action System.Object - field stores a reference to the Task's delegate, and the m_stateObject System.Object field stores the - async state passed to the Task by the developer. Finally, for debuggers that parse stack frames, the - InternalWait method serves a potential marker for when a Task is entering a wait operation. - - - - - - A type initializer that runs with the appropriate permissions. - - - - - Initializes a new with the specified action. - - The delegate that represents the code to execute in the Task. - The argument is null. - - - - Initializes a new with the specified action and CancellationToken. - - The delegate that represents the code to execute in the Task. - The CancellationToken - that will be assigned to the new Task. - The argument is null. - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and state. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - An internal constructor used by the factory methods on task and its descendent(s). - This variant does not capture the ExecutionContext; it is up to the caller to do that. - - An action to execute. - Optional state to pass to the action. - Parent of Task. - A CancellationToken for the task. - A task scheduler under which the task will run. - Options to control its execution. - Internal options to control its execution - - - - Common logic used by the following internal ctors: - Task() - Task(object action, object state, Task parent, TaskCreationOptions options, TaskScheduler taskScheduler) - - ASSUMES THAT m_creatingTask IS ALREADY SET. - - - Action for task to execute. - Object to which to pass to action (may be null) - Task scheduler on which to run thread (only used by continuation tasks). - A CancellationToken for the Task. - Options to customize behavior of Task. - Internal options to customize behavior of Task. - - - - Checks if we registered a CT callback during construction, and deregisters it. - This should be called when we know the registration isn't useful anymore. Specifically from Finish() if the task has completed - successfully or with an exception. - - - - - Captures the ExecutionContext so long as flow isn't suppressed. - - A stack crawl mark pointing to the frame of the caller. - - - - Internal function that will be called by a new child task to add itself to - the children list of the parent (this). - - Since a child task can only be created from the thread executing the action delegate - of this task, reentrancy is neither required nor supported. This should not be called from - anywhere other than the task construction/initialization codepaths. - - - - - Starts the , scheduling it for execution to the current TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time - will result in an exception. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Starts the , scheduling it for execution to the specified TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - The TaskScheduler with which to associate - and execute this task. - - - The argument is null. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the current TaskScheduler. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - Tasks executed with will be associated with the current TaskScheduler. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the scheduler provided. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - The parameter - is null. - The scheduler on which to attempt to run this task inline. - - - - Throws an exception if the task has been disposed, and hence can no longer be accessed. - - The task has been disposed. - - - - Sets the internal completion event. - - - - - Disposes the , releasing all of its unmanaged resources. - - - Unlike most of the members of , this method is not thread-safe. - Also, may only be called on a that is in one of - the final states: RanToCompletion, - Faulted, or - Canceled. - - - The exception that is thrown if the is not in - one of the final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Disposes the , releasing all of its unmanaged resources. - - - A Boolean value that indicates whether this method is being called due to a call to . - - - Unlike most of the members of , this method is not thread-safe. - - - - - Schedules the task for execution. - - If true, TASK_STATE_STARTED bit is turned on in - an atomic fashion, making sure that TASK_STATE_CANCELED does not get set - underneath us. If false, TASK_STATE_STARTED bit is OR-ed right in. This - allows us to streamline things a bit for StartNew(), where competing cancellations - are not a problem. - - - - Adds an exception to the list of exceptions this task has thrown. - - An object representing either an Exception or a collection of Exceptions. - - - - Returns a list of exceptions by aggregating the holder's contents. Or null if - no exceptions have been thrown. - - Whether to include a TCE if cancelled. - An aggregate exception, or null if no exceptions have been caught. - - - - Throws an aggregate exception if the task contains exceptions. - - - - - Checks whether this is an attached task, and whether we are being called by the parent task. - And sets the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag based on that. - - This is meant to be used internally when throwing an exception, and when WaitAll is gathering - exceptions for tasks it waited on. If this flag gets set, the implicit wait on children - will skip exceptions to prevent duplication. - - This should only be called when this task has completed with an exception - - - - - - Signals completion of this particular task. - - The bUserDelegateExecuted parameter indicates whether this Finish() call comes following the - full execution of the user delegate. - - If bUserDelegateExecuted is false, it mean user delegate wasn't invoked at all (either due to - a cancellation request, or because this task is a promise style Task). In this case, the steps - involving child tasks (i.e. WaitForChildren) will be skipped. - - - - - - FinishStageTwo is to be executed as soon as we known there are no more children to complete. - It can happen i) either on the thread that originally executed this task (if no children were spawned, or they all completed by the time this task's delegate quit) - ii) or on the thread that executed the last child. - - - - - Final stage of the task completion code path. Notifies the parent (if any) that another of its childre are done, and runs continuations. - This function is only separated out from FinishStageTwo because these two operations are also needed to be called from CancellationCleanupLogic() - - - - - This is called by children of this task when they are completed. - - - - - This is to be called just before the task does its final state transition. - It traverses the list of exceptional children, and appends their aggregate exceptions into this one's exception list - - - - - Special purpose Finish() entry point to be used when the task delegate throws a ThreadAbortedException - This makes a note in the state flags so that we avoid any costly synchronous operations in the finish codepath - such as inlined continuations - - - Indicates whether the ThreadAbortException was added to this task's exception holder. - This should always be true except for the case of non-root self replicating task copies. - - Whether the delegate was executed. - - - - Executes the task. This method will only be called once, and handles bookeeping associated with - self-replicating tasks, in addition to performing necessary exception marshaling. - - The task has already been disposed. - - - - IThreadPoolWorkItem override, which is the entry function for this task when the TP scheduler decides to run it. - - - - - - Outermost entry function to execute this task. Handles all aspects of executing a task on the caller thread. - Currently this is called by IThreadPoolWorkItem.ExecuteWorkItem(), and TaskManager.TryExecuteInline. - - - Performs atomic updates to prevent double execution. Should only be set to true - in codepaths servicing user provided TaskSchedulers. The ConcRT or ThreadPool schedulers don't need this. - - - - The actual code which invokes the body of the task. This can be overriden in derived types. - - - - - Alternate InnerInvoke prototype to be called from ExecuteSelfReplicating() so that - the Parallel Debugger can discover the actual task being invoked. - Details: Here, InnerInvoke is actually being called on the rootTask object while we are actually executing the - childTask. And the debugger needs to discover the childTask, so we pass that down as an argument. - The NoOptimization and NoInlining flags ensure that the childTask pointer is retained, and that this - function appears on the callstack. - - - - - - Performs whatever handling is necessary for an unhandled exception. Normally - this just entails adding the exception to the holder object. - - The exception that went unhandled. - - - - Waits for the to complete execution. - - - The was canceled -or- an exception was thrown during - the execution of the . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A to observe while waiting for the task to complete. - - - The was canceled. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - true if the completed execution within the allotted time; otherwise, - false. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the task to complete. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - The core wait function, which is only accesible internally. It's meant to be used in places in TPL code where - the current context is known or cached. - - - - - Cancels the . - - Indiactes whether we should only cancel non-invoked tasks. - For the default scheduler this option will only be serviced through TryDequeue. - For custom schedulers we also attempt an atomic state transition. - true if the task was successfully canceled; otherwise, false. - The - has been disposed. - - - - Sets the task's cancellation acknowledged flag. - - - - - Runs all of the continuations, as appropriate. - - - - - Helper function to determine whether the current task is in the state desired by the - continuation kind under evaluation. Three possibilities exist: the task failed with - an unhandled exception (OnFailed), the task was canceled before running (OnAborted), - or the task completed successfully (OnCompletedSuccessfully). Note that the last - one includes completing due to cancellation. - - The continuation options under evaluation. - True if the continuation should be run given the task's current state. - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - The that will be assigned to the new continuation task. - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Converts TaskContinuationOptions to TaskCreationOptions, and also does - some validity checking along the way. - - Incoming TaskContinuationOptions - Outgoing TaskCreationOptions - Outgoing InternalTaskOptions - - - - Registers the continuation and possibly runs it (if the task is already finished). - - The continuation task itself. - TaskScheduler with which to associate continuation task. - Restrictions on when the continuation becomes active. - - - - Waits for all of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The was canceled. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Waits for a set of handles in a STA-aware way. In other words, it will wait for each - of the events individually if we're on a STA thread, because MsgWaitForMultipleObjectsEx - can't do a true wait-all due to its hidden message queue event. This is not atomic, - of course, but we only wait on one-way (MRE) events anyway so this is OK. - - An array of wait handles to wait on. - The timeout to use during waits. - The cancellationToken that enables a wait to be canceled. - True if all waits succeeded, false if a timeout occurred. - - - - Internal WaitAll implementation which is meant to be used with small number of tasks, - optimized for Parallel.Invoke and other structured primitives. - - - - - This internal function is only meant to be called by WaitAll() - If the completed task is canceled or it has other exceptions, here we will add those - into the passed in exception list (which will be lazily initialized here). - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - The index of the completed task in the array argument. - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - The was canceled. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Gets a unique ID for this Task instance. - - - Task IDs are assigned on-demand and do not necessarily represent the order in the which Task - instances were created. - - - - - Returns the unique ID of the currently executing Task. - - - - - Gets the Task instance currently executing, or - null if none exists. - - - - - Gets the Exception that caused the Task to end prematurely. If the Task completed successfully or has not yet thrown any - exceptions, this will return null. - - - Tasks that throw unhandled exceptions store the resulting exception and propagate it wrapped in a - in calls to Wait - or in accesses to the property. Any exceptions not observed by the time - the Task instance is garbage collected will be propagated on the finalizer thread. - - - The Task - has been disposed. - - - - - Gets the TaskStatus of this Task. - - - - - Gets whether this Task instance has completed - execution due to being canceled. - - - A Task will complete in Canceled state either if its CancellationToken - was marked for cancellation before the task started executing, or if the task acknowledged the cancellation request on - its already signaled CancellationToken by throwing an - OperationCanceledException2 that bears the same - CancellationToken. - - - - - Returns true if this task has a cancellation token and it was signaled. - To be used internally in execute entry codepaths. - - - - - This internal property provides access to the CancellationToken that was set on the task - when it was constructed. - - - - - Gets whether this threw an OperationCanceledException2 while its CancellationToken was signaled. - - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Checks whether this task has been disposed. - - - - - Gets the TaskCreationOptions used - to create this task. - - - - - Gets a that can be used to wait for the task to - complete. - - - Using the wait functionality provided by - should be preferred over using for similar - functionality. - - - The has been disposed. - - - - - Gets the state object supplied when the Task was created, - or null if none was supplied. - - - - - Gets an indication of whether the asynchronous operation completed synchronously. - - true if the asynchronous operation completed synchronously; otherwise, false. - - - - Provides access to the TaskScheduler responsible for executing this Task. - - - - - Provides access to factory methods for creating and instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on TaskFactory. - - - - - Provides an event that can be used to wait for completion. - Only called by Wait*(), which means that we really do need to instantiate a completion event. - - - - - Determines whether this is the root task of a self replicating group. - - - - - Determines whether the task is a replica itself. - - - - - The property formerly known as IsFaulted. - - - - - Gets whether the completed due to an unhandled exception. - - - If is true, the Task's will be equal to - TaskStatus.Faulted, and its - property will be non-null. - - - - - Checks whether the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag is set, - This will only be used by the implicit wait to prevent double throws - - - - - - Checks whether the body was ever invoked. Used by task scheduler code to verify custom schedulers actually ran the task. - - - - - A structure to hold continuation information. - - - - - Constructs a new continuation structure. - - The task to be activated. - The continuation options. - The scheduler to use for the continuation. - - - - Invokes the continuation for the target completion task. - - The completed task. - Whether the continuation can be inlined. - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The argument is null. - - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The to be assigned to this task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and state. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Creates a new future object. - - The parent task for this future. - A function that yields the future value. - The task scheduler which will be used to execute the future. - The CancellationToken for the task. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Creates a new future object. - - The parent task for this future. - An object containing data to be used by the action; may be null. - A function that yields the future value. - The CancellationToken for the task. - The task scheduler which will be used to execute the future. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Evaluates the value selector of the Task which is passed in as an object and stores the result. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new task. - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . This task's completion state will be transferred to the task returned - from the ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be passed as - an argument this completed task. - - The that will be assigned to the new task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . - This task's completion state will be transferred to the task returned from the - ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Gets the result value of this . - - - The get accessor for this property ensures that the asynchronous operation is complete before - returning. Once the result of the computation is available, it is stored and will be returned - immediately on later calls to . - - - - - Provides access to factory methods for creating instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on the factory type. - - - - - Provides support for creating and scheduling - Task{TResult} objects. - - The type of the results that are available though - the Task{TResult} objects that are associated with - the methods in this class. - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task{TResult}.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the default configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory{TResult}. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory{TResult}. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The that will be assigned to the new task. - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory{TResult}. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory{TResult}. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory{TResult}. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents the current stage in the lifecycle of a . - - - - - The task has been initialized but has not yet been scheduled. - - - - - The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure. - - - - - The task has been scheduled for execution but has not yet begun executing. - - - - - The task is running but has not yet completed. - - - - - The task has finished executing and is implicitly waiting for - attached child tasks to complete. - - - - - The task completed execution successfully. - - - - - The task acknowledged cancellation by throwing an OperationCanceledException2 with its own CancellationToken - while the token was in signaled state, or the task's CancellationToken was already signaled before the - task started executing. - - - - - The task completed due to an unhandled exception. - - - - - Specifies flags that control optional behavior for the creation and execution of tasks. - - - - - Specifies that the default behavior should be used. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides a hint to the - TaskScheduler that oversubscription may be - warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Task creation flags which are only used internally. - - - - Specifies "No internal task options" - - - Used to filter out internal vs. public task creation options. - - - Specifies that the task will be queued by the runtime before handing it over to the user. - This flag will be used to skip the cancellationtoken registration step, which is only meant for unstarted tasks. - - - - Specifies flags that control optional behavior for the creation and execution of continuation tasks. - - - - - Default = "Continue on any, no task options, run asynchronously" - Specifies that the default behavior should be used. Continuations, by default, will - be scheduled when the antecedent task completes, regardless of the task's final TaskStatus. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides - a hint to the TaskScheduler that - oversubscription may be warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Specifies that the continuation task should not be scheduled if its antecedent ran to completion. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled - exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent was canceled. This - option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent ran to - completion. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent threw an - unhandled exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent was canceled. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be executed synchronously. With this option - specified, the continuation will be run on the same thread that causes the antecedent task to - transition into its final state. If the antecedent is already complete when the continuation is - created, the continuation will run on the thread creating the continuation. Only very - short-running continuations should be executed synchronously. - - - - - Represents an exception used to communicate task cancellation. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the - class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the - class with a specified error message and a reference to the inner exception that is the cause of - this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - - Initializes a new instance of the class - with a reference to the that has been canceled. - - A task that has been canceled. - - - - Gets the task associated with this exception. - - - It is permissible for no Task to be associated with a - , in which case - this property will return null. - - - - - Represents the producer side of a unbound to a - delegate, providing access to the consumer side through the property. - - - - It is often the case that a is desired to - represent another asynchronous operation. - TaskCompletionSource is provided for this purpose. It enables - the creation of a task that can be handed out to consumers, and those consumers can use the members - of the task as they would any other. However, unlike most tasks, the state of a task created by a - TaskCompletionSource is controlled explicitly by the methods on TaskCompletionSource. This enables the - completion of the external asynchronous operation to be propagated to the underlying Task. The - separation also ensures that consumers are not able to transition the state without access to the - corresponding TaskCompletionSource. - - - All members of are thread-safe - and may be used from multiple threads concurrently. - - - The type of the result value assocatied with this . - - - - Creates a . - - - - - Creates a - with the specified options. - - - The created - by this instance and accessible through its property - will be instantiated using the specified . - - The options to use when creating the underlying - . - - The represent options invalid for use - with a . - - - - - Creates a - with the specified state. - - The state to use as the underlying - 's AsyncState. - - - - Creates a with - the specified state and options. - - The options to use when creating the underlying - . - The state to use as the underlying - 's AsyncState. - - The represent options invalid for use - with a . - - - - - Attempts to transition the underlying - into the - Faulted - state. - - The exception to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - The was disposed. - - - - Attempts to transition the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - There are one or more null elements in . - The collection is empty. - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The exception to bind to this . - The argument is null. - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - The argument is null. - There are one or more null elements in . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Canceled - state. - - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - Canceled - state. - - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Gets the created - by this . - - - This property enables a consumer access to the that is controlled by this instance. - The , , - , and - methods (and their "Try" variants) on this instance all result in the relevant state - transitions on this underlying Task. - - - - - An exception holder manages a list of exceptions for one particular task. - It offers the ability to aggregate, but more importantly, also offers intrinsic - support for propagating unhandled exceptions that are never observed. It does - this by aggregating and throwing if the holder is ever GC'd without the holder's - contents ever having been requested (e.g. by a Task.Wait, Task.get_Exception, etc). - - - - - Creates a new holder; it will be registered for finalization. - - The task this holder belongs to. - - - - A finalizer that repropagates unhandled exceptions. - - - - - Add an exception to the internal list. This will ensure the holder is - in the proper state (handled/unhandled) depending on the list's contents. - - An exception object (either an Exception or an - IEnumerable{Exception}) to add to the list. - - - - A private helper method that ensures the holder is considered - unhandled, i.e. it is registered for finalization. - - - - - A private helper method that ensures the holder is considered - handled, i.e. it is not registered for finalization. - - Whether this is called from the finalizer thread. - - - - Allocates a new aggregate exception and adds the contents of the list to - it. By calling this method, the holder assumes exceptions to have been - "observed", such that the finalization check will be subsequently skipped. - - Whether this is being called from a finalizer. - An extra exception to be included (optionally). - The aggregate exception to throw. - - - - Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of - instances. - - - - - Creates a proxy Task that represents the - asynchronous operation of a Task{Task}. - - - It is often useful to be able to return a Task from a - Task{TResult}, where the inner Task represents work done as part of the outer Task{TResult}. However, - doing so results in a Task{Task}, which, if not dealt with carefully, could produce unexpected behavior. Unwrap - solves this problem by creating a proxy Task that represents the entire asynchronous operation of such a Task{Task}. - - The Task{Task} to unwrap. - The exception that is thrown if the - argument is null. - A Task that represents the asynchronous operation of the provided Task{Task}. - - - - Creates a proxy Task{TResult} that represents the - asynchronous operation of a Task{Task{TResult}}. - - - It is often useful to be able to return a Task{TResult} from a Task{TResult}, where the inner Task{TResult} - represents work done as part of the outer Task{TResult}. However, doing so results in a Task{Task{TResult}}, - which, if not dealt with carefully, could produce unexpected behavior. Unwrap solves this problem by - creating a proxy Task{TResult} that represents the entire asynchronous operation of such a Task{Task{TResult}}. - - The Task{Task{TResult}} to unwrap. - The exception that is thrown if the - argument is null. - A Task{TResult} that represents the asynchronous operation of the provided Task{Task{TResult}}. /// Unwraps a Task that returns another Task. - - - - Provides support for creating and scheduling - Tasks. - - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new task. - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Check validity of options passed to FromAsync method - - The options to be validated. - determines type of FromAsync method that called this method - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents an abstract scheduler for tasks. - - - - TaskScheduler acts as the extension point for all - pluggable scheduling logic. This includes mechanisms such as how to schedule a task for execution, and - how scheduled tasks should be exposed to debuggers. - - - All members of the abstract type are thread-safe - and may be used from multiple threads concurrently. - - - - - - Queues a Task to the scheduler. - - - - A class derived from TaskScheduler - implements this method to accept tasks being scheduled on the scheduler. - A typical implementation would store the task in an internal data structure, which would - be serviced by threads that would execute those tasks at some time in the future. - - - This method is only meant to be called by the .NET Framework and - should not be called directly by the derived class. This is necessary - for maintaining the consistency of the system. - - - The Task to be queued. - The argument is null. - - - - Determines whether the provided Task - can be executed synchronously in this call, and if it can, executes it. - - - - A class derived from TaskScheduler implements this function to - support inline execution of a task on a thread that initiates a wait on that task object. Inline - execution is optional, and the request may be rejected by returning false. However, better - scalability typically results the more tasks that can be inlined, and in fact a scheduler that - inlines too little may be prone to deadlocks. A proper implementation should ensure that a - request executing under the policies guaranteed by the scheduler can successfully inline. For - example, if a scheduler uses a dedicated thread to execute tasks, any inlining requests from that - thread should succeed. - - - If a scheduler decides to perform the inline execution, it should do so by calling to the base - TaskScheduler's - TryExecuteTask method with the provided task object, propagating - the return value. It may also be appropriate for the scheduler to remove an inlined task from its - internal data structures if it decides to honor the inlining request. Note, however, that under - some circumstances a scheduler may be asked to inline a task that was not previously provided to - it with the method. - - - The derived scheduler is responsible for making sure that the calling thread is suitable for - executing the given task as far as its own scheduling and execution policies are concerned. - - - The Task to be - executed. - A Boolean denoting whether or not task has previously been - queued. If this parameter is True, then the task may have been previously queued (scheduled); if - False, then the task is known not to have been queued, and this call is being made in order to - execute the task inline without queueing it. - A Boolean value indicating whether the task was executed inline. - The argument is - null. - The was already - executed. - - - - Generates an enumerable of Task instances - currently queued to the scheduler waiting to be executed. - - - - A class derived from implements this method in order to support - integration with debuggers. This method will only be invoked by the .NET Framework when the - debugger requests access to the data. The enumerable returned will be traversed by debugging - utilities to access the tasks currently queued to this scheduler, enabling the debugger to - provide a representation of this information in the user interface. - - - It is important to note that, when this method is called, all other threads in the process will - be frozen. Therefore, it's important to avoid synchronization with other threads that may lead to - blocking. If synchronization is necessary, the method should prefer to throw a - than to block, which could cause a debugger to experience delays. Additionally, this method and - the enumerable returned must not modify any globally visible state. - - - The returned enumerable should never be null. If there are currently no queued tasks, an empty - enumerable should be returned instead. - - - For developers implementing a custom debugger, this method shouldn't be called directly, but - rather this functionality should be accessed through the internal wrapper method - GetScheduledTasksForDebugger: - internal Task[] GetScheduledTasksForDebugger(). This method returns an array of tasks, - rather than an enumerable. In order to retrieve a list of active schedulers, a debugger may use - another internal method: internal static TaskScheduler[] GetTaskSchedulersForDebugger(). - This static method returns an array of all active TaskScheduler instances. - GetScheduledTasksForDebugger then may be used on each of these scheduler instances to retrieve - the list of scheduled tasks for each. - - - An enumerable that allows traversal of tasks currently queued to this scheduler. - - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Retrieves some thread static state that can be cached and passed to multiple - TryRunInline calls, avoiding superflous TLS fetches. - - A bag of TLS state (or null if none exists). - - - - Attempts to execute the target task synchronously. - - The task to run. - True if the task may have been previously queued, - false if the task was absolutely not previously queued. - The state retrieved from GetThreadStatics - True if it ran, false otherwise. - - - - Attempts to dequeue a Task that was previously queued to - this scheduler. - - The Task to be dequeued. - A Boolean denoting whether the argument was successfully dequeued. - The argument is null. - - - - Notifies the scheduler that a work item has made progress. - - - - - Initializes the . - - - - - Frees all resources associated with this scheduler. - - - - - Creates a - associated with the current . - - - All Task instances queued to - the returned scheduler will be executed through a call to the - Post method - on that context. - - - A associated with - the current SynchronizationContext, as - determined by SynchronizationContext.Current. - - - The current SynchronizationContext may not be used as a TaskScheduler. - - - - - Attempts to execute the provided Task - on this scheduler. - - - - Scheduler implementations are provided with Task - instances to be executed through either the method or the - method. When the scheduler deems it appropriate to run the - provided task, should be used to do so. TryExecuteTask handles all - aspects of executing a task, including action invocation, exception handling, state management, - and lifecycle control. - - - must only be used for tasks provided to this scheduler by the .NET - Framework infrastructure. It should not be used to execute arbitrary tasks obtained through - custom mechanisms. - - - - A Task object to be executed. - - The is not associated with this scheduler. - - A Boolean that is true if was successfully executed, false if it - was not. A common reason for execution failure is that the task had previously been executed or - is in the process of being executed by another thread. - - - - Provides an array of all queued Task instances - for the debugger. - - - The returned array is populated through a call to . - Note that this function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of Task instances. - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Provides an array of all active TaskScheduler - instances for the debugger. - - - This function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of TaskScheduler instances. - - - - Registers a new TaskScheduler instance in the global collection of schedulers. - - - - - Removes a TaskScheduler instance from the global collection of schedulers. - - - - - Indicates the maximum concurrency level this - is able to support. - - - - - Indicates whether this is a custom scheduler, in which case the safe code paths will be taken upon task entry - using a CAS to transition from queued state to executing. - - - - - Gets the default TaskScheduler instance. - - - - - Gets the TaskScheduler - associated with the currently executing task. - - - When not called from within a task, will return the scheduler. - - - - - Gets the unique ID for this . - - - - - Occurs when a faulted 's unobserved exception is about to trigger exception escalation - policy, which, by default, would terminate the process. - - - This AppDomain-wide event provides a mechanism to prevent exception - escalation policy (which, by default, terminates the process) from triggering. - Each handler is passed a - instance, which may be used to examine the exception and to mark it as observed. - - - - - Nested class that provides debugger view for TaskScheduler - - - - Default thread pool scheduler. - - - - A TaskScheduler implementation that executes all tasks queued to it through a call to - on the - that its associated with. The default constructor for this class binds to the current - - - - - Constructs a SynchronizationContextTaskScheduler associated with - - This constructor expects to be set. - - - - Implemetation of for this scheduler class. - - Simply posts the tasks to be executed on the associated . - - - - - - Implementation of for this scheduler class. - - The task will be executed inline only if the call happens within - the associated . - - - - - - - Implementes the property for - this scheduler class. - - By default it returns 1, because a based - scheduler only supports execution on a single thread. - - - - - Provides data for the event that is raised when a faulted 's - exception goes unobserved. - - - The Exception property is used to examine the exception without marking it - as observed, whereas the method is used to mark the exception - as observed. Marking the exception as observed prevents it from triggering exception escalation policy - which, by default, terminates the process. - - - - - Initializes a new instance of the class - with the unobserved exception. - - The Exception that has gone unobserved. - - - - Marks the as "observed," thus preventing it - from triggering exception escalation policy which, by default, terminates the process. - - - - - Gets whether this exception has been marked as "observed." - - - - - The Exception that went unobserved. - - - - - Represents an exception used to communicate an invalid operation by a - . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the - class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the - class using the default error message and a reference to the inner exception that is the cause of - this exception. - - The exception that is the cause of the current exception. - - - - Initializes a new instance of the - class with a specified error message and a reference to the inner exception that is the cause of - this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.dll deleted file mode 100644 index 4a865fc..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.xml deleted file mode 100644 index b47921e..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.xml +++ /dev/null @@ -1,475 +0,0 @@ - - - - System.Threading.Tasks - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.dll deleted file mode 100644 index 4a865fc..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.xml deleted file mode 100644 index b47921e..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.xml +++ /dev/null @@ -1,475 +0,0 @@ - - - - System.Threading.Tasks - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.dll deleted file mode 100644 index 578c237..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.xml deleted file mode 100644 index 865aa1a..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - System.IO - - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.dll deleted file mode 100644 index 4a865fc..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.xml deleted file mode 100644 index b47921e..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.xml +++ /dev/null @@ -1,475 +0,0 @@ - - - - System.Threading.Tasks - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net45+win8+wp8+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net45+win8+wp8+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net45+win8+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net45+win8+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net451+win81+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net451+win81+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net451+win81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net451+win81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-win81+wp81+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/portable-win81+wp81+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.dll deleted file mode 100644 index 88e07e2..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.xml deleted file mode 100644 index 53f5bef..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.xml +++ /dev/null @@ -1,860 +0,0 @@ - - - - System.Runtime - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Argument must be of type {0}.. - - - - - Looks up a localized string similar to The last element of an eight element tuple must be a Tuple.. - - - - - Defines methods to support the comparison of objects for structural equality. - - - - - Determines whether an object is structurally equal to the current instance. - - The object to compare with the current instance. - An object that determines whether the current instance and other are equal. - true if the two objects are equal; otherwise, false. - - - - Returns a hash code for the current instance. - - An object that computes the hash code of the current object. - The hash code for the current instance. - - - - Supports the structural comparison of collection objects. - - - - - Determines whether the current collection object precedes, occurs in the same position as, or follows another object in the sort order. - - The object to compare with the current instance. - An object that compares members of the current collection object with the corresponding members of other. - An integer that indicates the relationship of the current collection object to other. - - This instance and other are not the same type. - - - - - Encapsulates a method that has five parameters and returns a value of the type specified by the TResult parameter. - - The type of the first parameter of the method that this delegate encapsulates. - The type of the second parameter of the method that this delegate encapsulates. - The type of the third parameter of the method that this delegate encapsulates. - The type of the fourth parameter of the method that this delegate encapsulates. - The type of the fifth parameter of the method that this delegate encapsulates. - The type of the return value of the method that this delegate encapsulates. - The first parameter of the method that this delegate encapsulates. - The second parameter of the method that this delegate encapsulates. - The third parameter of the method that this delegate encapsulates. - The fourth parameter of the method that this delegate encapsulates. - The fifth parameter of the method that this delegate encapsulates. - The return value of the method that this delegate encapsulates. - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - - Helper so we can call some tuple methods recursively without knowing the underlying types. - - - - - Provides static methods for creating tuple objects. - - - - - Creates a new 1-tuple, or singleton. - - The type of the only component of the tuple. - The value of the only component of the tuple. - A tuple whose value is (item1). - - - - Creates a new 3-tuple, or pair. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - An 2-tuple (pair) whose value is (item1, item2). - - - - Creates a new 3-tuple, or triple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - An 3-tuple (triple) whose value is (item1, item2, item3). - - - - Creates a new 4-tuple, or quadruple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - An 4-tuple (quadruple) whose value is (item1, item2, item3, item4). - - - - Creates a new 5-tuple, or quintuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - An 5-tuple (quintuple) whose value is (item1, item2, item3, item4, item5). - - - - Creates a new 6-tuple, or sextuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - An 6-tuple (sextuple) whose value is (item1, item2, item3, item4, item5, item6). - - - - Creates a new 7-tuple, or septuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - An 7-tuple (septuple) whose value is (item1, item2, item3, item4, item5, item6, item7). - - - - Creates a new 8-tuple, or octuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - The type of the eighth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - The value of the eighth component of the tuple. - An 8-tuple (octuple) whose value is (item1, item2, item3, item4, item5, item6, item7, item8). - - - - Represents a 1-tuple, or singleton. - - The type of the tuple's only component. - - - - Initializes a new instance of the class. - - The value of the current tuple object's single component. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the tuple object's single component. - - - The value of the current tuple object's single component. - - - - - Represents an 2-tuple, or pair. - - The type of the first component of the tuple. - The type of the second component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Represents an 3-tuple, or triple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Represents an 4-tuple, or quadruple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Represents an 5-tuple, or quintuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Represents an 6-tuple, or sextuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Gets the value of the current tuple object's sixth component. - - - The value of the current tuple object's sixth component. - - - - - Represents an 7-tuple, or septuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Gets the value of the current tuple object's sixth component. - - - The value of the current tuple object's sixth component. - - - - - Gets the value of the current tuple object's seventh component. - - - The value of the current tuple object's seventh component. - - - - - Represents an n-tuple, where n is 8 or greater. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - Any generic Tuple object that defines the types of the tuple's remaining components. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - Any generic Tuple object that contains the values of the tuple's remaining components. - - rest is not a generic Tuple object. - - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Gets the value of the current tuple object's sixth component. - - - The value of the current tuple object's sixth component. - - - - - Gets the value of the current tuple object's seventh component. - - - The value of the current tuple object's seventh component. - - - - - Gets the current tuple object's remaining components. - - - The value of the current tuple object's remaining components. - - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.dll deleted file mode 100644 index 23d6d1a..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.xml deleted file mode 100644 index 6c77012..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.xml +++ /dev/null @@ -1,8969 +0,0 @@ - - - - System.Threading.Tasks - - - - Represents one or more errors that occur during application execution. - - is used to consolidate multiple failures into a single, throwable - exception object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a specified error - message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - The argument - is null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Allocates a new aggregate exception with the specified message and list of inner exceptions. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Returns the that is the root cause of this exception. - - - - - Invokes a handler on each contained by this . - - The predicate to execute for each exception. The predicate accepts as an - argument the to be processed and returns a Boolean to indicate - whether the exception was handled. - - Each invocation of the returns true or false to indicate whether the - was handled. After all invocations, if any exceptions went - unhandled, all unhandled exceptions will be put into a new - which will be thrown. Otherwise, the method simply returns. If any - invocations of the throws an exception, it will halt the processing - of any more exceptions and immediately propagate the thrown exception as-is. - - An exception contained by this was not handled. - The argument is - null. - - - - Flattens an instances into a single, new instance. - - A new, flattened . - - If any inner exceptions are themselves instances of - , this method will recursively flatten all of them. The - inner exceptions returned in the new - will be the union of all of the the inner exceptions from exception tree rooted at the provided - instance. - - - - - Creates and returns a string representation of the current . - - A string representation of the current exception. - - - - Gets a read-only collection of the instances that caused the - current exception. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to One or more errors occurred.. - - - - - Looks up a localized string similar to An element of innerExceptions was null.. - - - - - Looks up a localized string similar to {0}{1}---> (Inner Exception #{2}) {3}{4}{5}. - - - - - Looks up a localized string similar to No tokens were supplied.. - - - - - Looks up a localized string similar to The CancellationTokenSource associated with this CancellationToken has been disposed.. - - - - - Looks up a localized string similar to The CancellationTokenSource has been disposed.. - - - - - Looks up a localized string similar to The SyncRoot property may not be used for the synchronization of concurrent collections.. - - - - - Looks up a localized string similar to The array is multidimensional, or the type parameter for the set cannot be cast automatically to the type of the destination array.. - - - - - Looks up a localized string similar to The index is equal to or greater than the length of the array, or the number of elements in the dictionary is greater than the available space from index to the end of the destination array.. - - - - - Looks up a localized string similar to The capacity argument must be greater than or equal to zero.. - - - - - Looks up a localized string similar to The concurrencyLevel argument must be positive.. - - - - - Looks up a localized string similar to The index argument is less than zero.. - - - - - Looks up a localized string similar to TKey is a reference type and item.Key is null.. - - - - - Looks up a localized string similar to The key already existed in the dictionary.. - - - - - Looks up a localized string similar to The source argument contains duplicate keys.. - - - - - Looks up a localized string similar to The key was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The value was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The lazily-initialized type does not have a public, parameterless constructor.. - - - - - Looks up a localized string similar to ValueFactory returned null.. - - - - - Looks up a localized string similar to The spinCount argument must be in the range 0 to {0}, inclusive.. - - - - - Looks up a localized string similar to There are too many threads currently waiting on the event. A maximum of {0} waiting threads are supported.. - - - - - Looks up a localized string similar to The event has been disposed.. - - - - - Looks up a localized string similar to The operation was canceled.. - - - - - Looks up a localized string similar to The condition argument is null.. - - - - - Looks up a localized string similar to The timeout must represent a value between -1 and Int32.MaxValue, inclusive.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions combined LongRunning and ExecuteSynchronously. Synchronous continuations should not be long running.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions excluded all continuation kinds.. - - - - - Looks up a localized string similar to (Internal)An attempt was made to create a LongRunning SelfReplicating task.. - - - - - Looks up a localized string similar to The value needs to translate in milliseconds to -1 (signifying an infinite timeout), 0 or a positive integer less than or equal to Int32.MaxValue.. - - - - - Looks up a localized string similar to The value needs to be either -1 (signifying an infinite timeout), 0 or a positive integer.. - - - - - Looks up a localized string similar to A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.LongRunning in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.PreferFairness in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating in calls to FromAsync.. - - - - - Looks up a localized string similar to FromAsync was called with a TaskManager that had already shut down.. - - - - - Looks up a localized string similar to The tasks argument contains no tasks.. - - - - - Looks up a localized string similar to It is invalid to exclude specific continuation kinds for continuations off of multiple tasks.. - - - - - Looks up a localized string similar to The tasks argument included a null value.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that was already started.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a continuation task.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that has already completed.. - - - - - Looks up a localized string similar to Start may not be called on a task that was already started.. - - - - - Looks up a localized string similar to Start may not be called on a continuation task.. - - - - - Looks up a localized string similar to Start may not be called on a task with null action.. - - - - - Looks up a localized string similar to Start may not be called on a promise-style task.. - - - - - Looks up a localized string similar to Start may not be called on a task that has completed.. - - - - - Looks up a localized string similar to The task has been disposed.. - - - - - Looks up a localized string similar to The tasks array included at least one null element.. - - - - - Looks up a localized string similar to The awaited task has not yet completed.. - - - - - Looks up a localized string similar to A task was canceled.. - - - - - Looks up a localized string similar to The exceptions collection was empty.. - - - - - Looks up a localized string similar to The exceptions collection included at least one null element.. - - - - - Looks up a localized string similar to A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.. - - - - - Looks up a localized string similar to (Internal)Expected an Exception or an IEnumerable<Exception>. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was already executed.. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was previously queued to a different TaskScheduler.. - - - - - Looks up a localized string similar to The current SynchronizationContext may not be used as a TaskScheduler.. - - - - - Looks up a localized string similar to The TryExecuteTaskInline call to the underlying scheduler succeeded, but the task body was not invoked.. - - - - - Looks up a localized string similar to An exception was thrown by a TaskScheduler.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating for a Task<TResult>.. - - - - - Looks up a localized string similar to {Not yet computed}. - - - - - Looks up a localized string similar to A task's Exception may only be set directly if the task was created without a function.. - - - - - Looks up a localized string similar to An attempt was made to transition a task to a final state when it had already completed.. - - - - - Represents a thread-safe collection of keys and values. - - The type of the keys in the dictionary. - The type of the values in the dictionary. - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads. - - - - - Initializes a new instance of the - class that is empty, has the default concurrency level, has the default initial capacity, and - uses the default comparer for the key type. - - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the default - comparer for the key type. - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - is - less than 1. - is less than - 0. - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency - level, has the default initial capacity, and uses the default comparer for the key type. - - The whose elements are copied to - the new - . - is a null reference - (Nothing in Visual Basic). - contains one or more - duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the specified - . - - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency level, has the default - initial capacity, and uses the specified - . - - The whose elements are copied to - the new - . - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). -or- - is a null reference (Nothing in Visual Basic). - - - - - Initializes a new instance of the - class that contains elements copied from the specified , - has the specified concurrency level, has the specified initial capacity, and uses the specified - . - - The estimated number of threads that will update the - concurrently. - The whose elements are copied to the new - . - The implementation to use - when comparing keys. - - is a null reference (Nothing in Visual Basic). - -or- - is a null reference (Nothing in Visual Basic). - - - is less than 1. - - contains one or more duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level, has the specified initial capacity, and - uses the specified . - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - The - implementation to use when comparing keys. - - is less than 1. -or- - is less than 0. - - is a null reference - (Nothing in Visual Basic). - - - - Attempts to add the specified key and value to the . - - The key of the element to add. - The value of the element to add. The value can be a null reference (Nothing - in Visual Basic) for reference types. - true if the key/value pair was added to the - successfully; otherwise, false. - is null reference - (Nothing in Visual Basic). - The - contains too many elements. - - - - Determines whether the contains the specified - key. - - The key to locate in the . - true if the contains an element with - the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Attempts to remove and return the the value with the specified key from the - . - - The key of the element to remove and return. - When this method returns, contains the object removed from the - or the default value of - if the operation failed. - true if an object was removed successfully; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Removes the specified key from the dictionary if it exists and returns its associated value. - If matchValue flag is set, the key will be removed only if is associated with a particular - value. - - The key to search for and remove if it exists. - The variable into which the removed value, if found, is stored. - Whether removal of the key is conditional on its value. - The conditional value to compare against if is true - - - - - Attempts to get the value associated with the specified key from the . - - The key of the value to get. - When this method returns, contains the object from - the - with the spedified key or the default value of - , if the operation failed. - true if the key was found in the ; - otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Compares the existing value for the specified key with a specified value, and if they’re equal, - updates the key with a third value. - - The key whose value is compared with and - possibly replaced. - The value that replaces the value of the element with if the comparison results in equality. - The value that is compared to the value of the element with - . - true if the value with was equal to and replaced with ; otherwise, - false. - is a null - reference. - - - - Removes all keys and values from the . - - - - - Copies the elements of the to an array of - type , starting at the - specified array index. - - The one-dimensional array of type - that is the destination of the elements copied from the . The array must have zero-based indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Copies the key and value pairs stored in the to a - new array. - - A new array containing a snapshot of key and value pairs copied from the . - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToPairs. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToEntries. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToObjects. - - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Shared internal implementation for inserts and updates. - If key exists, we always return false; and if updateIfExists == true we force update with value; - If key doesn't exist, we always add value and return true; - - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - The function used to generate a value for the key - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value for the key as returned by valueFactory - if the key was not in the dictionary. - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - the value to be added, if the key does not already exist - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value if the key was not in the dictionary. - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The function used to generate a value for an absent key - The function used to generate a new value for an existing key - based on the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The value to be added for an absent key - The function used to generate a new value for an existing key based on - the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds the specified key and value to the . - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - An element with the same key already exists in the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - true if the element is successfully remove; otherwise false. This method also returns - false if - was not found in the original . - - is a null reference - (Nothing in Visual Basic). - - - - Adds the specified value to the - with the specified key. - - The - structure representing the key and value to add to the . - The of is null. - The - contains too many elements. - An element with the same key already exists in the - - - - - Determines whether the - contains a specific key and value. - - The - structure to locate in the . - true if the is found in the ; otherwise, false. - - - - Removes a key and value from the dictionary. - - The - structure representing the key and value to remove from the . - true if the key and value represented by is successfully - found and removed; otherwise, false. - The Key property of is a null reference (Nothing in Visual Basic). - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Adds the specified key and value to the dictionary. - - The object to use as the key. - The object to use as the value. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - is of a type that is not assignable to the key type of the . -or- - is of a type that is not assignable to , - the type of values in the . - -or- A value with the same key already exists in the . - - - - - Gets whether the contains an - element with the specified key. - - The key to locate in the . - true if the contains - an element with the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - Provides an for the - . - An for the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - is a null reference - (Nothing in Visual Basic). - - - - Copies the elements of the to an array, starting - at the specified array index. - - The one-dimensional array that is the destination of the elements copied from - the . The array must have zero-based - indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Replaces the internal table with a larger one. To prevent multiple threads from resizing the - table as a result of races, the table of buckets that was deemed too small is passed in as - an argument to GrowTable(). GrowTable() obtains a lock, and then checks whether the bucket - table has been replaced in the meantime or not. - - Reference to the bucket table that was deemed too small. - - - - Computes the bucket and lock number for a particular key. - - - - - Acquires all locks for this hash table, and increments locksAcquired by the number - of locks that were successfully acquired. The locks are acquired in an increasing - order. - - - - - Acquires a contiguous range of locks for this hash table, and increments locksAcquired - by the number of locks that were successfully acquired. The locks are acquired in an - increasing order. - - - - - Releases a contiguous range of locks. - - - - - Gets a collection containing the keys in the dictionary. - - - - - Gets a collection containing the values in the dictionary. - - - - - A helper method for asserts. - - - - - Get the data array to be serialized - - - - - Construct the dictionary from a previously seiralized one - - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key. If the specified key is not found, a get - operation throws a - , and a set operation creates a new - element with the specified key. - is a null reference - (Nothing in Visual Basic). - The property is retrieved and - - does not exist in the collection. - - - - Gets the number of key/value pairs contained in the . - - The dictionary contains too many - elements. - The number of key/value paris contained in the . - Count has snapshot semantics and represents the number of items in the - at the moment when Count was accessed. - - - - Gets a value that indicates whether the is empty. - - true if the is empty; otherwise, - false. - - - - Gets a collection containing the keys in the . - - An containing the keys in the - . - - - - Gets a collection containing the values in the . - - An containing the values in - the - . - - - - Gets a value indicating whether the dictionary is read-only. - - true if the is - read-only; otherwise, false. For , this property always returns - false. - - - - Gets a value indicating whether the has a fixed size. - - true if the has a - fixed size; otherwise, false. For , this property always - returns false. - - - - Gets a value indicating whether the is read-only. - - true if the is - read-only; otherwise, false. For , this property always - returns false. - - - - Gets an containing the keys of the . - - An containing the keys of the . - - - - Gets an containing the values in the . - - An containing the values in the . - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key, or a null reference (Nothing in Visual Basic) - if is not in the dictionary or is of a type that is - not assignable to the key type of the . - is a null reference - (Nothing in Visual Basic). - - A value is being assigned, and is of a type that is not assignable to the - key type of the . -or- A value is being - assigned, and is of a type that is not assignable to the value type - of the - - - - - Gets a value indicating whether access to the is - synchronized with the SyncRoot. - - true if access to the is synchronized - (thread safe); otherwise, false. For , this property always - returns false. - - - - Gets an object that can be used to synchronize access to the . This property is not supported. - - The SyncRoot property is not supported. - - - - The number of concurrent writes for which to optimize by default. - - - - - A node in a singly-linked list representing a particular hash table bucket. - - - - - A private class to represent enumeration over the dictionary that implements the - IDictionaryEnumerator interface. - - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - - An interface similar to the one added in .NET 4.0. - - - - The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. - - - Initializes the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - Initializes the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - A cancellation token associated with the operation that was canceled. - - - Gets a token associated with the operation that was canceled. - - - - A dummy replacement for the .NET internal class StackCrawlMark. - - - - - Propogates notification that operations should be canceled. - - - - A may be created directly in an unchangeable canceled or non-canceled state - using the CancellationToken's constructors. However, to have a CancellationToken that can change - from a non-canceled to a canceled state, - CancellationTokenSource must be used. - CancellationTokenSource exposes the associated CancellationToken that may be canceled by the source through its - Token property. - - - Once canceled, a token may not transition to a non-canceled state, and a token whose - is false will never change to one that can be canceled. - - - All members of this struct are thread-safe and may be used concurrently from multiple threads. - - - - - - Internal constructor only a CancellationTokenSource should create a CancellationToken - - - - - Initializes the CancellationToken. - - - The canceled state for the token. - - - Tokens created with this constructor will remain in the canceled state specified - by the parameter. If is false, - both and will be false. - If is true, - both and will be true. - - - - - Registers a delegate that will be called when this CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Determines whether the current CancellationToken instance is equal to the - specified token. - - The other CancellationToken to which to compare this - instance. - True if the instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other object to which to compare this instance. - True if is a CancellationToken - and if the two instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - An associated CancellationTokenSource has been disposed. - - - - Serves as a hash function for a CancellationToken. - - A hash code for the current CancellationToken instance. - - - - Determines whether two CancellationToken instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Determines whether two CancellationToken instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Throws a OperationCanceledException if - this token has had cancellation requested. - - - This method provides functionality equivalent to: - - if (token.IsCancellationRequested) - throw new OperationCanceledException(token); - - - The token has had cancellation requested. - The associated CancellationTokenSource has been disposed. - - - - Returns an empty CancellationToken value. - - - The value returned by this property will be non-cancelable by default. - - - - - Gets whether cancellation has been requested for this token. - - Whether cancellation has been requested for this token. - - - This property indicates whether cancellation has been requested for this token, - either through the token initially being construted in a canceled state, or through - calling Cancel - on the token's associated . - - - If this property is true, it only guarantees that cancellation has been requested. - It does not guarantee that every registered handler - has finished executing, nor that cancellation requests have finished propagating - to all registered handlers. Additional synchronization may be required, - particularly in situations where related objects are being canceled concurrently. - - - - - - Gets whether this token is capable of being in the canceled state. - - - If CanBeCanceled returns false, it is guaranteed that the token will never transition - into a canceled state, meaning that will never - return true. - - - - - Gets a that is signaled when the token is canceled. - - Accessing this property causes a WaitHandle - to be instantiated. It is preferable to only use this property when necessary, and to then - dispose the associated instance at the earliest opportunity (disposing - the source will dispose of this allocated handle). The handle should not be closed or disposed directly. - - The associated CancellationTokenSource has been disposed. - - - - Represents a callback delegate that has been registered with a CancellationToken. - - - To unregister a callback, dispose the corresponding Registration instance. - - - - - Attempts to deregister the item. If it's already being run, this may fail. - Entails a full memory fence. - - True if the callback was found and deregistered, false otherwise. - - - - Disposes of the registration and unregisters the target callback from the associated - CancellationToken. - If the target callback is currently executing this method will wait until it completes, except - in the degenerate cases where a callback method deregisters itself. - - - - - Determines whether two CancellationTokenRegistration - instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - - - - Determines whether two CancellationTokenRegistration instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - - - - Determines whether the current CancellationTokenRegistration instance is equal to the - specified . - - The other object to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other CancellationTokenRegistration to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Serves as a hash function for a CancellationTokenRegistration.. - - A hash code for the current CancellationTokenRegistration instance. - - - - Signals to a that it should be canceled. - - - - is used to instantiate a - (via the source's Token property) - that can be handed to operations that wish to be notified of cancellation or that can be used to - register asynchronous operations for cancellation. That token may have cancellation requested by - calling to the source's Cancel - method. - - - All members of this class, except Dispose, are thread-safe and may be used - concurrently from multiple threads. - - - - - The ID of the thread currently executing the main body of CTS.Cancel() - this helps us to know if a call to ctr.Dispose() is running 'within' a cancellation callback. - This is updated as we move between the main thread calling cts.Cancel() and any syncContexts that are used to - actually run the callbacks. - - - - Initializes the . - - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - However, this overload of Cancel will aggregate any exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - If is true, an exception will immediately propagate out of the - call to Cancel, preventing the remaining callbacks and cancelable operations from being processed. - If is false, this overload will aggregate any - exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - Specifies whether exceptions should immediately propagate. - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Releases the resources used by this . - - - This method is not thread-safe for any other concurrent calls. - - - - - Throws an exception if the source has been disposed. - - - - - InternalGetStaticSource() - - Whether the source should be set. - A static source to be shared among multiple tokens. - - - - Registers a callback object. If cancellation has already occurred, the - callback will have been run by the time this method returns. - - - - - - - - - - Invoke the Canceled event. - - - The handlers are invoked synchronously in LIFO order. - - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The first CancellationToken to observe. - The second CancellationToken to observe. - A CancellationTokenSource that is linked - to the source tokens. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The CancellationToken instances to observe. - A CancellationTokenSource that is linked - to the source tokens. - is null. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Gets whether cancellation has been requested for this CancellationTokenSource. - - Whether cancellation has been requested for this CancellationTokenSource. - - - This property indicates whether cancellation has been requested for this token source, such as - due to a call to its - Cancel method. - - - If this property returns true, it only guarantees that cancellation has been requested. It does not - guarantee that every handler registered with the corresponding token has finished executing, nor - that cancellation requests have finished propagating to all registered handlers. Additional - synchronization may be required, particularly in situations where related objects are being - canceled concurrently. - - - - - - A simple helper to determine whether cancellation has finished. - - - - - A simple helper to determine whether disposal has occured. - - - - - The ID of the thread that is running callbacks. - - - - - Gets the CancellationToken - associated with this . - - The CancellationToken - associated with this . - The token source has been - disposed. - - - - - - - - - - - - - - The currently executing callback - - - - - A helper class for collating the various bits of information required to execute - cancellation callbacks. - - - - - InternalExecuteCallbackSynchronously_GeneralPath - This will be called on the target synchronization context, however, we still need to restore the required execution context - - - - - A sparsely populated array. Elements can be sparse and some null, but this allows for - lock-free additions and growth, and also for constant time removal (by nulling out). - - The kind of elements contained within. - - - - Allocates a new array with the given initial size. - - How many array slots to pre-allocate. - - - - Adds an element in the first available slot, beginning the search from the tail-to-head. - If no slots are available, the array is grown. The method doesn't return until successful. - - The element to add. - Information about where the add happened, to enable O(1) deregistration. - - - - The tail of the doubly linked list. - - - - - A struct to hold a link to the exact spot in an array an element was inserted, enabling - constant time removal later on. - - - - - A fragment of a sparsely populated array, doubly linked. - - The kind of elements contained within. - - - - Provides lazy initialization routines. - - - These routines avoid needing to allocate a dedicated, lazy-initialization instance, instead using - references to ensure targets have been initialized as they are accessed. - - - - - Initializes a target reference type with the type's default constructor if the target has not - already been initialized. - - The refence type of the reference to be initialized. - A reference of type to initialize if it has not - already been initialized. - The initialized reference of type . - Type does not have a default - constructor. - - Permissions to access the constructor of type were missing. - - - - This method may only be used on reference types. To ensure initialization of value - types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initializes a target reference type using the specified function if it has not already been - initialized. - - The reference type of the reference to be initialized. - The reference of type to initialize if it has not - already been initialized. - The invoked to initialize the - reference. - The initialized reference of type . - Type does not have a - default constructor. - returned - null. - - - This method may only be used on reference types, and may - not return a null reference (Nothing in Visual Basic). To ensure initialization of value types or - to allow null reference types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initialize the target using the given delegate (slow path). - - The reference type of the reference to be initialized. - The variable that need to be initialized - The delegate that will be executed to initialize the target - The initialized variable - - - - Initializes a target reference or value type with its default constructor if it has not already - been initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The initialized value of type . - - - - Initializes a target reference or value type with a specified function if it has not already been - initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The invoked to initialize the - reference or value. - The initialized value of type . - - - - Ensure the target is initialized and return the value (slow path). This overload permits nulls - and also works for value type targets. Uses the supplied function to create the value. - - The type of target. - A reference to the target to be initialized. - A reference to a location tracking whether the target has been initialized. - A reference to a location containing a mutual exclusive lock. - - The to invoke in order to produce the lazily-initialized value. - - The initialized object. - - - - Provides a slimmed down version of . - - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads, with the exception of Dispose, which - must only be used when all other operations on the have - completed, and Reset, which should only be used when no other threads are - accessing the event. - - - - - Initializes a new instance of the - class with an initial state of nonsignaled. - - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled. - - true to set the initial state signaled; false to set the initial state - to nonsignaled. - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled and a specified - spin count. - - true to set the initial state to signaled; false to set the initial state - to nonsignaled. - The number of spin waits that will occur before falling back to a true - wait. - is less than - 0 or greater than the maximum allowed value. - - - - Initializes the internal state of the event. - - Whether the event is set initially or not. - The spin count that decides when the event will block. - - - - Helper to ensure the lock object is created before first use. - - - - - This method lazily initializes the event object. It uses CAS to guarantee that - many threads racing to call this at once don't result in more than one event - being stored and used. The event will be signaled or unsignaled depending on - the state of the thin-event itself, with synchronization taken into account. - - True if a new event was created and stored, false otherwise. - - - - Sets the state of the event to signaled, which allows one or more threads waiting on the event to - proceed. - - - - - Private helper to actually perform the Set. - - Indicates whether we are calling Set() during cancellation. - The object has been canceled. - - - - Sets the state of the event to nonsignaled, which causes threads to block. - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Blocks the current thread until the current is set. - - - The maximum number of waiters has been exceeded. - - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current receives a signal, - while observing a . - - The to - observe. - - The maximum number of waiters has been exceeded. - - was - canceled. - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval. - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval, while observing a . - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - The to - observe. - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - was canceled. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval. - - The number of milliseconds to wait, or (-1) to wait indefinitely. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval, while observing a . - - The number of milliseconds to wait, or (-1) to wait indefinitely. - The to - observe. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - was canceled. - - - - Releases all resources used by the current instance of . - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - When overridden in a derived class, releases the unmanaged resources used by the - , and optionally releases the managed resources. - - true to release both managed and unmanaged resources; - false to release only unmanaged resources. - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Throw ObjectDisposedException if the MRES is disposed - - - - - Private helper method to wake up waiters when a cancellationToken gets canceled. - - - - - Private helper method for updating parts of a bit-string state value. - Mainly called from the IsSet and Waiters properties setters - - - Note: the parameter types must be int as CompareExchange cannot take a Uint - - The new value - The mask used to set the bits - - - - Private helper method - performs Mask and shift, particular helpful to extract a field from a packed word. - eg ExtractStatePortionAndShiftRight(0x12345678, 0xFF000000, 24) => 0x12, ie extracting the top 8-bits as a simple integer - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - - - Performs a Mask operation, but does not perform the shift. - This is acceptable for boolean values for which the shift is unnecessary - eg (val & Mask) != 0 is an appropriate way to extract a boolean rather than using - ((val & Mask) >> shiftAmount) == 1 - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - Helper function to measure and update the wait time - - The first time (in Ticks) observed when the wait started. - The orginal wait timeoutout in milliseconds. - The new wait time in milliseconds, -1 if the time expired, -2 if overflow in counters - has occurred. - - - - Gets the underlying object for this . - - The underlying event object fore this . - - Accessing this property forces initialization of an underlying event object if one hasn't - already been created. To simply wait on this , - the public Wait methods should be preferred. - - - - - Gets whether the event is set. - - true if the event has is set; otherwise, false. - - - - Gets the number of spin waits that will be occur before falling back to a true wait. - - - - - How many threads are waiting. - - - - - Provides support for spin-based waiting. - - - - encapsulates common spinning logic. On single-processor machines, yields are - always used instead of busy waits, and on computers with Intel™ processors employing Hyper-Threading™ - technology, it helps to prevent hardware thread starvation. SpinWait encapsulates a good mixture of - spinning and true yielding. - - - is a value type, which means that low-level code can utilize SpinWait without - fear of unnecessary allocation overheads. SpinWait is not generally useful for ordinary applications. - In most cases, you should use the synchronization classes provided by the .NET Framework, such as - . For most purposes where spin waiting is required, however, - the type should be preferred over the System.Threading.Thread.SpinWait method. - - - While SpinWait is designed to be used in concurrent applications, it is not designed to be - used from multiple threads concurrently. SpinWait's members are not thread-safe. If multiple - threads must spin, each should use its own instance of SpinWait. - - - - - - Performs a single spin. - - - This is typically called in a loop, and may change in behavior based on the number of times a - has been called thus far on this instance. - - - - - Resets the spin counter. - - - This makes and behave as though no calls - to had been issued on this instance. If a instance - is reused many times, it may be useful to reset it to avoid yielding too soon. - - - - - Spins until the specified condition is satisfied. - - A delegate to be executed over and over until it returns true. - The argument is null. - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - - A that represents the number of milliseconds to wait, - or a TimeSpan that represents -1 milliseconds to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a negative number - other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than - . - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - The number of milliseconds to wait, or (-1) to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a - negative number other than -1, which represents an infinite time-out. - - - - Gets the number of times has been called on this instance. - - - - - Gets whether the next call to will yield the processor, triggering a - forced context switch. - - Whether the next call to will yield the processor, triggering a - forced context switch. - - On a single-CPU machine, always yields the processor. On machines with - multiple CPUs, may yield after an unspecified number of calls. - - - - - A helper class to get the number of preocessors, it updates the numbers of processors every sampling interval - - - - - Gets the number of available processors - - - - - Gets whether the current machine has only a single processor. - - - - - Represents an asynchronous operation that produces a result at some time in the future. - - - The type of the result produced by this . - - - - instances may be created in a variety of ways. The most common approach is by - using the task's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs a function, the factory's StartNew - method may be used: - - // C# - var t = Task<int>.Factory.StartNew(() => GenerateResult()); - - or - - var t = Task.Factory.StartNew(() => GenerateResult()); - - ' Visual Basic - Dim t = Task<int>.Factory.StartNew(Function() GenerateResult()) - - or - - Dim t = Task.Factory.StartNew(Function() GenerateResult()) - - - - The class also provides constructors that initialize the task but that do not - schedule it for execution. For performance reasons, the StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - Start - method may then be used to schedule the task for execution at a later time. - - - All members of , except for - Dispose, are thread-safe - and may be used from multiple threads concurrently. - - - - - - Represents an asynchronous operation. - - - - instances may be created in a variety of ways. The most common approach is by - using the Task type's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs an action, the factory's StartNew - method may be used: - - // C# - var t = Task.Factory.StartNew(() => DoAction()); - - ' Visual Basic - Dim t = Task.Factory.StartNew(Function() DoAction()) - - - - The class also provides constructors that initialize the Task but that do not - schedule it for execution. For performance reasons, TaskFactory's StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - method may then be used to schedule the task for execution at a later time. - - - All members of , except for , are thread-safe - and may be used from multiple threads concurrently. - - - For operations that return values, the class - should be used. - - - For developers implementing custom debuggers, several internal and private members of Task may be - useful (these may change from release to release). The Int32 m_taskId field serves as the backing - store for the property, however accessing this field directly from a debugger may be - more efficient than accessing the same value through the property's getter method (the - s_taskIdCounter Int32 counter is used to retrieve the next available ID for a Task). Similarly, the - Int32 m_stateFlags field stores information about the current lifecycle stage of the Task, - information also accessible through the property. The m_action System.Object - field stores a reference to the Task's delegate, and the m_stateObject System.Object field stores the - async state passed to the Task by the developer. Finally, for debuggers that parse stack frames, the - InternalWait method serves a potential marker for when a Task is entering a wait operation. - - - - - - A type initializer that runs with the appropriate permissions. - - - - - Initializes a new with the specified action. - - The delegate that represents the code to execute in the Task. - The argument is null. - - - - Initializes a new with the specified action and CancellationToken. - - The delegate that represents the code to execute in the Task. - The CancellationToken - that will be assigned to the new Task. - The argument is null. - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and state. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - An internal constructor used by the factory methods on task and its descendent(s). - This variant does not capture the ExecutionContext; it is up to the caller to do that. - - An action to execute. - Optional state to pass to the action. - Parent of Task. - A CancellationToken for the task. - A task scheduler under which the task will run. - Options to control its execution. - Internal options to control its execution - - - - Common logic used by the following internal ctors: - Task() - Task(object action, object state, Task parent, TaskCreationOptions options, TaskScheduler taskScheduler) - - ASSUMES THAT m_creatingTask IS ALREADY SET. - - - Action for task to execute. - Object to which to pass to action (may be null) - Task scheduler on which to run thread (only used by continuation tasks). - A CancellationToken for the Task. - Options to customize behavior of Task. - Internal options to customize behavior of Task. - - - - Checks if we registered a CT callback during construction, and deregisters it. - This should be called when we know the registration isn't useful anymore. Specifically from Finish() if the task has completed - successfully or with an exception. - - - - - Captures the ExecutionContext so long as flow isn't suppressed. - - A stack crawl mark pointing to the frame of the caller. - - - - Internal function that will be called by a new child task to add itself to - the children list of the parent (this). - - Since a child task can only be created from the thread executing the action delegate - of this task, reentrancy is neither required nor supported. This should not be called from - anywhere other than the task construction/initialization codepaths. - - - - - Starts the , scheduling it for execution to the current TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time - will result in an exception. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Starts the , scheduling it for execution to the specified TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - The TaskScheduler with which to associate - and execute this task. - - - The argument is null. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the current TaskScheduler. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - Tasks executed with will be associated with the current TaskScheduler. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the scheduler provided. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - The parameter - is null. - The scheduler on which to attempt to run this task inline. - - - - Throws an exception if the task has been disposed, and hence can no longer be accessed. - - The task has been disposed. - - - - Sets the internal completion event. - - - - - Disposes the , releasing all of its unmanaged resources. - - - Unlike most of the members of , this method is not thread-safe. - Also, may only be called on a that is in one of - the final states: RanToCompletion, - Faulted, or - Canceled. - - - The exception that is thrown if the is not in - one of the final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Disposes the , releasing all of its unmanaged resources. - - - A Boolean value that indicates whether this method is being called due to a call to . - - - Unlike most of the members of , this method is not thread-safe. - - - - - Schedules the task for execution. - - If true, TASK_STATE_STARTED bit is turned on in - an atomic fashion, making sure that TASK_STATE_CANCELED does not get set - underneath us. If false, TASK_STATE_STARTED bit is OR-ed right in. This - allows us to streamline things a bit for StartNew(), where competing cancellations - are not a problem. - - - - Adds an exception to the list of exceptions this task has thrown. - - An object representing either an Exception or a collection of Exceptions. - - - - Returns a list of exceptions by aggregating the holder's contents. Or null if - no exceptions have been thrown. - - Whether to include a TCE if cancelled. - An aggregate exception, or null if no exceptions have been caught. - - - - Throws an aggregate exception if the task contains exceptions. - - - - - Checks whether this is an attached task, and whether we are being called by the parent task. - And sets the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag based on that. - - This is meant to be used internally when throwing an exception, and when WaitAll is gathering - exceptions for tasks it waited on. If this flag gets set, the implicit wait on children - will skip exceptions to prevent duplication. - - This should only be called when this task has completed with an exception - - - - - - Signals completion of this particular task. - - The bUserDelegateExecuted parameter indicates whether this Finish() call comes following the - full execution of the user delegate. - - If bUserDelegateExecuted is false, it mean user delegate wasn't invoked at all (either due to - a cancellation request, or because this task is a promise style Task). In this case, the steps - involving child tasks (i.e. WaitForChildren) will be skipped. - - - - - - FinishStageTwo is to be executed as soon as we known there are no more children to complete. - It can happen i) either on the thread that originally executed this task (if no children were spawned, or they all completed by the time this task's delegate quit) - ii) or on the thread that executed the last child. - - - - - Final stage of the task completion code path. Notifies the parent (if any) that another of its childre are done, and runs continuations. - This function is only separated out from FinishStageTwo because these two operations are also needed to be called from CancellationCleanupLogic() - - - - - This is called by children of this task when they are completed. - - - - - This is to be called just before the task does its final state transition. - It traverses the list of exceptional children, and appends their aggregate exceptions into this one's exception list - - - - - Special purpose Finish() entry point to be used when the task delegate throws a ThreadAbortedException - This makes a note in the state flags so that we avoid any costly synchronous operations in the finish codepath - such as inlined continuations - - - Indicates whether the ThreadAbortException was added to this task's exception holder. - This should always be true except for the case of non-root self replicating task copies. - - Whether the delegate was executed. - - - - Executes the task. This method will only be called once, and handles bookeeping associated with - self-replicating tasks, in addition to performing necessary exception marshaling. - - The task has already been disposed. - - - - IThreadPoolWorkItem override, which is the entry function for this task when the TP scheduler decides to run it. - - - - - - Outermost entry function to execute this task. Handles all aspects of executing a task on the caller thread. - Currently this is called by IThreadPoolWorkItem.ExecuteWorkItem(), and TaskManager.TryExecuteInline. - - - Performs atomic updates to prevent double execution. Should only be set to true - in codepaths servicing user provided TaskSchedulers. The ConcRT or ThreadPool schedulers don't need this. - - - - The actual code which invokes the body of the task. This can be overriden in derived types. - - - - - Alternate InnerInvoke prototype to be called from ExecuteSelfReplicating() so that - the Parallel Debugger can discover the actual task being invoked. - Details: Here, InnerInvoke is actually being called on the rootTask object while we are actually executing the - childTask. And the debugger needs to discover the childTask, so we pass that down as an argument. - The NoOptimization and NoInlining flags ensure that the childTask pointer is retained, and that this - function appears on the callstack. - - - - - - Performs whatever handling is necessary for an unhandled exception. Normally - this just entails adding the exception to the holder object. - - The exception that went unhandled. - - - - Waits for the to complete execution. - - - The was canceled -or- an exception was thrown during - the execution of the . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A to observe while waiting for the task to complete. - - - The was canceled. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - true if the completed execution within the allotted time; otherwise, - false. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the task to complete. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - The core wait function, which is only accesible internally. It's meant to be used in places in TPL code where - the current context is known or cached. - - - - - Cancels the . - - Indiactes whether we should only cancel non-invoked tasks. - For the default scheduler this option will only be serviced through TryDequeue. - For custom schedulers we also attempt an atomic state transition. - true if the task was successfully canceled; otherwise, false. - The - has been disposed. - - - - Sets the task's cancellation acknowledged flag. - - - - - Runs all of the continuations, as appropriate. - - - - - Helper function to determine whether the current task is in the state desired by the - continuation kind under evaluation. Three possibilities exist: the task failed with - an unhandled exception (OnFailed), the task was canceled before running (OnAborted), - or the task completed successfully (OnCompletedSuccessfully). Note that the last - one includes completing due to cancellation. - - The continuation options under evaluation. - True if the continuation should be run given the task's current state. - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - The that will be assigned to the new continuation task. - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Converts TaskContinuationOptions to TaskCreationOptions, and also does - some validity checking along the way. - - Incoming TaskContinuationOptions - Outgoing TaskCreationOptions - Outgoing InternalTaskOptions - - - - Registers the continuation and possibly runs it (if the task is already finished). - - The continuation task itself. - TaskScheduler with which to associate continuation task. - Restrictions on when the continuation becomes active. - - - - Waits for all of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The was canceled. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Waits for a set of handles in a STA-aware way. In other words, it will wait for each - of the events individually if we're on a STA thread, because MsgWaitForMultipleObjectsEx - can't do a true wait-all due to its hidden message queue event. This is not atomic, - of course, but we only wait on one-way (MRE) events anyway so this is OK. - - An array of wait handles to wait on. - The timeout to use during waits. - The cancellationToken that enables a wait to be canceled. - True if all waits succeeded, false if a timeout occurred. - - - - Internal WaitAll implementation which is meant to be used with small number of tasks, - optimized for Parallel.Invoke and other structured primitives. - - - - - This internal function is only meant to be called by WaitAll() - If the completed task is canceled or it has other exceptions, here we will add those - into the passed in exception list (which will be lazily initialized here). - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - The index of the completed task in the array argument. - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - The was canceled. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Gets a unique ID for this Task instance. - - - Task IDs are assigned on-demand and do not necessarily represent the order in the which Task - instances were created. - - - - - Returns the unique ID of the currently executing Task. - - - - - Gets the Task instance currently executing, or - null if none exists. - - - - - Gets the Exception that caused the Task to end prematurely. If the Task completed successfully or has not yet thrown any - exceptions, this will return null. - - - Tasks that throw unhandled exceptions store the resulting exception and propagate it wrapped in a - in calls to Wait - or in accesses to the property. Any exceptions not observed by the time - the Task instance is garbage collected will be propagated on the finalizer thread. - - - The Task - has been disposed. - - - - - Gets the TaskStatus of this Task. - - - - - Gets whether this Task instance has completed - execution due to being canceled. - - - A Task will complete in Canceled state either if its CancellationToken - was marked for cancellation before the task started executing, or if the task acknowledged the cancellation request on - its already signaled CancellationToken by throwing an - OperationCanceledException2 that bears the same - CancellationToken. - - - - - Returns true if this task has a cancellation token and it was signaled. - To be used internally in execute entry codepaths. - - - - - This internal property provides access to the CancellationToken that was set on the task - when it was constructed. - - - - - Gets whether this threw an OperationCanceledException2 while its CancellationToken was signaled. - - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Checks whether this task has been disposed. - - - - - Gets the TaskCreationOptions used - to create this task. - - - - - Gets a that can be used to wait for the task to - complete. - - - Using the wait functionality provided by - should be preferred over using for similar - functionality. - - - The has been disposed. - - - - - Gets the state object supplied when the Task was created, - or null if none was supplied. - - - - - Gets an indication of whether the asynchronous operation completed synchronously. - - true if the asynchronous operation completed synchronously; otherwise, false. - - - - Provides access to the TaskScheduler responsible for executing this Task. - - - - - Provides access to factory methods for creating and instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on TaskFactory. - - - - - Provides an event that can be used to wait for completion. - Only called by Wait*(), which means that we really do need to instantiate a completion event. - - - - - Determines whether this is the root task of a self replicating group. - - - - - Determines whether the task is a replica itself. - - - - - The property formerly known as IsFaulted. - - - - - Gets whether the completed due to an unhandled exception. - - - If is true, the Task's will be equal to - TaskStatus.Faulted, and its - property will be non-null. - - - - - Checks whether the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag is set, - This will only be used by the implicit wait to prevent double throws - - - - - - Checks whether the body was ever invoked. Used by task scheduler code to verify custom schedulers actually ran the task. - - - - - A structure to hold continuation information. - - - - - Constructs a new continuation structure. - - The task to be activated. - The continuation options. - The scheduler to use for the continuation. - - - - Invokes the continuation for the target completion task. - - The completed task. - Whether the continuation can be inlined. - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The argument is null. - - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The to be assigned to this task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and state. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Creates a new future object. - - The parent task for this future. - A function that yields the future value. - The task scheduler which will be used to execute the future. - The CancellationToken for the task. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Creates a new future object. - - The parent task for this future. - An object containing data to be used by the action; may be null. - A function that yields the future value. - The CancellationToken for the task. - The task scheduler which will be used to execute the future. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Evaluates the value selector of the Task which is passed in as an object and stores the result. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new task. - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . This task's completion state will be transferred to the task returned - from the ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be passed as - an argument this completed task. - - The that will be assigned to the new task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . - This task's completion state will be transferred to the task returned from the - ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Gets the result value of this . - - - The get accessor for this property ensures that the asynchronous operation is complete before - returning. Once the result of the computation is available, it is stored and will be returned - immediately on later calls to . - - - - - Provides access to factory methods for creating instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on the factory type. - - - - - Provides support for creating and scheduling - Task{TResult} objects. - - The type of the results that are available though - the Task{TResult} objects that are associated with - the methods in this class. - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task{TResult}.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the default configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory{TResult}. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory{TResult}. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The that will be assigned to the new task. - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory{TResult}. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory{TResult}. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory{TResult}. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents the current stage in the lifecycle of a . - - - - - The task has been initialized but has not yet been scheduled. - - - - - The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure. - - - - - The task has been scheduled for execution but has not yet begun executing. - - - - - The task is running but has not yet completed. - - - - - The task has finished executing and is implicitly waiting for - attached child tasks to complete. - - - - - The task completed execution successfully. - - - - - The task acknowledged cancellation by throwing an OperationCanceledException2 with its own CancellationToken - while the token was in signaled state, or the task's CancellationToken was already signaled before the - task started executing. - - - - - The task completed due to an unhandled exception. - - - - - Specifies flags that control optional behavior for the creation and execution of tasks. - - - - - Specifies that the default behavior should be used. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides a hint to the - TaskScheduler that oversubscription may be - warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Task creation flags which are only used internally. - - - - Specifies "No internal task options" - - - Used to filter out internal vs. public task creation options. - - - Specifies that the task will be queued by the runtime before handing it over to the user. - This flag will be used to skip the cancellationtoken registration step, which is only meant for unstarted tasks. - - - - Specifies flags that control optional behavior for the creation and execution of continuation tasks. - - - - - Default = "Continue on any, no task options, run asynchronously" - Specifies that the default behavior should be used. Continuations, by default, will - be scheduled when the antecedent task completes, regardless of the task's final TaskStatus. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides - a hint to the TaskScheduler that - oversubscription may be warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Specifies that the continuation task should not be scheduled if its antecedent ran to completion. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled - exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent was canceled. This - option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent ran to - completion. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent threw an - unhandled exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent was canceled. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be executed synchronously. With this option - specified, the continuation will be run on the same thread that causes the antecedent task to - transition into its final state. If the antecedent is already complete when the continuation is - created, the continuation will run on the thread creating the continuation. Only very - short-running continuations should be executed synchronously. - - - - - Represents an exception used to communicate task cancellation. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the - class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the - class with a specified error message and a reference to the inner exception that is the cause of - this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - - Initializes a new instance of the class - with a reference to the that has been canceled. - - A task that has been canceled. - - - - Gets the task associated with this exception. - - - It is permissible for no Task to be associated with a - , in which case - this property will return null. - - - - - Represents the producer side of a unbound to a - delegate, providing access to the consumer side through the property. - - - - It is often the case that a is desired to - represent another asynchronous operation. - TaskCompletionSource is provided for this purpose. It enables - the creation of a task that can be handed out to consumers, and those consumers can use the members - of the task as they would any other. However, unlike most tasks, the state of a task created by a - TaskCompletionSource is controlled explicitly by the methods on TaskCompletionSource. This enables the - completion of the external asynchronous operation to be propagated to the underlying Task. The - separation also ensures that consumers are not able to transition the state without access to the - corresponding TaskCompletionSource. - - - All members of are thread-safe - and may be used from multiple threads concurrently. - - - The type of the result value assocatied with this . - - - - Creates a . - - - - - Creates a - with the specified options. - - - The created - by this instance and accessible through its property - will be instantiated using the specified . - - The options to use when creating the underlying - . - - The represent options invalid for use - with a . - - - - - Creates a - with the specified state. - - The state to use as the underlying - 's AsyncState. - - - - Creates a with - the specified state and options. - - The options to use when creating the underlying - . - The state to use as the underlying - 's AsyncState. - - The represent options invalid for use - with a . - - - - - Attempts to transition the underlying - into the - Faulted - state. - - The exception to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - The was disposed. - - - - Attempts to transition the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - There are one or more null elements in . - The collection is empty. - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The exception to bind to this . - The argument is null. - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - The argument is null. - There are one or more null elements in . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Canceled - state. - - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - Canceled - state. - - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Gets the created - by this . - - - This property enables a consumer access to the that is controlled by this instance. - The , , - , and - methods (and their "Try" variants) on this instance all result in the relevant state - transitions on this underlying Task. - - - - - An exception holder manages a list of exceptions for one particular task. - It offers the ability to aggregate, but more importantly, also offers intrinsic - support for propagating unhandled exceptions that are never observed. It does - this by aggregating and throwing if the holder is ever GC'd without the holder's - contents ever having been requested (e.g. by a Task.Wait, Task.get_Exception, etc). - - - - - Creates a new holder; it will be registered for finalization. - - The task this holder belongs to. - - - - A finalizer that repropagates unhandled exceptions. - - - - - Add an exception to the internal list. This will ensure the holder is - in the proper state (handled/unhandled) depending on the list's contents. - - An exception object (either an Exception or an - IEnumerable{Exception}) to add to the list. - - - - A private helper method that ensures the holder is considered - unhandled, i.e. it is registered for finalization. - - - - - A private helper method that ensures the holder is considered - handled, i.e. it is not registered for finalization. - - Whether this is called from the finalizer thread. - - - - Allocates a new aggregate exception and adds the contents of the list to - it. By calling this method, the holder assumes exceptions to have been - "observed", such that the finalization check will be subsequently skipped. - - Whether this is being called from a finalizer. - An extra exception to be included (optionally). - The aggregate exception to throw. - - - - Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of - instances. - - - - - Creates a proxy Task that represents the - asynchronous operation of a Task{Task}. - - - It is often useful to be able to return a Task from a - Task{TResult}, where the inner Task represents work done as part of the outer Task{TResult}. However, - doing so results in a Task{Task}, which, if not dealt with carefully, could produce unexpected behavior. Unwrap - solves this problem by creating a proxy Task that represents the entire asynchronous operation of such a Task{Task}. - - The Task{Task} to unwrap. - The exception that is thrown if the - argument is null. - A Task that represents the asynchronous operation of the provided Task{Task}. - - - - Creates a proxy Task{TResult} that represents the - asynchronous operation of a Task{Task{TResult}}. - - - It is often useful to be able to return a Task{TResult} from a Task{TResult}, where the inner Task{TResult} - represents work done as part of the outer Task{TResult}. However, doing so results in a Task{Task{TResult}}, - which, if not dealt with carefully, could produce unexpected behavior. Unwrap solves this problem by - creating a proxy Task{TResult} that represents the entire asynchronous operation of such a Task{Task{TResult}}. - - The Task{Task{TResult}} to unwrap. - The exception that is thrown if the - argument is null. - A Task{TResult} that represents the asynchronous operation of the provided Task{Task{TResult}}. /// Unwraps a Task that returns another Task. - - - - Provides support for creating and scheduling - Tasks. - - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new task. - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Check validity of options passed to FromAsync method - - The options to be validated. - determines type of FromAsync method that called this method - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents an abstract scheduler for tasks. - - - - TaskScheduler acts as the extension point for all - pluggable scheduling logic. This includes mechanisms such as how to schedule a task for execution, and - how scheduled tasks should be exposed to debuggers. - - - All members of the abstract type are thread-safe - and may be used from multiple threads concurrently. - - - - - - Queues a Task to the scheduler. - - - - A class derived from TaskScheduler - implements this method to accept tasks being scheduled on the scheduler. - A typical implementation would store the task in an internal data structure, which would - be serviced by threads that would execute those tasks at some time in the future. - - - This method is only meant to be called by the .NET Framework and - should not be called directly by the derived class. This is necessary - for maintaining the consistency of the system. - - - The Task to be queued. - The argument is null. - - - - Determines whether the provided Task - can be executed synchronously in this call, and if it can, executes it. - - - - A class derived from TaskScheduler implements this function to - support inline execution of a task on a thread that initiates a wait on that task object. Inline - execution is optional, and the request may be rejected by returning false. However, better - scalability typically results the more tasks that can be inlined, and in fact a scheduler that - inlines too little may be prone to deadlocks. A proper implementation should ensure that a - request executing under the policies guaranteed by the scheduler can successfully inline. For - example, if a scheduler uses a dedicated thread to execute tasks, any inlining requests from that - thread should succeed. - - - If a scheduler decides to perform the inline execution, it should do so by calling to the base - TaskScheduler's - TryExecuteTask method with the provided task object, propagating - the return value. It may also be appropriate for the scheduler to remove an inlined task from its - internal data structures if it decides to honor the inlining request. Note, however, that under - some circumstances a scheduler may be asked to inline a task that was not previously provided to - it with the method. - - - The derived scheduler is responsible for making sure that the calling thread is suitable for - executing the given task as far as its own scheduling and execution policies are concerned. - - - The Task to be - executed. - A Boolean denoting whether or not task has previously been - queued. If this parameter is True, then the task may have been previously queued (scheduled); if - False, then the task is known not to have been queued, and this call is being made in order to - execute the task inline without queueing it. - A Boolean value indicating whether the task was executed inline. - The argument is - null. - The was already - executed. - - - - Generates an enumerable of Task instances - currently queued to the scheduler waiting to be executed. - - - - A class derived from implements this method in order to support - integration with debuggers. This method will only be invoked by the .NET Framework when the - debugger requests access to the data. The enumerable returned will be traversed by debugging - utilities to access the tasks currently queued to this scheduler, enabling the debugger to - provide a representation of this information in the user interface. - - - It is important to note that, when this method is called, all other threads in the process will - be frozen. Therefore, it's important to avoid synchronization with other threads that may lead to - blocking. If synchronization is necessary, the method should prefer to throw a - than to block, which could cause a debugger to experience delays. Additionally, this method and - the enumerable returned must not modify any globally visible state. - - - The returned enumerable should never be null. If there are currently no queued tasks, an empty - enumerable should be returned instead. - - - For developers implementing a custom debugger, this method shouldn't be called directly, but - rather this functionality should be accessed through the internal wrapper method - GetScheduledTasksForDebugger: - internal Task[] GetScheduledTasksForDebugger(). This method returns an array of tasks, - rather than an enumerable. In order to retrieve a list of active schedulers, a debugger may use - another internal method: internal static TaskScheduler[] GetTaskSchedulersForDebugger(). - This static method returns an array of all active TaskScheduler instances. - GetScheduledTasksForDebugger then may be used on each of these scheduler instances to retrieve - the list of scheduled tasks for each. - - - An enumerable that allows traversal of tasks currently queued to this scheduler. - - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Retrieves some thread static state that can be cached and passed to multiple - TryRunInline calls, avoiding superflous TLS fetches. - - A bag of TLS state (or null if none exists). - - - - Attempts to execute the target task synchronously. - - The task to run. - True if the task may have been previously queued, - false if the task was absolutely not previously queued. - The state retrieved from GetThreadStatics - True if it ran, false otherwise. - - - - Attempts to dequeue a Task that was previously queued to - this scheduler. - - The Task to be dequeued. - A Boolean denoting whether the argument was successfully dequeued. - The argument is null. - - - - Notifies the scheduler that a work item has made progress. - - - - - Initializes the . - - - - - Frees all resources associated with this scheduler. - - - - - Creates a - associated with the current . - - - All Task instances queued to - the returned scheduler will be executed through a call to the - Post method - on that context. - - - A associated with - the current SynchronizationContext, as - determined by SynchronizationContext.Current. - - - The current SynchronizationContext may not be used as a TaskScheduler. - - - - - Attempts to execute the provided Task - on this scheduler. - - - - Scheduler implementations are provided with Task - instances to be executed through either the method or the - method. When the scheduler deems it appropriate to run the - provided task, should be used to do so. TryExecuteTask handles all - aspects of executing a task, including action invocation, exception handling, state management, - and lifecycle control. - - - must only be used for tasks provided to this scheduler by the .NET - Framework infrastructure. It should not be used to execute arbitrary tasks obtained through - custom mechanisms. - - - - A Task object to be executed. - - The is not associated with this scheduler. - - A Boolean that is true if was successfully executed, false if it - was not. A common reason for execution failure is that the task had previously been executed or - is in the process of being executed by another thread. - - - - Provides an array of all queued Task instances - for the debugger. - - - The returned array is populated through a call to . - Note that this function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of Task instances. - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Provides an array of all active TaskScheduler - instances for the debugger. - - - This function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of TaskScheduler instances. - - - - Registers a new TaskScheduler instance in the global collection of schedulers. - - - - - Removes a TaskScheduler instance from the global collection of schedulers. - - - - - Indicates the maximum concurrency level this - is able to support. - - - - - Indicates whether this is a custom scheduler, in which case the safe code paths will be taken upon task entry - using a CAS to transition from queued state to executing. - - - - - Gets the default TaskScheduler instance. - - - - - Gets the TaskScheduler - associated with the currently executing task. - - - When not called from within a task, will return the scheduler. - - - - - Gets the unique ID for this . - - - - - Occurs when a faulted 's unobserved exception is about to trigger exception escalation - policy, which, by default, would terminate the process. - - - This AppDomain-wide event provides a mechanism to prevent exception - escalation policy (which, by default, terminates the process) from triggering. - Each handler is passed a - instance, which may be used to examine the exception and to mark it as observed. - - - - - Nested class that provides debugger view for TaskScheduler - - - - Default thread pool scheduler. - - - - A TaskScheduler implementation that executes all tasks queued to it through a call to - on the - that its associated with. The default constructor for this class binds to the current - - - - - Constructs a SynchronizationContextTaskScheduler associated with - - This constructor expects to be set. - - - - Implemetation of for this scheduler class. - - Simply posts the tasks to be executed on the associated . - - - - - - Implementation of for this scheduler class. - - The task will be executed inline only if the call happens within - the associated . - - - - - - - Implementes the property for - this scheduler class. - - By default it returns 1, because a based - scheduler only supports execution on a single thread. - - - - - Provides data for the event that is raised when a faulted 's - exception goes unobserved. - - - The Exception property is used to examine the exception without marking it - as observed, whereas the method is used to mark the exception - as observed. Marking the exception as observed prevents it from triggering exception escalation policy - which, by default, terminates the process. - - - - - Initializes a new instance of the class - with the unobserved exception. - - The Exception that has gone unobserved. - - - - Marks the as "observed," thus preventing it - from triggering exception escalation policy which, by default, terminates the process. - - - - - Gets whether this exception has been marked as "observed." - - - - - The Exception that went unobserved. - - - - - Represents an exception used to communicate an invalid operation by a - . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the - class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the - class using the default error message and a reference to the inner exception that is the cause of - this exception. - - The exception that is the cause of the current exception. - - - - Initializes a new instance of the - class with a specified error message and a reference to the inner exception that is the cause of - this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.dll deleted file mode 100644 index 23d6d1a..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.xml deleted file mode 100644 index 6c77012..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.xml +++ /dev/null @@ -1,8969 +0,0 @@ - - - - System.Threading.Tasks - - - - Represents one or more errors that occur during application execution. - - is used to consolidate multiple failures into a single, throwable - exception object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a specified error - message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - The argument - is null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Allocates a new aggregate exception with the specified message and list of inner exceptions. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Returns the that is the root cause of this exception. - - - - - Invokes a handler on each contained by this . - - The predicate to execute for each exception. The predicate accepts as an - argument the to be processed and returns a Boolean to indicate - whether the exception was handled. - - Each invocation of the returns true or false to indicate whether the - was handled. After all invocations, if any exceptions went - unhandled, all unhandled exceptions will be put into a new - which will be thrown. Otherwise, the method simply returns. If any - invocations of the throws an exception, it will halt the processing - of any more exceptions and immediately propagate the thrown exception as-is. - - An exception contained by this was not handled. - The argument is - null. - - - - Flattens an instances into a single, new instance. - - A new, flattened . - - If any inner exceptions are themselves instances of - , this method will recursively flatten all of them. The - inner exceptions returned in the new - will be the union of all of the the inner exceptions from exception tree rooted at the provided - instance. - - - - - Creates and returns a string representation of the current . - - A string representation of the current exception. - - - - Gets a read-only collection of the instances that caused the - current exception. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to One or more errors occurred.. - - - - - Looks up a localized string similar to An element of innerExceptions was null.. - - - - - Looks up a localized string similar to {0}{1}---> (Inner Exception #{2}) {3}{4}{5}. - - - - - Looks up a localized string similar to No tokens were supplied.. - - - - - Looks up a localized string similar to The CancellationTokenSource associated with this CancellationToken has been disposed.. - - - - - Looks up a localized string similar to The CancellationTokenSource has been disposed.. - - - - - Looks up a localized string similar to The SyncRoot property may not be used for the synchronization of concurrent collections.. - - - - - Looks up a localized string similar to The array is multidimensional, or the type parameter for the set cannot be cast automatically to the type of the destination array.. - - - - - Looks up a localized string similar to The index is equal to or greater than the length of the array, or the number of elements in the dictionary is greater than the available space from index to the end of the destination array.. - - - - - Looks up a localized string similar to The capacity argument must be greater than or equal to zero.. - - - - - Looks up a localized string similar to The concurrencyLevel argument must be positive.. - - - - - Looks up a localized string similar to The index argument is less than zero.. - - - - - Looks up a localized string similar to TKey is a reference type and item.Key is null.. - - - - - Looks up a localized string similar to The key already existed in the dictionary.. - - - - - Looks up a localized string similar to The source argument contains duplicate keys.. - - - - - Looks up a localized string similar to The key was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The value was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The lazily-initialized type does not have a public, parameterless constructor.. - - - - - Looks up a localized string similar to ValueFactory returned null.. - - - - - Looks up a localized string similar to The spinCount argument must be in the range 0 to {0}, inclusive.. - - - - - Looks up a localized string similar to There are too many threads currently waiting on the event. A maximum of {0} waiting threads are supported.. - - - - - Looks up a localized string similar to The event has been disposed.. - - - - - Looks up a localized string similar to The operation was canceled.. - - - - - Looks up a localized string similar to The condition argument is null.. - - - - - Looks up a localized string similar to The timeout must represent a value between -1 and Int32.MaxValue, inclusive.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions combined LongRunning and ExecuteSynchronously. Synchronous continuations should not be long running.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions excluded all continuation kinds.. - - - - - Looks up a localized string similar to (Internal)An attempt was made to create a LongRunning SelfReplicating task.. - - - - - Looks up a localized string similar to The value needs to translate in milliseconds to -1 (signifying an infinite timeout), 0 or a positive integer less than or equal to Int32.MaxValue.. - - - - - Looks up a localized string similar to The value needs to be either -1 (signifying an infinite timeout), 0 or a positive integer.. - - - - - Looks up a localized string similar to A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.LongRunning in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.PreferFairness in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating in calls to FromAsync.. - - - - - Looks up a localized string similar to FromAsync was called with a TaskManager that had already shut down.. - - - - - Looks up a localized string similar to The tasks argument contains no tasks.. - - - - - Looks up a localized string similar to It is invalid to exclude specific continuation kinds for continuations off of multiple tasks.. - - - - - Looks up a localized string similar to The tasks argument included a null value.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that was already started.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a continuation task.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that has already completed.. - - - - - Looks up a localized string similar to Start may not be called on a task that was already started.. - - - - - Looks up a localized string similar to Start may not be called on a continuation task.. - - - - - Looks up a localized string similar to Start may not be called on a task with null action.. - - - - - Looks up a localized string similar to Start may not be called on a promise-style task.. - - - - - Looks up a localized string similar to Start may not be called on a task that has completed.. - - - - - Looks up a localized string similar to The task has been disposed.. - - - - - Looks up a localized string similar to The tasks array included at least one null element.. - - - - - Looks up a localized string similar to The awaited task has not yet completed.. - - - - - Looks up a localized string similar to A task was canceled.. - - - - - Looks up a localized string similar to The exceptions collection was empty.. - - - - - Looks up a localized string similar to The exceptions collection included at least one null element.. - - - - - Looks up a localized string similar to A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.. - - - - - Looks up a localized string similar to (Internal)Expected an Exception or an IEnumerable<Exception>. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was already executed.. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was previously queued to a different TaskScheduler.. - - - - - Looks up a localized string similar to The current SynchronizationContext may not be used as a TaskScheduler.. - - - - - Looks up a localized string similar to The TryExecuteTaskInline call to the underlying scheduler succeeded, but the task body was not invoked.. - - - - - Looks up a localized string similar to An exception was thrown by a TaskScheduler.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating for a Task<TResult>.. - - - - - Looks up a localized string similar to {Not yet computed}. - - - - - Looks up a localized string similar to A task's Exception may only be set directly if the task was created without a function.. - - - - - Looks up a localized string similar to An attempt was made to transition a task to a final state when it had already completed.. - - - - - Represents a thread-safe collection of keys and values. - - The type of the keys in the dictionary. - The type of the values in the dictionary. - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads. - - - - - Initializes a new instance of the - class that is empty, has the default concurrency level, has the default initial capacity, and - uses the default comparer for the key type. - - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the default - comparer for the key type. - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - is - less than 1. - is less than - 0. - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency - level, has the default initial capacity, and uses the default comparer for the key type. - - The whose elements are copied to - the new - . - is a null reference - (Nothing in Visual Basic). - contains one or more - duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the specified - . - - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency level, has the default - initial capacity, and uses the specified - . - - The whose elements are copied to - the new - . - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). -or- - is a null reference (Nothing in Visual Basic). - - - - - Initializes a new instance of the - class that contains elements copied from the specified , - has the specified concurrency level, has the specified initial capacity, and uses the specified - . - - The estimated number of threads that will update the - concurrently. - The whose elements are copied to the new - . - The implementation to use - when comparing keys. - - is a null reference (Nothing in Visual Basic). - -or- - is a null reference (Nothing in Visual Basic). - - - is less than 1. - - contains one or more duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level, has the specified initial capacity, and - uses the specified . - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - The - implementation to use when comparing keys. - - is less than 1. -or- - is less than 0. - - is a null reference - (Nothing in Visual Basic). - - - - Attempts to add the specified key and value to the . - - The key of the element to add. - The value of the element to add. The value can be a null reference (Nothing - in Visual Basic) for reference types. - true if the key/value pair was added to the - successfully; otherwise, false. - is null reference - (Nothing in Visual Basic). - The - contains too many elements. - - - - Determines whether the contains the specified - key. - - The key to locate in the . - true if the contains an element with - the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Attempts to remove and return the the value with the specified key from the - . - - The key of the element to remove and return. - When this method returns, contains the object removed from the - or the default value of - if the operation failed. - true if an object was removed successfully; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Removes the specified key from the dictionary if it exists and returns its associated value. - If matchValue flag is set, the key will be removed only if is associated with a particular - value. - - The key to search for and remove if it exists. - The variable into which the removed value, if found, is stored. - Whether removal of the key is conditional on its value. - The conditional value to compare against if is true - - - - - Attempts to get the value associated with the specified key from the . - - The key of the value to get. - When this method returns, contains the object from - the - with the spedified key or the default value of - , if the operation failed. - true if the key was found in the ; - otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Compares the existing value for the specified key with a specified value, and if they’re equal, - updates the key with a third value. - - The key whose value is compared with and - possibly replaced. - The value that replaces the value of the element with if the comparison results in equality. - The value that is compared to the value of the element with - . - true if the value with was equal to and replaced with ; otherwise, - false. - is a null - reference. - - - - Removes all keys and values from the . - - - - - Copies the elements of the to an array of - type , starting at the - specified array index. - - The one-dimensional array of type - that is the destination of the elements copied from the . The array must have zero-based indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Copies the key and value pairs stored in the to a - new array. - - A new array containing a snapshot of key and value pairs copied from the . - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToPairs. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToEntries. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToObjects. - - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Shared internal implementation for inserts and updates. - If key exists, we always return false; and if updateIfExists == true we force update with value; - If key doesn't exist, we always add value and return true; - - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - The function used to generate a value for the key - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value for the key as returned by valueFactory - if the key was not in the dictionary. - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - the value to be added, if the key does not already exist - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value if the key was not in the dictionary. - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The function used to generate a value for an absent key - The function used to generate a new value for an existing key - based on the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The value to be added for an absent key - The function used to generate a new value for an existing key based on - the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds the specified key and value to the . - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - An element with the same key already exists in the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - true if the element is successfully remove; otherwise false. This method also returns - false if - was not found in the original . - - is a null reference - (Nothing in Visual Basic). - - - - Adds the specified value to the - with the specified key. - - The - structure representing the key and value to add to the . - The of is null. - The - contains too many elements. - An element with the same key already exists in the - - - - - Determines whether the - contains a specific key and value. - - The - structure to locate in the . - true if the is found in the ; otherwise, false. - - - - Removes a key and value from the dictionary. - - The - structure representing the key and value to remove from the . - true if the key and value represented by is successfully - found and removed; otherwise, false. - The Key property of is a null reference (Nothing in Visual Basic). - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Adds the specified key and value to the dictionary. - - The object to use as the key. - The object to use as the value. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - is of a type that is not assignable to the key type of the . -or- - is of a type that is not assignable to , - the type of values in the . - -or- A value with the same key already exists in the . - - - - - Gets whether the contains an - element with the specified key. - - The key to locate in the . - true if the contains - an element with the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - Provides an for the - . - An for the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - is a null reference - (Nothing in Visual Basic). - - - - Copies the elements of the to an array, starting - at the specified array index. - - The one-dimensional array that is the destination of the elements copied from - the . The array must have zero-based - indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Replaces the internal table with a larger one. To prevent multiple threads from resizing the - table as a result of races, the table of buckets that was deemed too small is passed in as - an argument to GrowTable(). GrowTable() obtains a lock, and then checks whether the bucket - table has been replaced in the meantime or not. - - Reference to the bucket table that was deemed too small. - - - - Computes the bucket and lock number for a particular key. - - - - - Acquires all locks for this hash table, and increments locksAcquired by the number - of locks that were successfully acquired. The locks are acquired in an increasing - order. - - - - - Acquires a contiguous range of locks for this hash table, and increments locksAcquired - by the number of locks that were successfully acquired. The locks are acquired in an - increasing order. - - - - - Releases a contiguous range of locks. - - - - - Gets a collection containing the keys in the dictionary. - - - - - Gets a collection containing the values in the dictionary. - - - - - A helper method for asserts. - - - - - Get the data array to be serialized - - - - - Construct the dictionary from a previously seiralized one - - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key. If the specified key is not found, a get - operation throws a - , and a set operation creates a new - element with the specified key. - is a null reference - (Nothing in Visual Basic). - The property is retrieved and - - does not exist in the collection. - - - - Gets the number of key/value pairs contained in the . - - The dictionary contains too many - elements. - The number of key/value paris contained in the . - Count has snapshot semantics and represents the number of items in the - at the moment when Count was accessed. - - - - Gets a value that indicates whether the is empty. - - true if the is empty; otherwise, - false. - - - - Gets a collection containing the keys in the . - - An containing the keys in the - . - - - - Gets a collection containing the values in the . - - An containing the values in - the - . - - - - Gets a value indicating whether the dictionary is read-only. - - true if the is - read-only; otherwise, false. For , this property always returns - false. - - - - Gets a value indicating whether the has a fixed size. - - true if the has a - fixed size; otherwise, false. For , this property always - returns false. - - - - Gets a value indicating whether the is read-only. - - true if the is - read-only; otherwise, false. For , this property always - returns false. - - - - Gets an containing the keys of the . - - An containing the keys of the . - - - - Gets an containing the values in the . - - An containing the values in the . - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key, or a null reference (Nothing in Visual Basic) - if is not in the dictionary or is of a type that is - not assignable to the key type of the . - is a null reference - (Nothing in Visual Basic). - - A value is being assigned, and is of a type that is not assignable to the - key type of the . -or- A value is being - assigned, and is of a type that is not assignable to the value type - of the - - - - - Gets a value indicating whether access to the is - synchronized with the SyncRoot. - - true if access to the is synchronized - (thread safe); otherwise, false. For , this property always - returns false. - - - - Gets an object that can be used to synchronize access to the . This property is not supported. - - The SyncRoot property is not supported. - - - - The number of concurrent writes for which to optimize by default. - - - - - A node in a singly-linked list representing a particular hash table bucket. - - - - - A private class to represent enumeration over the dictionary that implements the - IDictionaryEnumerator interface. - - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - - An interface similar to the one added in .NET 4.0. - - - - The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. - - - Initializes the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - Initializes the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - A cancellation token associated with the operation that was canceled. - - - Gets a token associated with the operation that was canceled. - - - - A dummy replacement for the .NET internal class StackCrawlMark. - - - - - Propogates notification that operations should be canceled. - - - - A may be created directly in an unchangeable canceled or non-canceled state - using the CancellationToken's constructors. However, to have a CancellationToken that can change - from a non-canceled to a canceled state, - CancellationTokenSource must be used. - CancellationTokenSource exposes the associated CancellationToken that may be canceled by the source through its - Token property. - - - Once canceled, a token may not transition to a non-canceled state, and a token whose - is false will never change to one that can be canceled. - - - All members of this struct are thread-safe and may be used concurrently from multiple threads. - - - - - - Internal constructor only a CancellationTokenSource should create a CancellationToken - - - - - Initializes the CancellationToken. - - - The canceled state for the token. - - - Tokens created with this constructor will remain in the canceled state specified - by the parameter. If is false, - both and will be false. - If is true, - both and will be true. - - - - - Registers a delegate that will be called when this CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Determines whether the current CancellationToken instance is equal to the - specified token. - - The other CancellationToken to which to compare this - instance. - True if the instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other object to which to compare this instance. - True if is a CancellationToken - and if the two instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - An associated CancellationTokenSource has been disposed. - - - - Serves as a hash function for a CancellationToken. - - A hash code for the current CancellationToken instance. - - - - Determines whether two CancellationToken instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Determines whether two CancellationToken instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Throws a OperationCanceledException if - this token has had cancellation requested. - - - This method provides functionality equivalent to: - - if (token.IsCancellationRequested) - throw new OperationCanceledException(token); - - - The token has had cancellation requested. - The associated CancellationTokenSource has been disposed. - - - - Returns an empty CancellationToken value. - - - The value returned by this property will be non-cancelable by default. - - - - - Gets whether cancellation has been requested for this token. - - Whether cancellation has been requested for this token. - - - This property indicates whether cancellation has been requested for this token, - either through the token initially being construted in a canceled state, or through - calling Cancel - on the token's associated . - - - If this property is true, it only guarantees that cancellation has been requested. - It does not guarantee that every registered handler - has finished executing, nor that cancellation requests have finished propagating - to all registered handlers. Additional synchronization may be required, - particularly in situations where related objects are being canceled concurrently. - - - - - - Gets whether this token is capable of being in the canceled state. - - - If CanBeCanceled returns false, it is guaranteed that the token will never transition - into a canceled state, meaning that will never - return true. - - - - - Gets a that is signaled when the token is canceled. - - Accessing this property causes a WaitHandle - to be instantiated. It is preferable to only use this property when necessary, and to then - dispose the associated instance at the earliest opportunity (disposing - the source will dispose of this allocated handle). The handle should not be closed or disposed directly. - - The associated CancellationTokenSource has been disposed. - - - - Represents a callback delegate that has been registered with a CancellationToken. - - - To unregister a callback, dispose the corresponding Registration instance. - - - - - Attempts to deregister the item. If it's already being run, this may fail. - Entails a full memory fence. - - True if the callback was found and deregistered, false otherwise. - - - - Disposes of the registration and unregisters the target callback from the associated - CancellationToken. - If the target callback is currently executing this method will wait until it completes, except - in the degenerate cases where a callback method deregisters itself. - - - - - Determines whether two CancellationTokenRegistration - instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - - - - Determines whether two CancellationTokenRegistration instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - - - - Determines whether the current CancellationTokenRegistration instance is equal to the - specified . - - The other object to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other CancellationTokenRegistration to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Serves as a hash function for a CancellationTokenRegistration.. - - A hash code for the current CancellationTokenRegistration instance. - - - - Signals to a that it should be canceled. - - - - is used to instantiate a - (via the source's Token property) - that can be handed to operations that wish to be notified of cancellation or that can be used to - register asynchronous operations for cancellation. That token may have cancellation requested by - calling to the source's Cancel - method. - - - All members of this class, except Dispose, are thread-safe and may be used - concurrently from multiple threads. - - - - - The ID of the thread currently executing the main body of CTS.Cancel() - this helps us to know if a call to ctr.Dispose() is running 'within' a cancellation callback. - This is updated as we move between the main thread calling cts.Cancel() and any syncContexts that are used to - actually run the callbacks. - - - - Initializes the . - - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - However, this overload of Cancel will aggregate any exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - If is true, an exception will immediately propagate out of the - call to Cancel, preventing the remaining callbacks and cancelable operations from being processed. - If is false, this overload will aggregate any - exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - Specifies whether exceptions should immediately propagate. - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Releases the resources used by this . - - - This method is not thread-safe for any other concurrent calls. - - - - - Throws an exception if the source has been disposed. - - - - - InternalGetStaticSource() - - Whether the source should be set. - A static source to be shared among multiple tokens. - - - - Registers a callback object. If cancellation has already occurred, the - callback will have been run by the time this method returns. - - - - - - - - - - Invoke the Canceled event. - - - The handlers are invoked synchronously in LIFO order. - - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The first CancellationToken to observe. - The second CancellationToken to observe. - A CancellationTokenSource that is linked - to the source tokens. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The CancellationToken instances to observe. - A CancellationTokenSource that is linked - to the source tokens. - is null. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Gets whether cancellation has been requested for this CancellationTokenSource. - - Whether cancellation has been requested for this CancellationTokenSource. - - - This property indicates whether cancellation has been requested for this token source, such as - due to a call to its - Cancel method. - - - If this property returns true, it only guarantees that cancellation has been requested. It does not - guarantee that every handler registered with the corresponding token has finished executing, nor - that cancellation requests have finished propagating to all registered handlers. Additional - synchronization may be required, particularly in situations where related objects are being - canceled concurrently. - - - - - - A simple helper to determine whether cancellation has finished. - - - - - A simple helper to determine whether disposal has occured. - - - - - The ID of the thread that is running callbacks. - - - - - Gets the CancellationToken - associated with this . - - The CancellationToken - associated with this . - The token source has been - disposed. - - - - - - - - - - - - - - The currently executing callback - - - - - A helper class for collating the various bits of information required to execute - cancellation callbacks. - - - - - InternalExecuteCallbackSynchronously_GeneralPath - This will be called on the target synchronization context, however, we still need to restore the required execution context - - - - - A sparsely populated array. Elements can be sparse and some null, but this allows for - lock-free additions and growth, and also for constant time removal (by nulling out). - - The kind of elements contained within. - - - - Allocates a new array with the given initial size. - - How many array slots to pre-allocate. - - - - Adds an element in the first available slot, beginning the search from the tail-to-head. - If no slots are available, the array is grown. The method doesn't return until successful. - - The element to add. - Information about where the add happened, to enable O(1) deregistration. - - - - The tail of the doubly linked list. - - - - - A struct to hold a link to the exact spot in an array an element was inserted, enabling - constant time removal later on. - - - - - A fragment of a sparsely populated array, doubly linked. - - The kind of elements contained within. - - - - Provides lazy initialization routines. - - - These routines avoid needing to allocate a dedicated, lazy-initialization instance, instead using - references to ensure targets have been initialized as they are accessed. - - - - - Initializes a target reference type with the type's default constructor if the target has not - already been initialized. - - The refence type of the reference to be initialized. - A reference of type to initialize if it has not - already been initialized. - The initialized reference of type . - Type does not have a default - constructor. - - Permissions to access the constructor of type were missing. - - - - This method may only be used on reference types. To ensure initialization of value - types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initializes a target reference type using the specified function if it has not already been - initialized. - - The reference type of the reference to be initialized. - The reference of type to initialize if it has not - already been initialized. - The invoked to initialize the - reference. - The initialized reference of type . - Type does not have a - default constructor. - returned - null. - - - This method may only be used on reference types, and may - not return a null reference (Nothing in Visual Basic). To ensure initialization of value types or - to allow null reference types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initialize the target using the given delegate (slow path). - - The reference type of the reference to be initialized. - The variable that need to be initialized - The delegate that will be executed to initialize the target - The initialized variable - - - - Initializes a target reference or value type with its default constructor if it has not already - been initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The initialized value of type . - - - - Initializes a target reference or value type with a specified function if it has not already been - initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The invoked to initialize the - reference or value. - The initialized value of type . - - - - Ensure the target is initialized and return the value (slow path). This overload permits nulls - and also works for value type targets. Uses the supplied function to create the value. - - The type of target. - A reference to the target to be initialized. - A reference to a location tracking whether the target has been initialized. - A reference to a location containing a mutual exclusive lock. - - The to invoke in order to produce the lazily-initialized value. - - The initialized object. - - - - Provides a slimmed down version of . - - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads, with the exception of Dispose, which - must only be used when all other operations on the have - completed, and Reset, which should only be used when no other threads are - accessing the event. - - - - - Initializes a new instance of the - class with an initial state of nonsignaled. - - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled. - - true to set the initial state signaled; false to set the initial state - to nonsignaled. - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled and a specified - spin count. - - true to set the initial state to signaled; false to set the initial state - to nonsignaled. - The number of spin waits that will occur before falling back to a true - wait. - is less than - 0 or greater than the maximum allowed value. - - - - Initializes the internal state of the event. - - Whether the event is set initially or not. - The spin count that decides when the event will block. - - - - Helper to ensure the lock object is created before first use. - - - - - This method lazily initializes the event object. It uses CAS to guarantee that - many threads racing to call this at once don't result in more than one event - being stored and used. The event will be signaled or unsignaled depending on - the state of the thin-event itself, with synchronization taken into account. - - True if a new event was created and stored, false otherwise. - - - - Sets the state of the event to signaled, which allows one or more threads waiting on the event to - proceed. - - - - - Private helper to actually perform the Set. - - Indicates whether we are calling Set() during cancellation. - The object has been canceled. - - - - Sets the state of the event to nonsignaled, which causes threads to block. - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Blocks the current thread until the current is set. - - - The maximum number of waiters has been exceeded. - - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current receives a signal, - while observing a . - - The to - observe. - - The maximum number of waiters has been exceeded. - - was - canceled. - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval. - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval, while observing a . - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - The to - observe. - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - was canceled. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval. - - The number of milliseconds to wait, or (-1) to wait indefinitely. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval, while observing a . - - The number of milliseconds to wait, or (-1) to wait indefinitely. - The to - observe. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - was canceled. - - - - Releases all resources used by the current instance of . - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - When overridden in a derived class, releases the unmanaged resources used by the - , and optionally releases the managed resources. - - true to release both managed and unmanaged resources; - false to release only unmanaged resources. - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Throw ObjectDisposedException if the MRES is disposed - - - - - Private helper method to wake up waiters when a cancellationToken gets canceled. - - - - - Private helper method for updating parts of a bit-string state value. - Mainly called from the IsSet and Waiters properties setters - - - Note: the parameter types must be int as CompareExchange cannot take a Uint - - The new value - The mask used to set the bits - - - - Private helper method - performs Mask and shift, particular helpful to extract a field from a packed word. - eg ExtractStatePortionAndShiftRight(0x12345678, 0xFF000000, 24) => 0x12, ie extracting the top 8-bits as a simple integer - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - - - Performs a Mask operation, but does not perform the shift. - This is acceptable for boolean values for which the shift is unnecessary - eg (val & Mask) != 0 is an appropriate way to extract a boolean rather than using - ((val & Mask) >> shiftAmount) == 1 - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - Helper function to measure and update the wait time - - The first time (in Ticks) observed when the wait started. - The orginal wait timeoutout in milliseconds. - The new wait time in milliseconds, -1 if the time expired, -2 if overflow in counters - has occurred. - - - - Gets the underlying object for this . - - The underlying event object fore this . - - Accessing this property forces initialization of an underlying event object if one hasn't - already been created. To simply wait on this , - the public Wait methods should be preferred. - - - - - Gets whether the event is set. - - true if the event has is set; otherwise, false. - - - - Gets the number of spin waits that will be occur before falling back to a true wait. - - - - - How many threads are waiting. - - - - - Provides support for spin-based waiting. - - - - encapsulates common spinning logic. On single-processor machines, yields are - always used instead of busy waits, and on computers with Intel™ processors employing Hyper-Threading™ - technology, it helps to prevent hardware thread starvation. SpinWait encapsulates a good mixture of - spinning and true yielding. - - - is a value type, which means that low-level code can utilize SpinWait without - fear of unnecessary allocation overheads. SpinWait is not generally useful for ordinary applications. - In most cases, you should use the synchronization classes provided by the .NET Framework, such as - . For most purposes where spin waiting is required, however, - the type should be preferred over the System.Threading.Thread.SpinWait method. - - - While SpinWait is designed to be used in concurrent applications, it is not designed to be - used from multiple threads concurrently. SpinWait's members are not thread-safe. If multiple - threads must spin, each should use its own instance of SpinWait. - - - - - - Performs a single spin. - - - This is typically called in a loop, and may change in behavior based on the number of times a - has been called thus far on this instance. - - - - - Resets the spin counter. - - - This makes and behave as though no calls - to had been issued on this instance. If a instance - is reused many times, it may be useful to reset it to avoid yielding too soon. - - - - - Spins until the specified condition is satisfied. - - A delegate to be executed over and over until it returns true. - The argument is null. - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - - A that represents the number of milliseconds to wait, - or a TimeSpan that represents -1 milliseconds to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a negative number - other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than - . - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - The number of milliseconds to wait, or (-1) to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a - negative number other than -1, which represents an infinite time-out. - - - - Gets the number of times has been called on this instance. - - - - - Gets whether the next call to will yield the processor, triggering a - forced context switch. - - Whether the next call to will yield the processor, triggering a - forced context switch. - - On a single-CPU machine, always yields the processor. On machines with - multiple CPUs, may yield after an unspecified number of calls. - - - - - A helper class to get the number of preocessors, it updates the numbers of processors every sampling interval - - - - - Gets the number of available processors - - - - - Gets whether the current machine has only a single processor. - - - - - Represents an asynchronous operation that produces a result at some time in the future. - - - The type of the result produced by this . - - - - instances may be created in a variety of ways. The most common approach is by - using the task's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs a function, the factory's StartNew - method may be used: - - // C# - var t = Task<int>.Factory.StartNew(() => GenerateResult()); - - or - - var t = Task.Factory.StartNew(() => GenerateResult()); - - ' Visual Basic - Dim t = Task<int>.Factory.StartNew(Function() GenerateResult()) - - or - - Dim t = Task.Factory.StartNew(Function() GenerateResult()) - - - - The class also provides constructors that initialize the task but that do not - schedule it for execution. For performance reasons, the StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - Start - method may then be used to schedule the task for execution at a later time. - - - All members of , except for - Dispose, are thread-safe - and may be used from multiple threads concurrently. - - - - - - Represents an asynchronous operation. - - - - instances may be created in a variety of ways. The most common approach is by - using the Task type's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs an action, the factory's StartNew - method may be used: - - // C# - var t = Task.Factory.StartNew(() => DoAction()); - - ' Visual Basic - Dim t = Task.Factory.StartNew(Function() DoAction()) - - - - The class also provides constructors that initialize the Task but that do not - schedule it for execution. For performance reasons, TaskFactory's StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - method may then be used to schedule the task for execution at a later time. - - - All members of , except for , are thread-safe - and may be used from multiple threads concurrently. - - - For operations that return values, the class - should be used. - - - For developers implementing custom debuggers, several internal and private members of Task may be - useful (these may change from release to release). The Int32 m_taskId field serves as the backing - store for the property, however accessing this field directly from a debugger may be - more efficient than accessing the same value through the property's getter method (the - s_taskIdCounter Int32 counter is used to retrieve the next available ID for a Task). Similarly, the - Int32 m_stateFlags field stores information about the current lifecycle stage of the Task, - information also accessible through the property. The m_action System.Object - field stores a reference to the Task's delegate, and the m_stateObject System.Object field stores the - async state passed to the Task by the developer. Finally, for debuggers that parse stack frames, the - InternalWait method serves a potential marker for when a Task is entering a wait operation. - - - - - - A type initializer that runs with the appropriate permissions. - - - - - Initializes a new with the specified action. - - The delegate that represents the code to execute in the Task. - The argument is null. - - - - Initializes a new with the specified action and CancellationToken. - - The delegate that represents the code to execute in the Task. - The CancellationToken - that will be assigned to the new Task. - The argument is null. - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and state. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - An internal constructor used by the factory methods on task and its descendent(s). - This variant does not capture the ExecutionContext; it is up to the caller to do that. - - An action to execute. - Optional state to pass to the action. - Parent of Task. - A CancellationToken for the task. - A task scheduler under which the task will run. - Options to control its execution. - Internal options to control its execution - - - - Common logic used by the following internal ctors: - Task() - Task(object action, object state, Task parent, TaskCreationOptions options, TaskScheduler taskScheduler) - - ASSUMES THAT m_creatingTask IS ALREADY SET. - - - Action for task to execute. - Object to which to pass to action (may be null) - Task scheduler on which to run thread (only used by continuation tasks). - A CancellationToken for the Task. - Options to customize behavior of Task. - Internal options to customize behavior of Task. - - - - Checks if we registered a CT callback during construction, and deregisters it. - This should be called when we know the registration isn't useful anymore. Specifically from Finish() if the task has completed - successfully or with an exception. - - - - - Captures the ExecutionContext so long as flow isn't suppressed. - - A stack crawl mark pointing to the frame of the caller. - - - - Internal function that will be called by a new child task to add itself to - the children list of the parent (this). - - Since a child task can only be created from the thread executing the action delegate - of this task, reentrancy is neither required nor supported. This should not be called from - anywhere other than the task construction/initialization codepaths. - - - - - Starts the , scheduling it for execution to the current TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time - will result in an exception. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Starts the , scheduling it for execution to the specified TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - The TaskScheduler with which to associate - and execute this task. - - - The argument is null. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the current TaskScheduler. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - Tasks executed with will be associated with the current TaskScheduler. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the scheduler provided. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - The parameter - is null. - The scheduler on which to attempt to run this task inline. - - - - Throws an exception if the task has been disposed, and hence can no longer be accessed. - - The task has been disposed. - - - - Sets the internal completion event. - - - - - Disposes the , releasing all of its unmanaged resources. - - - Unlike most of the members of , this method is not thread-safe. - Also, may only be called on a that is in one of - the final states: RanToCompletion, - Faulted, or - Canceled. - - - The exception that is thrown if the is not in - one of the final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Disposes the , releasing all of its unmanaged resources. - - - A Boolean value that indicates whether this method is being called due to a call to . - - - Unlike most of the members of , this method is not thread-safe. - - - - - Schedules the task for execution. - - If true, TASK_STATE_STARTED bit is turned on in - an atomic fashion, making sure that TASK_STATE_CANCELED does not get set - underneath us. If false, TASK_STATE_STARTED bit is OR-ed right in. This - allows us to streamline things a bit for StartNew(), where competing cancellations - are not a problem. - - - - Adds an exception to the list of exceptions this task has thrown. - - An object representing either an Exception or a collection of Exceptions. - - - - Returns a list of exceptions by aggregating the holder's contents. Or null if - no exceptions have been thrown. - - Whether to include a TCE if cancelled. - An aggregate exception, or null if no exceptions have been caught. - - - - Throws an aggregate exception if the task contains exceptions. - - - - - Checks whether this is an attached task, and whether we are being called by the parent task. - And sets the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag based on that. - - This is meant to be used internally when throwing an exception, and when WaitAll is gathering - exceptions for tasks it waited on. If this flag gets set, the implicit wait on children - will skip exceptions to prevent duplication. - - This should only be called when this task has completed with an exception - - - - - - Signals completion of this particular task. - - The bUserDelegateExecuted parameter indicates whether this Finish() call comes following the - full execution of the user delegate. - - If bUserDelegateExecuted is false, it mean user delegate wasn't invoked at all (either due to - a cancellation request, or because this task is a promise style Task). In this case, the steps - involving child tasks (i.e. WaitForChildren) will be skipped. - - - - - - FinishStageTwo is to be executed as soon as we known there are no more children to complete. - It can happen i) either on the thread that originally executed this task (if no children were spawned, or they all completed by the time this task's delegate quit) - ii) or on the thread that executed the last child. - - - - - Final stage of the task completion code path. Notifies the parent (if any) that another of its childre are done, and runs continuations. - This function is only separated out from FinishStageTwo because these two operations are also needed to be called from CancellationCleanupLogic() - - - - - This is called by children of this task when they are completed. - - - - - This is to be called just before the task does its final state transition. - It traverses the list of exceptional children, and appends their aggregate exceptions into this one's exception list - - - - - Special purpose Finish() entry point to be used when the task delegate throws a ThreadAbortedException - This makes a note in the state flags so that we avoid any costly synchronous operations in the finish codepath - such as inlined continuations - - - Indicates whether the ThreadAbortException was added to this task's exception holder. - This should always be true except for the case of non-root self replicating task copies. - - Whether the delegate was executed. - - - - Executes the task. This method will only be called once, and handles bookeeping associated with - self-replicating tasks, in addition to performing necessary exception marshaling. - - The task has already been disposed. - - - - IThreadPoolWorkItem override, which is the entry function for this task when the TP scheduler decides to run it. - - - - - - Outermost entry function to execute this task. Handles all aspects of executing a task on the caller thread. - Currently this is called by IThreadPoolWorkItem.ExecuteWorkItem(), and TaskManager.TryExecuteInline. - - - Performs atomic updates to prevent double execution. Should only be set to true - in codepaths servicing user provided TaskSchedulers. The ConcRT or ThreadPool schedulers don't need this. - - - - The actual code which invokes the body of the task. This can be overriden in derived types. - - - - - Alternate InnerInvoke prototype to be called from ExecuteSelfReplicating() so that - the Parallel Debugger can discover the actual task being invoked. - Details: Here, InnerInvoke is actually being called on the rootTask object while we are actually executing the - childTask. And the debugger needs to discover the childTask, so we pass that down as an argument. - The NoOptimization and NoInlining flags ensure that the childTask pointer is retained, and that this - function appears on the callstack. - - - - - - Performs whatever handling is necessary for an unhandled exception. Normally - this just entails adding the exception to the holder object. - - The exception that went unhandled. - - - - Waits for the to complete execution. - - - The was canceled -or- an exception was thrown during - the execution of the . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A to observe while waiting for the task to complete. - - - The was canceled. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - true if the completed execution within the allotted time; otherwise, - false. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the task to complete. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - The core wait function, which is only accesible internally. It's meant to be used in places in TPL code where - the current context is known or cached. - - - - - Cancels the . - - Indiactes whether we should only cancel non-invoked tasks. - For the default scheduler this option will only be serviced through TryDequeue. - For custom schedulers we also attempt an atomic state transition. - true if the task was successfully canceled; otherwise, false. - The - has been disposed. - - - - Sets the task's cancellation acknowledged flag. - - - - - Runs all of the continuations, as appropriate. - - - - - Helper function to determine whether the current task is in the state desired by the - continuation kind under evaluation. Three possibilities exist: the task failed with - an unhandled exception (OnFailed), the task was canceled before running (OnAborted), - or the task completed successfully (OnCompletedSuccessfully). Note that the last - one includes completing due to cancellation. - - The continuation options under evaluation. - True if the continuation should be run given the task's current state. - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - The that will be assigned to the new continuation task. - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Converts TaskContinuationOptions to TaskCreationOptions, and also does - some validity checking along the way. - - Incoming TaskContinuationOptions - Outgoing TaskCreationOptions - Outgoing InternalTaskOptions - - - - Registers the continuation and possibly runs it (if the task is already finished). - - The continuation task itself. - TaskScheduler with which to associate continuation task. - Restrictions on when the continuation becomes active. - - - - Waits for all of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The was canceled. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Waits for a set of handles in a STA-aware way. In other words, it will wait for each - of the events individually if we're on a STA thread, because MsgWaitForMultipleObjectsEx - can't do a true wait-all due to its hidden message queue event. This is not atomic, - of course, but we only wait on one-way (MRE) events anyway so this is OK. - - An array of wait handles to wait on. - The timeout to use during waits. - The cancellationToken that enables a wait to be canceled. - True if all waits succeeded, false if a timeout occurred. - - - - Internal WaitAll implementation which is meant to be used with small number of tasks, - optimized for Parallel.Invoke and other structured primitives. - - - - - This internal function is only meant to be called by WaitAll() - If the completed task is canceled or it has other exceptions, here we will add those - into the passed in exception list (which will be lazily initialized here). - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - The index of the completed task in the array argument. - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - The was canceled. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Gets a unique ID for this Task instance. - - - Task IDs are assigned on-demand and do not necessarily represent the order in the which Task - instances were created. - - - - - Returns the unique ID of the currently executing Task. - - - - - Gets the Task instance currently executing, or - null if none exists. - - - - - Gets the Exception that caused the Task to end prematurely. If the Task completed successfully or has not yet thrown any - exceptions, this will return null. - - - Tasks that throw unhandled exceptions store the resulting exception and propagate it wrapped in a - in calls to Wait - or in accesses to the property. Any exceptions not observed by the time - the Task instance is garbage collected will be propagated on the finalizer thread. - - - The Task - has been disposed. - - - - - Gets the TaskStatus of this Task. - - - - - Gets whether this Task instance has completed - execution due to being canceled. - - - A Task will complete in Canceled state either if its CancellationToken - was marked for cancellation before the task started executing, or if the task acknowledged the cancellation request on - its already signaled CancellationToken by throwing an - OperationCanceledException2 that bears the same - CancellationToken. - - - - - Returns true if this task has a cancellation token and it was signaled. - To be used internally in execute entry codepaths. - - - - - This internal property provides access to the CancellationToken that was set on the task - when it was constructed. - - - - - Gets whether this threw an OperationCanceledException2 while its CancellationToken was signaled. - - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Checks whether this task has been disposed. - - - - - Gets the TaskCreationOptions used - to create this task. - - - - - Gets a that can be used to wait for the task to - complete. - - - Using the wait functionality provided by - should be preferred over using for similar - functionality. - - - The has been disposed. - - - - - Gets the state object supplied when the Task was created, - or null if none was supplied. - - - - - Gets an indication of whether the asynchronous operation completed synchronously. - - true if the asynchronous operation completed synchronously; otherwise, false. - - - - Provides access to the TaskScheduler responsible for executing this Task. - - - - - Provides access to factory methods for creating and instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on TaskFactory. - - - - - Provides an event that can be used to wait for completion. - Only called by Wait*(), which means that we really do need to instantiate a completion event. - - - - - Determines whether this is the root task of a self replicating group. - - - - - Determines whether the task is a replica itself. - - - - - The property formerly known as IsFaulted. - - - - - Gets whether the completed due to an unhandled exception. - - - If is true, the Task's will be equal to - TaskStatus.Faulted, and its - property will be non-null. - - - - - Checks whether the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag is set, - This will only be used by the implicit wait to prevent double throws - - - - - - Checks whether the body was ever invoked. Used by task scheduler code to verify custom schedulers actually ran the task. - - - - - A structure to hold continuation information. - - - - - Constructs a new continuation structure. - - The task to be activated. - The continuation options. - The scheduler to use for the continuation. - - - - Invokes the continuation for the target completion task. - - The completed task. - Whether the continuation can be inlined. - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The argument is null. - - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The to be assigned to this task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and state. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Creates a new future object. - - The parent task for this future. - A function that yields the future value. - The task scheduler which will be used to execute the future. - The CancellationToken for the task. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Creates a new future object. - - The parent task for this future. - An object containing data to be used by the action; may be null. - A function that yields the future value. - The CancellationToken for the task. - The task scheduler which will be used to execute the future. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Evaluates the value selector of the Task which is passed in as an object and stores the result. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new task. - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . This task's completion state will be transferred to the task returned - from the ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be passed as - an argument this completed task. - - The that will be assigned to the new task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . - This task's completion state will be transferred to the task returned from the - ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Gets the result value of this . - - - The get accessor for this property ensures that the asynchronous operation is complete before - returning. Once the result of the computation is available, it is stored and will be returned - immediately on later calls to . - - - - - Provides access to factory methods for creating instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on the factory type. - - - - - Provides support for creating and scheduling - Task{TResult} objects. - - The type of the results that are available though - the Task{TResult} objects that are associated with - the methods in this class. - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task{TResult}.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the default configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory{TResult}. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory{TResult}. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The that will be assigned to the new task. - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory{TResult}. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory{TResult}. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory{TResult}. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents the current stage in the lifecycle of a . - - - - - The task has been initialized but has not yet been scheduled. - - - - - The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure. - - - - - The task has been scheduled for execution but has not yet begun executing. - - - - - The task is running but has not yet completed. - - - - - The task has finished executing and is implicitly waiting for - attached child tasks to complete. - - - - - The task completed execution successfully. - - - - - The task acknowledged cancellation by throwing an OperationCanceledException2 with its own CancellationToken - while the token was in signaled state, or the task's CancellationToken was already signaled before the - task started executing. - - - - - The task completed due to an unhandled exception. - - - - - Specifies flags that control optional behavior for the creation and execution of tasks. - - - - - Specifies that the default behavior should be used. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides a hint to the - TaskScheduler that oversubscription may be - warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Task creation flags which are only used internally. - - - - Specifies "No internal task options" - - - Used to filter out internal vs. public task creation options. - - - Specifies that the task will be queued by the runtime before handing it over to the user. - This flag will be used to skip the cancellationtoken registration step, which is only meant for unstarted tasks. - - - - Specifies flags that control optional behavior for the creation and execution of continuation tasks. - - - - - Default = "Continue on any, no task options, run asynchronously" - Specifies that the default behavior should be used. Continuations, by default, will - be scheduled when the antecedent task completes, regardless of the task's final TaskStatus. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides - a hint to the TaskScheduler that - oversubscription may be warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Specifies that the continuation task should not be scheduled if its antecedent ran to completion. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled - exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent was canceled. This - option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent ran to - completion. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent threw an - unhandled exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent was canceled. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be executed synchronously. With this option - specified, the continuation will be run on the same thread that causes the antecedent task to - transition into its final state. If the antecedent is already complete when the continuation is - created, the continuation will run on the thread creating the continuation. Only very - short-running continuations should be executed synchronously. - - - - - Represents an exception used to communicate task cancellation. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the - class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the - class with a specified error message and a reference to the inner exception that is the cause of - this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - - Initializes a new instance of the class - with a reference to the that has been canceled. - - A task that has been canceled. - - - - Gets the task associated with this exception. - - - It is permissible for no Task to be associated with a - , in which case - this property will return null. - - - - - Represents the producer side of a unbound to a - delegate, providing access to the consumer side through the property. - - - - It is often the case that a is desired to - represent another asynchronous operation. - TaskCompletionSource is provided for this purpose. It enables - the creation of a task that can be handed out to consumers, and those consumers can use the members - of the task as they would any other. However, unlike most tasks, the state of a task created by a - TaskCompletionSource is controlled explicitly by the methods on TaskCompletionSource. This enables the - completion of the external asynchronous operation to be propagated to the underlying Task. The - separation also ensures that consumers are not able to transition the state without access to the - corresponding TaskCompletionSource. - - - All members of are thread-safe - and may be used from multiple threads concurrently. - - - The type of the result value assocatied with this . - - - - Creates a . - - - - - Creates a - with the specified options. - - - The created - by this instance and accessible through its property - will be instantiated using the specified . - - The options to use when creating the underlying - . - - The represent options invalid for use - with a . - - - - - Creates a - with the specified state. - - The state to use as the underlying - 's AsyncState. - - - - Creates a with - the specified state and options. - - The options to use when creating the underlying - . - The state to use as the underlying - 's AsyncState. - - The represent options invalid for use - with a . - - - - - Attempts to transition the underlying - into the - Faulted - state. - - The exception to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - The was disposed. - - - - Attempts to transition the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - There are one or more null elements in . - The collection is empty. - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The exception to bind to this . - The argument is null. - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - The argument is null. - There are one or more null elements in . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Canceled - state. - - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - Canceled - state. - - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Gets the created - by this . - - - This property enables a consumer access to the that is controlled by this instance. - The , , - , and - methods (and their "Try" variants) on this instance all result in the relevant state - transitions on this underlying Task. - - - - - An exception holder manages a list of exceptions for one particular task. - It offers the ability to aggregate, but more importantly, also offers intrinsic - support for propagating unhandled exceptions that are never observed. It does - this by aggregating and throwing if the holder is ever GC'd without the holder's - contents ever having been requested (e.g. by a Task.Wait, Task.get_Exception, etc). - - - - - Creates a new holder; it will be registered for finalization. - - The task this holder belongs to. - - - - A finalizer that repropagates unhandled exceptions. - - - - - Add an exception to the internal list. This will ensure the holder is - in the proper state (handled/unhandled) depending on the list's contents. - - An exception object (either an Exception or an - IEnumerable{Exception}) to add to the list. - - - - A private helper method that ensures the holder is considered - unhandled, i.e. it is registered for finalization. - - - - - A private helper method that ensures the holder is considered - handled, i.e. it is not registered for finalization. - - Whether this is called from the finalizer thread. - - - - Allocates a new aggregate exception and adds the contents of the list to - it. By calling this method, the holder assumes exceptions to have been - "observed", such that the finalization check will be subsequently skipped. - - Whether this is being called from a finalizer. - An extra exception to be included (optionally). - The aggregate exception to throw. - - - - Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of - instances. - - - - - Creates a proxy Task that represents the - asynchronous operation of a Task{Task}. - - - It is often useful to be able to return a Task from a - Task{TResult}, where the inner Task represents work done as part of the outer Task{TResult}. However, - doing so results in a Task{Task}, which, if not dealt with carefully, could produce unexpected behavior. Unwrap - solves this problem by creating a proxy Task that represents the entire asynchronous operation of such a Task{Task}. - - The Task{Task} to unwrap. - The exception that is thrown if the - argument is null. - A Task that represents the asynchronous operation of the provided Task{Task}. - - - - Creates a proxy Task{TResult} that represents the - asynchronous operation of a Task{Task{TResult}}. - - - It is often useful to be able to return a Task{TResult} from a Task{TResult}, where the inner Task{TResult} - represents work done as part of the outer Task{TResult}. However, doing so results in a Task{Task{TResult}}, - which, if not dealt with carefully, could produce unexpected behavior. Unwrap solves this problem by - creating a proxy Task{TResult} that represents the entire asynchronous operation of such a Task{Task{TResult}}. - - The Task{Task{TResult}} to unwrap. - The exception that is thrown if the - argument is null. - A Task{TResult} that represents the asynchronous operation of the provided Task{Task{TResult}}. /// Unwraps a Task that returns another Task. - - - - Provides support for creating and scheduling - Tasks. - - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new task. - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Check validity of options passed to FromAsync method - - The options to be validated. - determines type of FromAsync method that called this method - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents an abstract scheduler for tasks. - - - - TaskScheduler acts as the extension point for all - pluggable scheduling logic. This includes mechanisms such as how to schedule a task for execution, and - how scheduled tasks should be exposed to debuggers. - - - All members of the abstract type are thread-safe - and may be used from multiple threads concurrently. - - - - - - Queues a Task to the scheduler. - - - - A class derived from TaskScheduler - implements this method to accept tasks being scheduled on the scheduler. - A typical implementation would store the task in an internal data structure, which would - be serviced by threads that would execute those tasks at some time in the future. - - - This method is only meant to be called by the .NET Framework and - should not be called directly by the derived class. This is necessary - for maintaining the consistency of the system. - - - The Task to be queued. - The argument is null. - - - - Determines whether the provided Task - can be executed synchronously in this call, and if it can, executes it. - - - - A class derived from TaskScheduler implements this function to - support inline execution of a task on a thread that initiates a wait on that task object. Inline - execution is optional, and the request may be rejected by returning false. However, better - scalability typically results the more tasks that can be inlined, and in fact a scheduler that - inlines too little may be prone to deadlocks. A proper implementation should ensure that a - request executing under the policies guaranteed by the scheduler can successfully inline. For - example, if a scheduler uses a dedicated thread to execute tasks, any inlining requests from that - thread should succeed. - - - If a scheduler decides to perform the inline execution, it should do so by calling to the base - TaskScheduler's - TryExecuteTask method with the provided task object, propagating - the return value. It may also be appropriate for the scheduler to remove an inlined task from its - internal data structures if it decides to honor the inlining request. Note, however, that under - some circumstances a scheduler may be asked to inline a task that was not previously provided to - it with the method. - - - The derived scheduler is responsible for making sure that the calling thread is suitable for - executing the given task as far as its own scheduling and execution policies are concerned. - - - The Task to be - executed. - A Boolean denoting whether or not task has previously been - queued. If this parameter is True, then the task may have been previously queued (scheduled); if - False, then the task is known not to have been queued, and this call is being made in order to - execute the task inline without queueing it. - A Boolean value indicating whether the task was executed inline. - The argument is - null. - The was already - executed. - - - - Generates an enumerable of Task instances - currently queued to the scheduler waiting to be executed. - - - - A class derived from implements this method in order to support - integration with debuggers. This method will only be invoked by the .NET Framework when the - debugger requests access to the data. The enumerable returned will be traversed by debugging - utilities to access the tasks currently queued to this scheduler, enabling the debugger to - provide a representation of this information in the user interface. - - - It is important to note that, when this method is called, all other threads in the process will - be frozen. Therefore, it's important to avoid synchronization with other threads that may lead to - blocking. If synchronization is necessary, the method should prefer to throw a - than to block, which could cause a debugger to experience delays. Additionally, this method and - the enumerable returned must not modify any globally visible state. - - - The returned enumerable should never be null. If there are currently no queued tasks, an empty - enumerable should be returned instead. - - - For developers implementing a custom debugger, this method shouldn't be called directly, but - rather this functionality should be accessed through the internal wrapper method - GetScheduledTasksForDebugger: - internal Task[] GetScheduledTasksForDebugger(). This method returns an array of tasks, - rather than an enumerable. In order to retrieve a list of active schedulers, a debugger may use - another internal method: internal static TaskScheduler[] GetTaskSchedulersForDebugger(). - This static method returns an array of all active TaskScheduler instances. - GetScheduledTasksForDebugger then may be used on each of these scheduler instances to retrieve - the list of scheduled tasks for each. - - - An enumerable that allows traversal of tasks currently queued to this scheduler. - - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Retrieves some thread static state that can be cached and passed to multiple - TryRunInline calls, avoiding superflous TLS fetches. - - A bag of TLS state (or null if none exists). - - - - Attempts to execute the target task synchronously. - - The task to run. - True if the task may have been previously queued, - false if the task was absolutely not previously queued. - The state retrieved from GetThreadStatics - True if it ran, false otherwise. - - - - Attempts to dequeue a Task that was previously queued to - this scheduler. - - The Task to be dequeued. - A Boolean denoting whether the argument was successfully dequeued. - The argument is null. - - - - Notifies the scheduler that a work item has made progress. - - - - - Initializes the . - - - - - Frees all resources associated with this scheduler. - - - - - Creates a - associated with the current . - - - All Task instances queued to - the returned scheduler will be executed through a call to the - Post method - on that context. - - - A associated with - the current SynchronizationContext, as - determined by SynchronizationContext.Current. - - - The current SynchronizationContext may not be used as a TaskScheduler. - - - - - Attempts to execute the provided Task - on this scheduler. - - - - Scheduler implementations are provided with Task - instances to be executed through either the method or the - method. When the scheduler deems it appropriate to run the - provided task, should be used to do so. TryExecuteTask handles all - aspects of executing a task, including action invocation, exception handling, state management, - and lifecycle control. - - - must only be used for tasks provided to this scheduler by the .NET - Framework infrastructure. It should not be used to execute arbitrary tasks obtained through - custom mechanisms. - - - - A Task object to be executed. - - The is not associated with this scheduler. - - A Boolean that is true if was successfully executed, false if it - was not. A common reason for execution failure is that the task had previously been executed or - is in the process of being executed by another thread. - - - - Provides an array of all queued Task instances - for the debugger. - - - The returned array is populated through a call to . - Note that this function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of Task instances. - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Provides an array of all active TaskScheduler - instances for the debugger. - - - This function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of TaskScheduler instances. - - - - Registers a new TaskScheduler instance in the global collection of schedulers. - - - - - Removes a TaskScheduler instance from the global collection of schedulers. - - - - - Indicates the maximum concurrency level this - is able to support. - - - - - Indicates whether this is a custom scheduler, in which case the safe code paths will be taken upon task entry - using a CAS to transition from queued state to executing. - - - - - Gets the default TaskScheduler instance. - - - - - Gets the TaskScheduler - associated with the currently executing task. - - - When not called from within a task, will return the scheduler. - - - - - Gets the unique ID for this . - - - - - Occurs when a faulted 's unobserved exception is about to trigger exception escalation - policy, which, by default, would terminate the process. - - - This AppDomain-wide event provides a mechanism to prevent exception - escalation policy (which, by default, terminates the process) from triggering. - Each handler is passed a - instance, which may be used to examine the exception and to mark it as observed. - - - - - Nested class that provides debugger view for TaskScheduler - - - - Default thread pool scheduler. - - - - A TaskScheduler implementation that executes all tasks queued to it through a call to - on the - that its associated with. The default constructor for this class binds to the current - - - - - Constructs a SynchronizationContextTaskScheduler associated with - - This constructor expects to be set. - - - - Implemetation of for this scheduler class. - - Simply posts the tasks to be executed on the associated . - - - - - - Implementation of for this scheduler class. - - The task will be executed inline only if the call happens within - the associated . - - - - - - - Implementes the property for - this scheduler class. - - By default it returns 1, because a based - scheduler only supports execution on a single thread. - - - - - Provides data for the event that is raised when a faulted 's - exception goes unobserved. - - - The Exception property is used to examine the exception without marking it - as observed, whereas the method is used to mark the exception - as observed. Marking the exception as observed prevents it from triggering exception escalation policy - which, by default, terminates the process. - - - - - Initializes a new instance of the class - with the unobserved exception. - - The Exception that has gone unobserved. - - - - Marks the as "observed," thus preventing it - from triggering exception escalation policy which, by default, terminates the process. - - - - - Gets whether this exception has been marked as "observed." - - - - - The Exception that went unobserved. - - - - - Represents an exception used to communicate an invalid operation by a - . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the - class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the - class using the default error message and a reference to the inner exception that is the cause of - this exception. - - The exception that is the cause of the current exception. - - - - Initializes a new instance of the - class with a specified error message and a reference to the inner exception that is the cause of - this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.dll deleted file mode 100644 index 4a865fc..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.xml deleted file mode 100644 index b47921e..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.xml +++ /dev/null @@ -1,475 +0,0 @@ - - - - System.Threading.Tasks - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/win8/_._ b/packages/Microsoft.Bcl.1.1.9/lib/win8/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/wp8/_._ b/packages/Microsoft.Bcl.1.1.9/lib/wp8/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.Build.1.0.14/License-Stable.rtf b/packages/Microsoft.Bcl.Build.1.0.14/License-Stable.rtf deleted file mode 100644 index 3aec6b6..0000000 --- a/packages/Microsoft.Bcl.Build.1.0.14/License-Stable.rtf +++ /dev/null @@ -1,118 +0,0 @@ -{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fswiss\fprq2\fcharset0 Calibri;}{\f3\fnil\fcharset0 Calibri;}{\f4\fnil\fcharset2 Symbol;}} -{\colortbl ;\red31\green73\blue125;\red0\green0\blue255;} -{\*\listtable -{\list\listhybrid -{\listlevel\levelnfc0\leveljc0\levelstartat1{\leveltext\'02\'00.;}{\levelnumbers\'01;}\jclisttab\tx360} -{\listlevel\levelnfc4\leveljc0\levelstartat1{\leveltext\'02\'01.;}{\levelnumbers\'01;}\jclisttab\tx363} -{\listlevel\levelnfc2\leveljc0\levelstartat1{\leveltext\'02\'02.;}{\levelnumbers\'01;}\jclisttab\tx720}\listid1 } -{\list\listhybrid -{\listlevel\levelnfc0\leveljc0\levelstartat1{\leveltext\'02\'00.;}{\levelnumbers\'01;}\jclisttab\tx363} -{\listlevel\levelnfc4\leveljc0\levelstartat1{\leveltext\'02\'01.;}{\levelnumbers\'01;}\jclisttab\tx363}\listid2 }} -{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} -{\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}{\s3 heading 3;}} -{\*\generator Riched20 6.2.9200}\viewkind4\uc1 -\pard\nowidctlpar\sb120\sa120\b\f0\fs24 MICROSOFT SOFTWARE LICENSE TERMS\par - -\pard\brdrb\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 MICROSOFT .NET LIBRARY \par - -\pard\nowidctlpar\sb120\sa120\fs19 These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120\b0 updates,\par -{\pntext\f4\'B7\tab}supplements,\par -{\pntext\f4\'B7\tab}Internet-based services, and\par -{\pntext\f4\'B7\tab}support services\par - -\pard\nowidctlpar\sb120\sa120\b for this software, unless other terms accompany those items. If so, those terms apply.\par -BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par - -\pard\brdrt\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.\par - -\pard -{\listtext\f0 1.\tab}\jclisttab\tx360\ls1\nowidctlpar\s1\fi-357\li357\sb120\sa120 INSTALLATION AND USE RIGHTS. \par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls1\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 Installation and Use.\b0\fs20 You may install and use any number of copies of the software to design, develop and test your programs.\par -{\listtext\f0 b.\tab}\b\fs19 Third Party Programs.\b0\fs20 The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only.\b\fs19\par - -\pard -{\listtext\f0 2.\tab}\jclisttab\tx360\ls1\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.\par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls1\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 DISTRIBUTABLE CODE.\~ \b0 The software is comprised of Distributable Code. \f1\ldblquote\f0 Distributable Code\f1\rdblquote\f0 is code that you are permitted to distribute in programs you develop if you comply with the terms below.\b\par - -\pard -{\listtext\f0 i.\tab}\jclisttab\tx720\ls1\ilvl2\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077 Right to Use and Distribute. \par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 You may copy and distribute the object code form of the software.\par -{\pntext\f4\'B7\tab}Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.\par - -\pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\b ii.\tab Distribution Requirements.\b0 \b For any Distributable Code you distribute, you must\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 add significant primary functionality to it in your programs;\par -{\pntext\f4\'B7\tab}require distributors and external end users to agree to terms that protect it at least as much as this agreement;\par -{\pntext\f4\'B7\tab}display your valid copyright notice on your programs; and\par -{\pntext\f4\'B7\tab}indemnify, defend, and hold harmless Microsoft from any claims, including attorneys\rquote fees, related to the distribution or use of your programs.\par - -\pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\b iii.\tab Distribution Restrictions.\b0 \b You may not\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 alter any copyright, trademark or patent notice in the Distributable Code;\par -{\pntext\f4\'B7\tab}use Microsoft\rquote s trademarks in your programs\rquote names or in a way that suggests your programs come from or are endorsed by Microsoft;\par -{\pntext\f4\'B7\tab}include Distributable Code in malicious, deceptive or unlawful programs; or\par -{\pntext\f4\'B7\tab}modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-358\li1792\sb120\sa120 the code be disclosed or distributed in source code form; or\cf1\f2\par -{\pntext\f4\'B7\tab}\cf0\f0 others have the right to modify it.\cf1\f2\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\cf0\b\f0 3.\tab\fs19 SCOPE OF LICENSE. \b0 The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120 work around any technical limitations in the software;\par -{\pntext\f4\'B7\tab}reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;\par -{\pntext\f4\'B7\tab}publish the software for others to copy;\par -{\pntext\f4\'B7\tab}rent, lease or lend the software;\par -{\pntext\f4\'B7\tab}transfer the software or this agreement to any third party; or\par -{\pntext\f4\'B7\tab}use the software for commercial software hosting services.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\b\fs20 4.\tab\fs19 BACKUP COPY. \b0 You may make one backup copy of the software. You may use it only to reinstall the software.\par -\b\fs20 5.\tab\fs19 DOCUMENTATION. \b0 Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\par -\b\fs20 6.\tab\fs19 EXPORT RESTRICTIONS. \b0 The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see {\cf2\ul\fs20{\field{\*\fldinst{HYPERLINK www.microsoft.com/exporting }}{\fldrslt{www.microsoft.com/exporting}}}}\f0\fs19 .\cf2\ul\fs20\par -\cf0\ulnone\b 7.\tab\fs19 SUPPORT SERVICES. \b0 Because this software is \ldblquote as is,\rdblquote we may not provide support services for it.\par -\b\fs20 8.\tab\fs19 ENTIRE AGREEMENT. \b0 This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par -\b\fs20 9.\tab\fs19 APPLICABLE LAW.\par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls2\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 United States. \b0 If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\par -{\listtext\f0 b.\tab}\b Outside the United States. If you acquired the software in any other country, the laws of that country apply.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 10.\tab\fs19 LEGAL EFFECT. \b0 This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\par -\b\fs20 11.\tab\fs19 DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED \ldblquote AS-IS.\rdblquote YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.\par - -\pard\nowidctlpar\li357\sb120\sa120 FOR AUSTRALIA \endash YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 12.\tab\fs19 LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.\par - -\pard\nowidctlpar\li357\sb120\sa120\b0 This limitation applies to\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120 anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par -{\pntext\f4\'B7\tab}claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par - -\pard\nowidctlpar\sb120\sa120 It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\par -\lang9 Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.\par -Remarque : Ce logiciel \'e9tant distribu\'e9 au Qu\'e9bec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en fran\'e7ais.\par - -\pard\nowidctlpar\s1\sb120\sa120\b\lang1033 EXON\'c9RATION DE GARANTIE. \b0 Le logiciel vis\'e9 par une licence est offert \'ab tel quel \'bb. Toute utilisation de ce logiciel est \'e0 votre seule risque et p\'e9ril. Microsoft n\rquote accorde aucune autre garantie expresse. Vous pouvez b\'e9n\'e9ficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualit\'e9 marchande, d\rquote ad\'e9quation \'e0 un usage particulier et d\rquote absence de contrefa\'e7on sont exclues.\par -\b LIMITATION DES DOMMAGES-INT\'c9R\'caTS ET EXCLUSION DE RESPONSABILIT\'c9 POUR LES DOMMAGES. \b0 Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement \'e0 hauteur de 5,00 $ US. Vous ne pouvez pr\'e9tendre \'e0 aucune indemnisation pour les autres dommages, y compris les dommages sp\'e9ciaux, indirects ou accessoires et pertes de b\'e9n\'e9fices.\par - -\pard\nowidctlpar\sb120\sa120\lang9 Cette limitation concerne :\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\li720\sb120\sa120 tout ce qui est reli\'e9 au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et\par -{\pntext\f4\'B7\tab}les r\'e9clamations au titre de violation de contrat ou de garantie, ou au titre de responsabilit\'e9 stricte, de n\'e9gligence ou d\rquote une autre faute dans la limite autoris\'e9e par la loi en vigueur.\par - -\pard\nowidctlpar\sb120\sa120 Elle s\rquote applique \'e9galement, m\'eame si Microsoft connaissait ou devrait conna\'eetre l\rquote\'e9ventualit\'e9 d\rquote un tel dommage. Si votre pays n\rquote autorise pas l\rquote exclusion ou la limitation de responsabilit\'e9 pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l\rquote exclusion ci-dessus ne s\rquote appliquera pas \'e0 votre \'e9gard.\par - -\pard\nowidctlpar\s1\sb120\sa120\b\lang1033 EFFET JURIDIQUE. \b0 Le pr\'e9sent contrat d\'e9crit certains droits juridiques. Vous pourriez avoir d\rquote autres droits pr\'e9vus par les lois de votre pays. Le pr\'e9sent contrat ne modifie pas les droits que vous conf\'e8rent les lois de votre pays si celles-ci ne le permettent pas.\par - -\pard\nowidctlpar\sb120\sa120\b\fs20\lang1036\par - -\pard\sa200\sl276\slmult1\b0\f3\fs22\lang9\par -} - \ No newline at end of file diff --git a/packages/Microsoft.Bcl.Build.1.0.14/Microsoft.Bcl.Build.1.0.14.nupkg b/packages/Microsoft.Bcl.Build.1.0.14/Microsoft.Bcl.Build.1.0.14.nupkg deleted file mode 100644 index e99599c..0000000 Binary files a/packages/Microsoft.Bcl.Build.1.0.14/Microsoft.Bcl.Build.1.0.14.nupkg and /dev/null differ diff --git a/packages/Microsoft.Bcl.Build.1.0.14/content/net40/_._ b/packages/Microsoft.Bcl.Build.1.0.14/content/net40/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.Build.1.0.14/content/netcore45/_._ b/packages/Microsoft.Bcl.Build.1.0.14/content/netcore45/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.Build.1.0.14/content/portable-net40+win8+sl4+wp71+wpa81/_._ b/packages/Microsoft.Bcl.Build.1.0.14/content/portable-net40+win8+sl4+wp71+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.Build.1.0.14/content/sl4-windowsphone71/_._ b/packages/Microsoft.Bcl.Build.1.0.14/content/sl4-windowsphone71/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.Build.1.0.14/content/sl4/_._ b/packages/Microsoft.Bcl.Build.1.0.14/content/sl4/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.Build.1.0.14/tools/Install.ps1 b/packages/Microsoft.Bcl.Build.1.0.14/tools/Install.ps1 deleted file mode 100644 index 0bcac3e..0000000 --- a/packages/Microsoft.Bcl.Build.1.0.14/tools/Install.ps1 +++ /dev/null @@ -1,38 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - # This is the MSBuild targets file to add - $targetsFile = [System.IO.Path]::Combine($toolsPath, $package.Id + '.targets') - - # Need to load MSBuild assembly if it's not loaded yet. - Add-Type -AssemblyName 'Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' - - # Grab the loaded MSBuild project for the project - # Normalize project path before calling GetLoadedProjects as it performs a string based match - $msbuild = [Microsoft.Build.Evaluation.ProjectCollection]::GlobalProjectCollection.GetLoadedProjects([System.IO.Path]::GetFullPath($project.FullName)) | Select-Object -First 1 - - # Make the path to the targets file relative. - $projectUri = new-object Uri($project.FullName, [System.UriKind]::Absolute) - $targetUri = new-object Uri($targetsFile, [System.UriKind]::Absolute) - $relativePath = [System.Uri]::UnescapeDataString($projectUri.MakeRelativeUri($targetUri).ToString()).Replace([System.IO.Path]::AltDirectorySeparatorChar, [System.IO.Path]::DirectorySeparatorChar) - - # Add the import with a condition, to allow the project to load without the targets present. - $import = $msbuild.Xml.AddImport($relativePath) - $import.Condition = "Exists('$relativePath')" - - # Add a target to fail the build when our targets are not imported - $target = $msbuild.Xml.AddTarget("EnsureBclBuildImported") - $target.BeforeTargets = "BeforeBuild" - $target.Condition = "'`$(BclBuildImported)' == ''" - - # if the targets don't exist at the time the target runs, package restore didn't run - $errorTask = $target.AddTask("Error") - $errorTask.Condition = "!Exists('$relativePath')" - $errorTask.SetParameter("Text", "This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567."); - $errorTask.SetParameter("HelpKeyword", "BCLBUILD2001"); - - # if the targets exist at the time the target runs, package restore ran but the build didn't import the targets. - $errorTask = $target.AddTask("Error") - $errorTask.Condition = "Exists('$relativePath')" - $errorTask.SetParameter("Text", "The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568."); - $errorTask.SetParameter("HelpKeyword", "BCLBUILD2002"); - - $project.Save() \ No newline at end of file diff --git a/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.Tasks.dll b/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.Tasks.dll deleted file mode 100644 index 054e776..0000000 Binary files a/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.targets b/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.targets deleted file mode 100644 index a14b3ea..0000000 --- a/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.targets +++ /dev/null @@ -1,232 +0,0 @@ - - - - true - - - - - false - - - $(ProjectConfigFileName) - - - - - - <_FullFrameworkReferenceAssemblyPaths>$(TargetFrameworkDirectory) - - - - - - <__IntermediateAppConfig>$(IntermediateOutputPath)$(MSBuildProjectFile).App.config - - true - - - - - - - - - <_EnsureBindingRedirectReference Include="@(Reference)" - Condition="'%(Reference.HintPath)' != '' and Exists('$([System.IO.Path]::GetDirectoryName("%(Reference.HintPath)"))\\ensureRedirect.xml')" /> - - - - - - - - - - - - - - - $(__IntermediateAppConfig) - - - - - $(TargetFileName).config - - - - - - - - - - - <_BclBuildProjectReferenceProperties>BclBuildReferencingProject=$(MSBuildProjectFullPath);BclBuildReferencingProjectConfig=$(MSBuildProjectDirectory)\packages.config - <_BclBuildProjectReferenceProperties Condition="'$(SkipValidatePackageReferences)' != ''">$(_BclBuildProjectReferenceProperties);SkipValidatePackageReferences=$(SkipValidatePackageReferences) - - - - - $(_BclBuildProjectReferenceProperties);%(ProjectReference.AdditionalProperties) - - - - - - - - true - - - - - - - - - - false - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/packages/Microsoft.Bcl.Build.1.0.14/tools/Uninstall.ps1 b/packages/Microsoft.Bcl.Build.1.0.14/tools/Uninstall.ps1 deleted file mode 100644 index 255a059..0000000 --- a/packages/Microsoft.Bcl.Build.1.0.14/tools/Uninstall.ps1 +++ /dev/null @@ -1,26 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - - # Need to load MSBuild assembly if it's not loaded yet. - Add-Type -AssemblyName 'Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' - - # Grab the loaded MSBuild project for the project - # Normalize project path before calling GetLoadedProjects as it performs a string based match - $msbuild = [Microsoft.Build.Evaluation.ProjectCollection]::GlobalProjectCollection.GetLoadedProjects([System.IO.Path]::GetFullPath($project.FullName)) | Select-Object -First 1 - - # Find all the imports and targets added by this package. - $itemsToRemove = @() - - # Allow many in case a past package was incorrectly uninstalled - $itemsToRemove += $msbuild.Xml.Imports | Where-Object { $_.Project.EndsWith($package.Id + '.targets') } - $itemsToRemove += $msbuild.Xml.Targets | Where-Object { $_.Name -eq "EnsureBclBuildImported" } - - # Remove the elements and save the project - if ($itemsToRemove -and $itemsToRemove.length) - { - foreach ($itemToRemove in $itemsToRemove) - { - $msbuild.Xml.RemoveChild($itemToRemove) | out-null - } - - $project.Save() - } \ No newline at end of file diff --git a/packages/Microsoft.Net.Http.2.2.28/License-Stable.rtf b/packages/Microsoft.Net.Http.2.2.28/License-Stable.rtf deleted file mode 100644 index 3aec6b6..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/License-Stable.rtf +++ /dev/null @@ -1,118 +0,0 @@ -{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fswiss\fprq2\fcharset0 Calibri;}{\f3\fnil\fcharset0 Calibri;}{\f4\fnil\fcharset2 Symbol;}} -{\colortbl ;\red31\green73\blue125;\red0\green0\blue255;} -{\*\listtable -{\list\listhybrid -{\listlevel\levelnfc0\leveljc0\levelstartat1{\leveltext\'02\'00.;}{\levelnumbers\'01;}\jclisttab\tx360} -{\listlevel\levelnfc4\leveljc0\levelstartat1{\leveltext\'02\'01.;}{\levelnumbers\'01;}\jclisttab\tx363} -{\listlevel\levelnfc2\leveljc0\levelstartat1{\leveltext\'02\'02.;}{\levelnumbers\'01;}\jclisttab\tx720}\listid1 } -{\list\listhybrid -{\listlevel\levelnfc0\leveljc0\levelstartat1{\leveltext\'02\'00.;}{\levelnumbers\'01;}\jclisttab\tx363} -{\listlevel\levelnfc4\leveljc0\levelstartat1{\leveltext\'02\'01.;}{\levelnumbers\'01;}\jclisttab\tx363}\listid2 }} -{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} -{\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}{\s3 heading 3;}} -{\*\generator Riched20 6.2.9200}\viewkind4\uc1 -\pard\nowidctlpar\sb120\sa120\b\f0\fs24 MICROSOFT SOFTWARE LICENSE TERMS\par - -\pard\brdrb\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 MICROSOFT .NET LIBRARY \par - -\pard\nowidctlpar\sb120\sa120\fs19 These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120\b0 updates,\par -{\pntext\f4\'B7\tab}supplements,\par -{\pntext\f4\'B7\tab}Internet-based services, and\par -{\pntext\f4\'B7\tab}support services\par - -\pard\nowidctlpar\sb120\sa120\b for this software, unless other terms accompany those items. If so, those terms apply.\par -BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par - -\pard\brdrt\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.\par - -\pard -{\listtext\f0 1.\tab}\jclisttab\tx360\ls1\nowidctlpar\s1\fi-357\li357\sb120\sa120 INSTALLATION AND USE RIGHTS. \par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls1\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 Installation and Use.\b0\fs20 You may install and use any number of copies of the software to design, develop and test your programs.\par -{\listtext\f0 b.\tab}\b\fs19 Third Party Programs.\b0\fs20 The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only.\b\fs19\par - -\pard -{\listtext\f0 2.\tab}\jclisttab\tx360\ls1\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.\par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls1\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 DISTRIBUTABLE CODE.\~ \b0 The software is comprised of Distributable Code. \f1\ldblquote\f0 Distributable Code\f1\rdblquote\f0 is code that you are permitted to distribute in programs you develop if you comply with the terms below.\b\par - -\pard -{\listtext\f0 i.\tab}\jclisttab\tx720\ls1\ilvl2\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077 Right to Use and Distribute. \par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 You may copy and distribute the object code form of the software.\par -{\pntext\f4\'B7\tab}Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.\par - -\pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\b ii.\tab Distribution Requirements.\b0 \b For any Distributable Code you distribute, you must\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 add significant primary functionality to it in your programs;\par -{\pntext\f4\'B7\tab}require distributors and external end users to agree to terms that protect it at least as much as this agreement;\par -{\pntext\f4\'B7\tab}display your valid copyright notice on your programs; and\par -{\pntext\f4\'B7\tab}indemnify, defend, and hold harmless Microsoft from any claims, including attorneys\rquote fees, related to the distribution or use of your programs.\par - -\pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\b iii.\tab Distribution Restrictions.\b0 \b You may not\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 alter any copyright, trademark or patent notice in the Distributable Code;\par -{\pntext\f4\'B7\tab}use Microsoft\rquote s trademarks in your programs\rquote names or in a way that suggests your programs come from or are endorsed by Microsoft;\par -{\pntext\f4\'B7\tab}include Distributable Code in malicious, deceptive or unlawful programs; or\par -{\pntext\f4\'B7\tab}modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-358\li1792\sb120\sa120 the code be disclosed or distributed in source code form; or\cf1\f2\par -{\pntext\f4\'B7\tab}\cf0\f0 others have the right to modify it.\cf1\f2\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\cf0\b\f0 3.\tab\fs19 SCOPE OF LICENSE. \b0 The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120 work around any technical limitations in the software;\par -{\pntext\f4\'B7\tab}reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;\par -{\pntext\f4\'B7\tab}publish the software for others to copy;\par -{\pntext\f4\'B7\tab}rent, lease or lend the software;\par -{\pntext\f4\'B7\tab}transfer the software or this agreement to any third party; or\par -{\pntext\f4\'B7\tab}use the software for commercial software hosting services.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\b\fs20 4.\tab\fs19 BACKUP COPY. \b0 You may make one backup copy of the software. You may use it only to reinstall the software.\par -\b\fs20 5.\tab\fs19 DOCUMENTATION. \b0 Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\par -\b\fs20 6.\tab\fs19 EXPORT RESTRICTIONS. \b0 The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see {\cf2\ul\fs20{\field{\*\fldinst{HYPERLINK www.microsoft.com/exporting }}{\fldrslt{www.microsoft.com/exporting}}}}\f0\fs19 .\cf2\ul\fs20\par -\cf0\ulnone\b 7.\tab\fs19 SUPPORT SERVICES. \b0 Because this software is \ldblquote as is,\rdblquote we may not provide support services for it.\par -\b\fs20 8.\tab\fs19 ENTIRE AGREEMENT. \b0 This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par -\b\fs20 9.\tab\fs19 APPLICABLE LAW.\par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls2\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 United States. \b0 If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\par -{\listtext\f0 b.\tab}\b Outside the United States. If you acquired the software in any other country, the laws of that country apply.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 10.\tab\fs19 LEGAL EFFECT. \b0 This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\par -\b\fs20 11.\tab\fs19 DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED \ldblquote AS-IS.\rdblquote YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.\par - -\pard\nowidctlpar\li357\sb120\sa120 FOR AUSTRALIA \endash YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 12.\tab\fs19 LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.\par - -\pard\nowidctlpar\li357\sb120\sa120\b0 This limitation applies to\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120 anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par -{\pntext\f4\'B7\tab}claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par - -\pard\nowidctlpar\sb120\sa120 It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\par -\lang9 Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.\par -Remarque : Ce logiciel \'e9tant distribu\'e9 au Qu\'e9bec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en fran\'e7ais.\par - -\pard\nowidctlpar\s1\sb120\sa120\b\lang1033 EXON\'c9RATION DE GARANTIE. \b0 Le logiciel vis\'e9 par une licence est offert \'ab tel quel \'bb. Toute utilisation de ce logiciel est \'e0 votre seule risque et p\'e9ril. Microsoft n\rquote accorde aucune autre garantie expresse. Vous pouvez b\'e9n\'e9ficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualit\'e9 marchande, d\rquote ad\'e9quation \'e0 un usage particulier et d\rquote absence de contrefa\'e7on sont exclues.\par -\b LIMITATION DES DOMMAGES-INT\'c9R\'caTS ET EXCLUSION DE RESPONSABILIT\'c9 POUR LES DOMMAGES. \b0 Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement \'e0 hauteur de 5,00 $ US. Vous ne pouvez pr\'e9tendre \'e0 aucune indemnisation pour les autres dommages, y compris les dommages sp\'e9ciaux, indirects ou accessoires et pertes de b\'e9n\'e9fices.\par - -\pard\nowidctlpar\sb120\sa120\lang9 Cette limitation concerne :\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\li720\sb120\sa120 tout ce qui est reli\'e9 au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et\par -{\pntext\f4\'B7\tab}les r\'e9clamations au titre de violation de contrat ou de garantie, ou au titre de responsabilit\'e9 stricte, de n\'e9gligence ou d\rquote une autre faute dans la limite autoris\'e9e par la loi en vigueur.\par - -\pard\nowidctlpar\sb120\sa120 Elle s\rquote applique \'e9galement, m\'eame si Microsoft connaissait ou devrait conna\'eetre l\rquote\'e9ventualit\'e9 d\rquote un tel dommage. Si votre pays n\rquote autorise pas l\rquote exclusion ou la limitation de responsabilit\'e9 pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l\rquote exclusion ci-dessus ne s\rquote appliquera pas \'e0 votre \'e9gard.\par - -\pard\nowidctlpar\s1\sb120\sa120\b\lang1033 EFFET JURIDIQUE. \b0 Le pr\'e9sent contrat d\'e9crit certains droits juridiques. Vous pourriez avoir d\rquote autres droits pr\'e9vus par les lois de votre pays. Le pr\'e9sent contrat ne modifie pas les droits que vous conf\'e8rent les lois de votre pays si celles-ci ne le permettent pas.\par - -\pard\nowidctlpar\sb120\sa120\b\fs20\lang1036\par - -\pard\sa200\sl276\slmult1\b0\f3\fs22\lang9\par -} - \ No newline at end of file diff --git a/packages/Microsoft.Net.Http.2.2.28/Microsoft.Net.Http.2.2.28.nupkg b/packages/Microsoft.Net.Http.2.2.28/Microsoft.Net.Http.2.2.28.nupkg deleted file mode 100644 index d885710..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/Microsoft.Net.Http.2.2.28.nupkg and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Extensions.XML b/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Extensions.XML deleted file mode 100644 index 1190940..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Extensions.XML +++ /dev/null @@ -1,50 +0,0 @@ - - - - System.Net.Http.Extensions - - - - - Extension methods for which expose differences in platform specific capabilities. - - - - - Gets a value that indicates if HttpClientHandler.AllowAutoRedirect is supported by the handler. - When this property is true and HttpClientHandler.SupportsRedirectConfiguration is false, setting HttpClientHandler.AllowAutoRedirect to true will cause the system default to be used for HttpClientHandler.MaximumAutomaticRedirections. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion are supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion properties; otherwise false. - - - - Gets a value that indicates if HttpRequestMessage.Headers with or header value of 'chunked' is supported by the handler. - - The to check. - Returns .true if the if the handler supports setting HttpRequestMessage.Headers with or header value of 'chunked'; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - When this property is true and HttpClientHandler.SupportsProxy is false, setting HttpClientHandler.UseProxy to true will cause the system default to be used for HttpClientHandler.Proxy. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Extensions.dll b/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Extensions.dll deleted file mode 100644 index 1aef22e..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Primitives.dll b/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Primitives.dll deleted file mode 100644 index 48679fa..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Primitives.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Primitives.xml b/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Primitives.xml deleted file mode 100644 index 53640c6..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Primitives.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - System.Net.Http.Primitives - - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Extensions.XML b/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Extensions.XML deleted file mode 100644 index 1190940..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Extensions.XML +++ /dev/null @@ -1,50 +0,0 @@ - - - - System.Net.Http.Extensions - - - - - Extension methods for which expose differences in platform specific capabilities. - - - - - Gets a value that indicates if HttpClientHandler.AllowAutoRedirect is supported by the handler. - When this property is true and HttpClientHandler.SupportsRedirectConfiguration is false, setting HttpClientHandler.AllowAutoRedirect to true will cause the system default to be used for HttpClientHandler.MaximumAutomaticRedirections. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion are supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion properties; otherwise false. - - - - Gets a value that indicates if HttpRequestMessage.Headers with or header value of 'chunked' is supported by the handler. - - The to check. - Returns .true if the if the handler supports setting HttpRequestMessage.Headers with or header value of 'chunked'; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - When this property is true and HttpClientHandler.SupportsProxy is false, setting HttpClientHandler.UseProxy to true will cause the system default to be used for HttpClientHandler.Proxy. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Extensions.dll b/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Extensions.dll deleted file mode 100644 index 1aef22e..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Primitives.dll b/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Primitives.dll deleted file mode 100644 index 48679fa..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Primitives.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Primitives.xml b/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Primitives.xml deleted file mode 100644 index 53640c6..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Primitives.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - System.Net.Http.Primitives - - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Extensions.XML b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Extensions.XML deleted file mode 100644 index 1190940..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Extensions.XML +++ /dev/null @@ -1,50 +0,0 @@ - - - - System.Net.Http.Extensions - - - - - Extension methods for which expose differences in platform specific capabilities. - - - - - Gets a value that indicates if HttpClientHandler.AllowAutoRedirect is supported by the handler. - When this property is true and HttpClientHandler.SupportsRedirectConfiguration is false, setting HttpClientHandler.AllowAutoRedirect to true will cause the system default to be used for HttpClientHandler.MaximumAutomaticRedirections. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion are supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion properties; otherwise false. - - - - Gets a value that indicates if HttpRequestMessage.Headers with or header value of 'chunked' is supported by the handler. - - The to check. - Returns .true if the if the handler supports setting HttpRequestMessage.Headers with or header value of 'chunked'; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - When this property is true and HttpClientHandler.SupportsProxy is false, setting HttpClientHandler.UseProxy to true will cause the system default to be used for HttpClientHandler.Proxy. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Extensions.dll b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Extensions.dll deleted file mode 100644 index 1aef22e..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Primitives.dll b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Primitives.dll deleted file mode 100644 index 2a50fbe..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Primitives.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Primitives.xml b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Primitives.xml deleted file mode 100644 index 53640c6..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Primitives.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - System.Net.Http.Primitives - - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.WebRequest.dll b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.WebRequest.dll deleted file mode 100644 index 038e032..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.WebRequest.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.WebRequest.xml b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.WebRequest.xml deleted file mode 100644 index c87a734..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.WebRequest.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - System.Net.Http.WebRequest - - - - - - Implements a transport handler using instances to send HTTP requests to servers. - - - Initializes a new instance of the class. - - - Gets or sets a value that indicates whether to pipeline the request to the Internet resource. - Returns .true if the request should be pipelined; otherwise, false. The default is true. - - - Gets or sets a value indicating the level of authentication and impersonation used for this request. - Returns .A bitwise combination of the values. The default value is . - - - Gets or sets the cache policy for this request. - Returns .A object that defines a cache policy. The default is . - - - Gets or sets the collection of security certificates that are associated with this request. - Returns .The collection of security certificates associated with this request. - - - Gets or sets the amount of time, in milliseconds, the application will wait for 100-continue from the server before uploading data. - Returns .The amount of time, in milliseconds, the application will wait for 100-continue from the server before uploading data. The default value is 350 milliseconds. - - - Gets or sets the impersonation level for the current request. - Returns .The impersonation level for the request. The default is . - - - Gets or sets the maximum allowed length of the response headers. - Returns .The length, in kilobytes (1024 bytes), of the response headers. - - - Gets or sets a time-out in milliseconds when writing a request to or reading a response from a server. - Returns .The number of milliseconds before the writing or reading times out. The default value is 300,000 milliseconds (5 minutes). - - - Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing. - Returns .true to keep the authenticated connection open; otherwise, false. - - - \ No newline at end of file diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.dll b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.dll deleted file mode 100644 index 2cee3d6..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.xml b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.xml deleted file mode 100644 index 940e260..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.xml +++ /dev/null @@ -1,1581 +0,0 @@ - - - - System.Net.Http - - - - Provides HTTP content based on a byte array. - - - Initializes a new instance of the class. - The content used to initialize the . - The parameter is null. - - - Initializes a new instance of the class. - The content used to initialize the . - The offset, in bytes, in the parameter used to initialize the . - The number of bytes in the starting from the parameter used to initialize the . - The parameter is null. - The parameter is less than zero.-or-The parameter is greater than the length of content specified by the parameter.-or-The parameter is less than zero.-or-The parameter is greater than the length of content specified by the parameter - minus the parameter. - - - Creates an HTTP content stream for reading whose backing store is memory from the . - Returns .The HTTP content stream. - - - Serialize and write the byte array provided in the constructor to an HTTP content stream. - The target stream. - Information about the transport(channel binding token, for example). This parameter may be null. - - - Serialize and write the byte array provided in the constructor to an HTTP content stream as an asynchronous operation. - Returns . The task object representing the asynchronous operation. - The target stream. - Information about the transport, like channel binding token. This parameter may be null. - - - Determines whether a byte array has a valid length in bytes. - Returns .true if is a valid length; otherwise, false. - The length in bytes of the byte array. - - - A base type for HTTP handlers that delegate the processing of HTTP response messages to another handler, called the inner handler. - - - Initializes a new instance of the class with a specific inner handler. - The inner handler which is responsible for processing the HTTP response messages. - - - Releases the unmanaged resources used by the , and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Sends an HTTP request to the inner handler to send to the server synchronously. - Returns . The HTTP response message from the inner handler. - The HTTP request message to send to the server. - A cancellation token to cancel operation. - - - Sends an HTTP request to the inner handler to send to the server as an asynchronous operation. - Returns . The task object representing the asynchronous operation. - The HTTP request message to send to the server. - A cancellation token to cancel operation. - - - A container for name/value tuples encoded using application/x-www-form-urlencoded MIME type. - - - Initializes a new instance of the class with a specific collection of name/value pairs. - A collection of name/value pairs. - - - Creates an HTTP content stream for reading whose backing store is memory from the . - Returns . The HTTP content stream. - - - Serialize and write the provided name/value pairs in the constructor to an HTTP content stream. - The target stream. - Information about the transport (the channel binding token, for example). This parameter may be a null reference. - - - Serialize and write the provided name/value pairs in the constructor to an HTTP content stream as an asynchronous operation. - Returns . The task object representing the asynchronous operation. - The target stream. - Information about the transport (the channel binding token, for example). This parameter may be a null reference. - - - Determines whether the encoded name/value data has a valid length in bytes. - Returns .true if is a valid length; otherwise, false. - The length in bytes of the encoded name/value data. - - - Provides a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specific handler. - The HTTP handler stack to use for sending requests. - - - Gets or sets the base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests. - Returns .The base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests. - - - Cancel all pending requests on this instance. - - - Gets the headers which should be sent with each request. - Returns .The headers which should be sent with each request. - - - Send a DELETE request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a DELETE request to the specified Uri. - Returns .The HTTP response message. - The request message was already sent by the instance. - - - Send a DELETE request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - - - Send a DELETE request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Send a GET request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a GET request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a GET request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a GET request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Gets or sets the maximum number of bytes to buffer when reading the response content. - Returns .The maximum number of bytes to buffer when reading the response content. - The size specified is less than or equal to zero. - An operation has already been started on the current instance. - The current instance has been disposed. - - - Send a POST request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a POST request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a POST request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a POST request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - This operation will not block. The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Gets or sets the number of milliseconds to wait before the request times out. - Returns .The number of milliseconds to wait before the request times out. - The timeout specified is less than or equal to zero and is not . - An operation has already been started on the current instance. - The current instance has been disposed. - - - A base class for HTTP handler implementations. - - - Creates an instance of a class. - - - Gets or sets a value that indicates whether the handler should follow redirection responses. - Returns .true if the if the handler should follow redirection responses; otherwise false. The default value is true. - - - Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response. - Returns .The automatic decompression method used by the handler. The default value is . - - - Gets or sets the cookie container used to store server cookies by the handler. - Returns .The cookie container used to store server cookies by the handler. - - - Gets or sets authentication information used by this handler. - Returns .The authentication credentials associated with the handler. The default is null. - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Gets or sets the maximum number of redirects that the handler follows. - Returns .The maximum number of redirection responses that the handler follows. The default value is 50. - - - Gets or sets the maximum request content buffer size used by the handler. - Returns .The maximum request content buffer size in bytes. The default value is 65,536 bytes. - - - Gets or sets a value that indicates whether the handler sends an Authorization header with the request. - Returns .true for the handler to send an HTTP Authorization header with requests after authentication has taken place; otherwise, false. The default is false. - - - Gets or sets proxy information used by the handler. - Returns .The proxy information used by the handler. The default value is null. - - - Creates an instance of based on the information provided in the . - Returns .The HTTP response message. - The HTTP request message. - A cancellation token to cancel the operation. - - - Creates an instance of based on the information provided in the as an operation that will not block. - Returns .The task object representing the asynchronous operation. - The HTTP request message. - A cancellation token to cancel the operation. - - - Gets a value that indicates whether the handler supports automatic response content decompression. - Returns .true if the if the handler supports automatic response content decompression; otherwise false. The default value is true. - - - Gets a value that indicates whether the handler supports proxy settings. - Returns .true if the if the handler supports proxy settings; otherwise false. The default value is true. - - - Gets a value that indicates whether the handler supports configuration settings for the and properties. - Returns .true if the if the handler supports configuration settings for the and properties; otherwise false. The default value is true. - - - Gets or sets a value that indicates whether the handler uses the property to store server cookies and uses these cookies when sending requests. - Returns .true if the if the handler supports uses the property to store server cookies and uses these cookies when sending requests; otherwise false. The default value is true. - - - Gets or sets a value that controls whether default credentials are sent with requests by the handler. - Returns .true if the default credentials are used; otherwise false. The default value is false. - - - Gets or sets a value that indicates whether the handler uses a proxy for requests. - Returns .true if the handler should use a proxy for requests; otherwise false. The default value is true. - - - Indicates if operations should be considered completed either as soon as a response is available, or after reading the entire response message including the content. - - - The operation should complete after reading the entire response including the content. - - - The operation should complete as soon as a response is available and headers are read. The content is not read yet. - - - A base class representing an HTTP entity body and content headers. - - - Initializes a new instance of the class. - - - Gets a stream representing the serialized HTTP content. - Returns .A stream representing the serialized HTTP content. - - - Write the HTTP content to a stream. - The target stream. - - - Write the HTTP content to a stream. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Write the HTTP content to a stream as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The target stream. - - - Write the HTTP content to a stream as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Buffer the te HTTP content to a memory stream. - Returns . - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Gets the HTTP content headers as defined in RFC 2616. - Returns .The content headers as defined in RFC 2616. - - - Serialize the HTTP content to a memory buffer. - - - Serialize the HTTP content to a memory buffer. - The maximum size, in bytes, of the buffer to use. - - - Serialize the HTTP content to a memory buffer as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - - - Serialize the HTTP content to a memory buffer as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The maximum size, in bytes, of the buffer to use. - - - Return the HTTP content as byte array. - Returns .The HTTP content as byte array. - - - Return the HTTP content as string. - Returns .The HTTP content as a string. - - - Serialize the HTTP content to a stream. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Serialize the HTTP content to a stream as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Determines whether the HTTP content has a valid length in bytes. - Returns .true if is a valid length; otherwise, false. - The length in bytes of the HHTP content. - - - A base type for HTTP message handlers. - - - Initializes a new instance of the class. - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Send an HTTP message synchronously. - Returns .The HTTP response message. - The HTTP message to send. - The cancellation token to cancel operation. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - The cancellation token to cancel operation. - - - A helper class for retrieving and comparing standard HTTP methods. - - - Initializes a new instance of the class with a specific HTTP method. - The HTTP method. - - - Represents an HTTP DELETE protocol method. - Returns . - - - Returns . - - - Returns . - - - Represents an HTTP GET protocol method. - Returns . - - - Returns . - - - Represents an HTTP HEAD protocol method. The HEAD method is identical to GET except that the server only returns message-headers in the response, without a message-body. - Returns . - - - An HTTP method. - Returns .An HTTP method represented as a . - - - Returns . - - - Returns . - - - Represents an HTTP OPTIONS protocol method. - Returns . - - - Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI. - Returns . - - - Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI. - Returns . - - - Returns a string that represents the current object. - Returns .A string representing the current object. - - - Represents an HTTP TRACE protocol method. - Returns . - - - A base class for exceptions thrown by the and classes. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specific message that describes the current exception. - A message that describes the current exception. - - - Initializes a new instance of the class with a specific message that describes the current exception and an inner exception. - A message that describes the current exception. - The inner exception. - - - Represents a HTTP request message. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with an HTTP method and a request . - The HTTP method. - A string that represents the request . - - - Initializes a new instance of the class with an HTTP method and a request . - The HTTP method. - The to request. - - - Gets or sets the contents of the HTTP message. - Returns .The content of a message - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Gets the collection of HTTP request headers. - Returns .The collection of HTTP request headers. - - - Gets or sets the HTTP method used by the HTTP request message. - Returns .The HTTP method used by the request message. The default is the GET method. - - - Gets a set of properties for the HTTP request. - Returns . - - - Gets or sets the used for the HTTP request. - Returns .The used for the HTTP request. - - - Returns a string that represents the current object. - Returns .A string representation of the current object. - - - Gets or sets the HTTP message version. - Returns .The HTTP message version. The default is 1.1. - - - Represents a HTTP response message. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specific . - The status code of the HTTP response. - - - Gets or sets the content of a HTTP response message. - Returns .The content of the HTTP response message. - - - Releases the unmanaged resources and disposes of unmanaged resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Throws an exception if the property for the HTTP response is false. - Returns .The HTTP response message if the call is successful. - - - Gets the collection of HTTP response headers. - Returns .The collection of HTTP response headers. - - - Gets a value that indicates if the HTTP response was successful. - Returns .A value that indicates if the HTTP response was successful. true if was in the range 200-299; otherwise false. - - - Gets or sets the reason phrase which typically is sent by servers together with the status code. - Returns .The reason phrase sent by the server. - - - Gets or sets the request message which led to this response message. - Returns .The request message which led to this response message. - - - Gets or sets the status code of the HTTP response. - Returns .The status code of the HTTP response. - - - Returns a string that represents the current object. - Returns .A string representation of the current object. - - - Gets or sets the HTTP message version. - Returns .The HTTP message version. The default is 1.1. - - - A base type for handlers which only do some small processing of request and/or response messages. - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Provides a collection of objects that get serialized using the multipart/* content type specification. - - - - - - - Returns . - - - - Returns . - - - Returns . - - - Returns . - - - Provides a container for content encoded using multipart/form-data MIME type. - - - - - - - - Provides HTTP content based on a stream. - - - - - Returns . - - - - - Returns . - - - Returns . - - - Provides HTTP content based on a string. - - - - - - Represents authentication information in Authorization, ProxyAuthorization, WWW-Authneticate, and Proxy-Authenticate header values. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of the Cache-Control header. - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of the Content-Range header. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents an entity-tag header value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the collection of Content Headers as defined in RFC 2616. - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - A collection of headers and their values as defined in RFC 2616. - - - - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a collection of header values. - - - - - - Returns . - - - - Returns . - - - Returns . - - - Returns . - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the collection of Request Headers as defined in RFC 2616. - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the collection of Response Headers as defined in RFC 2616. - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a media-type as defined in the RFC 2616. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a content-type header value with an additional quality. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a name/value pair. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a name/value pair with parameters. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a product header value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a value which can either be a product or a comment. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a header value which can either be a date/time or an entity-tag value. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of the Range header. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a byte-range header value. - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a header value which can either be a date/time or a timespan value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a string header value with an optional quality. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a transfer-coding header value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a transfer-coding header value with optional quality. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of a Via header. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a warning value used by the Warning header. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - \ No newline at end of file diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net40/ensureRedirect.xml b/packages/Microsoft.Net.Http.2.2.28/lib/net40/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Extensions.XML b/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Extensions.XML deleted file mode 100644 index 1190940..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Extensions.XML +++ /dev/null @@ -1,50 +0,0 @@ - - - - System.Net.Http.Extensions - - - - - Extension methods for which expose differences in platform specific capabilities. - - - - - Gets a value that indicates if HttpClientHandler.AllowAutoRedirect is supported by the handler. - When this property is true and HttpClientHandler.SupportsRedirectConfiguration is false, setting HttpClientHandler.AllowAutoRedirect to true will cause the system default to be used for HttpClientHandler.MaximumAutomaticRedirections. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion are supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion properties; otherwise false. - - - - Gets a value that indicates if HttpRequestMessage.Headers with or header value of 'chunked' is supported by the handler. - - The to check. - Returns .true if the if the handler supports setting HttpRequestMessage.Headers with or header value of 'chunked'; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - When this property is true and HttpClientHandler.SupportsProxy is false, setting HttpClientHandler.UseProxy to true will cause the system default to be used for HttpClientHandler.Proxy. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Extensions.dll b/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Extensions.dll deleted file mode 100644 index 1aef22e..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Primitives.dll b/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Primitives.dll deleted file mode 100644 index 48679fa..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Primitives.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Primitives.xml b/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Primitives.xml deleted file mode 100644 index 53640c6..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Primitives.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - System.Net.Http.Primitives - - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/net45/ensureRedirect.xml b/packages/Microsoft.Net.Http.2.2.28/lib/net45/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Extensions.XML b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Extensions.XML deleted file mode 100644 index 1190940..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Extensions.XML +++ /dev/null @@ -1,50 +0,0 @@ - - - - System.Net.Http.Extensions - - - - - Extension methods for which expose differences in platform specific capabilities. - - - - - Gets a value that indicates if HttpClientHandler.AllowAutoRedirect is supported by the handler. - When this property is true and HttpClientHandler.SupportsRedirectConfiguration is false, setting HttpClientHandler.AllowAutoRedirect to true will cause the system default to be used for HttpClientHandler.MaximumAutomaticRedirections. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion are supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion properties; otherwise false. - - - - Gets a value that indicates if HttpRequestMessage.Headers with or header value of 'chunked' is supported by the handler. - - The to check. - Returns .true if the if the handler supports setting HttpRequestMessage.Headers with or header value of 'chunked'; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - When this property is true and HttpClientHandler.SupportsProxy is false, setting HttpClientHandler.UseProxy to true will cause the system default to be used for HttpClientHandler.Proxy. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Extensions.dll b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Extensions.dll deleted file mode 100644 index aecc82e..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Primitives.XML b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Primitives.XML deleted file mode 100644 index fb77470..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Primitives.XML +++ /dev/null @@ -1,58 +0,0 @@ - - - - System.Net.Http.Primitives - - - - - Represents the file compression and decompression encoding format to be used to compress the data received in response to an . - - - - - Do not use compression. - - - - - Use the gZip compression-decompression algorithm. - - - - - Use the deflate compression-decompression algorithm. - - - - - Provides the base interface for implementation of proxy access for the class. - - - - - Returns the URI of a proxy. - - A that specifies the requested Internet resource. - A instance that contains the URI of the proxy used to contact . - - - - Indicates that the proxy should not be used for the specified host. - - The of the host to check for proxy use. - true if the proxy server should not be used for ; otherwise, false. - - - - The credentials to submit to the proxy server for authentication. - - An instance that contains the credentials that are needed to authenticate a request to the proxy server. - - - - The System.Net.TransportContext class provides additional context about the underlying transport layer. - - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Primitives.dll b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Primitives.dll deleted file mode 100644 index 3a26074..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Primitives.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.dll b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.dll deleted file mode 100644 index f69b4fc..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.xml b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.xml deleted file mode 100644 index 940e260..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.xml +++ /dev/null @@ -1,1581 +0,0 @@ - - - - System.Net.Http - - - - Provides HTTP content based on a byte array. - - - Initializes a new instance of the class. - The content used to initialize the . - The parameter is null. - - - Initializes a new instance of the class. - The content used to initialize the . - The offset, in bytes, in the parameter used to initialize the . - The number of bytes in the starting from the parameter used to initialize the . - The parameter is null. - The parameter is less than zero.-or-The parameter is greater than the length of content specified by the parameter.-or-The parameter is less than zero.-or-The parameter is greater than the length of content specified by the parameter - minus the parameter. - - - Creates an HTTP content stream for reading whose backing store is memory from the . - Returns .The HTTP content stream. - - - Serialize and write the byte array provided in the constructor to an HTTP content stream. - The target stream. - Information about the transport(channel binding token, for example). This parameter may be null. - - - Serialize and write the byte array provided in the constructor to an HTTP content stream as an asynchronous operation. - Returns . The task object representing the asynchronous operation. - The target stream. - Information about the transport, like channel binding token. This parameter may be null. - - - Determines whether a byte array has a valid length in bytes. - Returns .true if is a valid length; otherwise, false. - The length in bytes of the byte array. - - - A base type for HTTP handlers that delegate the processing of HTTP response messages to another handler, called the inner handler. - - - Initializes a new instance of the class with a specific inner handler. - The inner handler which is responsible for processing the HTTP response messages. - - - Releases the unmanaged resources used by the , and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Sends an HTTP request to the inner handler to send to the server synchronously. - Returns . The HTTP response message from the inner handler. - The HTTP request message to send to the server. - A cancellation token to cancel operation. - - - Sends an HTTP request to the inner handler to send to the server as an asynchronous operation. - Returns . The task object representing the asynchronous operation. - The HTTP request message to send to the server. - A cancellation token to cancel operation. - - - A container for name/value tuples encoded using application/x-www-form-urlencoded MIME type. - - - Initializes a new instance of the class with a specific collection of name/value pairs. - A collection of name/value pairs. - - - Creates an HTTP content stream for reading whose backing store is memory from the . - Returns . The HTTP content stream. - - - Serialize and write the provided name/value pairs in the constructor to an HTTP content stream. - The target stream. - Information about the transport (the channel binding token, for example). This parameter may be a null reference. - - - Serialize and write the provided name/value pairs in the constructor to an HTTP content stream as an asynchronous operation. - Returns . The task object representing the asynchronous operation. - The target stream. - Information about the transport (the channel binding token, for example). This parameter may be a null reference. - - - Determines whether the encoded name/value data has a valid length in bytes. - Returns .true if is a valid length; otherwise, false. - The length in bytes of the encoded name/value data. - - - Provides a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specific handler. - The HTTP handler stack to use for sending requests. - - - Gets or sets the base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests. - Returns .The base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests. - - - Cancel all pending requests on this instance. - - - Gets the headers which should be sent with each request. - Returns .The headers which should be sent with each request. - - - Send a DELETE request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a DELETE request to the specified Uri. - Returns .The HTTP response message. - The request message was already sent by the instance. - - - Send a DELETE request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - - - Send a DELETE request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Send a GET request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a GET request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a GET request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a GET request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Gets or sets the maximum number of bytes to buffer when reading the response content. - Returns .The maximum number of bytes to buffer when reading the response content. - The size specified is less than or equal to zero. - An operation has already been started on the current instance. - The current instance has been disposed. - - - Send a POST request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a POST request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a POST request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a POST request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - This operation will not block. The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Gets or sets the number of milliseconds to wait before the request times out. - Returns .The number of milliseconds to wait before the request times out. - The timeout specified is less than or equal to zero and is not . - An operation has already been started on the current instance. - The current instance has been disposed. - - - A base class for HTTP handler implementations. - - - Creates an instance of a class. - - - Gets or sets a value that indicates whether the handler should follow redirection responses. - Returns .true if the if the handler should follow redirection responses; otherwise false. The default value is true. - - - Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response. - Returns .The automatic decompression method used by the handler. The default value is . - - - Gets or sets the cookie container used to store server cookies by the handler. - Returns .The cookie container used to store server cookies by the handler. - - - Gets or sets authentication information used by this handler. - Returns .The authentication credentials associated with the handler. The default is null. - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Gets or sets the maximum number of redirects that the handler follows. - Returns .The maximum number of redirection responses that the handler follows. The default value is 50. - - - Gets or sets the maximum request content buffer size used by the handler. - Returns .The maximum request content buffer size in bytes. The default value is 65,536 bytes. - - - Gets or sets a value that indicates whether the handler sends an Authorization header with the request. - Returns .true for the handler to send an HTTP Authorization header with requests after authentication has taken place; otherwise, false. The default is false. - - - Gets or sets proxy information used by the handler. - Returns .The proxy information used by the handler. The default value is null. - - - Creates an instance of based on the information provided in the . - Returns .The HTTP response message. - The HTTP request message. - A cancellation token to cancel the operation. - - - Creates an instance of based on the information provided in the as an operation that will not block. - Returns .The task object representing the asynchronous operation. - The HTTP request message. - A cancellation token to cancel the operation. - - - Gets a value that indicates whether the handler supports automatic response content decompression. - Returns .true if the if the handler supports automatic response content decompression; otherwise false. The default value is true. - - - Gets a value that indicates whether the handler supports proxy settings. - Returns .true if the if the handler supports proxy settings; otherwise false. The default value is true. - - - Gets a value that indicates whether the handler supports configuration settings for the and properties. - Returns .true if the if the handler supports configuration settings for the and properties; otherwise false. The default value is true. - - - Gets or sets a value that indicates whether the handler uses the property to store server cookies and uses these cookies when sending requests. - Returns .true if the if the handler supports uses the property to store server cookies and uses these cookies when sending requests; otherwise false. The default value is true. - - - Gets or sets a value that controls whether default credentials are sent with requests by the handler. - Returns .true if the default credentials are used; otherwise false. The default value is false. - - - Gets or sets a value that indicates whether the handler uses a proxy for requests. - Returns .true if the handler should use a proxy for requests; otherwise false. The default value is true. - - - Indicates if operations should be considered completed either as soon as a response is available, or after reading the entire response message including the content. - - - The operation should complete after reading the entire response including the content. - - - The operation should complete as soon as a response is available and headers are read. The content is not read yet. - - - A base class representing an HTTP entity body and content headers. - - - Initializes a new instance of the class. - - - Gets a stream representing the serialized HTTP content. - Returns .A stream representing the serialized HTTP content. - - - Write the HTTP content to a stream. - The target stream. - - - Write the HTTP content to a stream. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Write the HTTP content to a stream as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The target stream. - - - Write the HTTP content to a stream as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Buffer the te HTTP content to a memory stream. - Returns . - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Gets the HTTP content headers as defined in RFC 2616. - Returns .The content headers as defined in RFC 2616. - - - Serialize the HTTP content to a memory buffer. - - - Serialize the HTTP content to a memory buffer. - The maximum size, in bytes, of the buffer to use. - - - Serialize the HTTP content to a memory buffer as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - - - Serialize the HTTP content to a memory buffer as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The maximum size, in bytes, of the buffer to use. - - - Return the HTTP content as byte array. - Returns .The HTTP content as byte array. - - - Return the HTTP content as string. - Returns .The HTTP content as a string. - - - Serialize the HTTP content to a stream. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Serialize the HTTP content to a stream as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Determines whether the HTTP content has a valid length in bytes. - Returns .true if is a valid length; otherwise, false. - The length in bytes of the HHTP content. - - - A base type for HTTP message handlers. - - - Initializes a new instance of the class. - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Send an HTTP message synchronously. - Returns .The HTTP response message. - The HTTP message to send. - The cancellation token to cancel operation. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - The cancellation token to cancel operation. - - - A helper class for retrieving and comparing standard HTTP methods. - - - Initializes a new instance of the class with a specific HTTP method. - The HTTP method. - - - Represents an HTTP DELETE protocol method. - Returns . - - - Returns . - - - Returns . - - - Represents an HTTP GET protocol method. - Returns . - - - Returns . - - - Represents an HTTP HEAD protocol method. The HEAD method is identical to GET except that the server only returns message-headers in the response, without a message-body. - Returns . - - - An HTTP method. - Returns .An HTTP method represented as a . - - - Returns . - - - Returns . - - - Represents an HTTP OPTIONS protocol method. - Returns . - - - Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI. - Returns . - - - Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI. - Returns . - - - Returns a string that represents the current object. - Returns .A string representing the current object. - - - Represents an HTTP TRACE protocol method. - Returns . - - - A base class for exceptions thrown by the and classes. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specific message that describes the current exception. - A message that describes the current exception. - - - Initializes a new instance of the class with a specific message that describes the current exception and an inner exception. - A message that describes the current exception. - The inner exception. - - - Represents a HTTP request message. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with an HTTP method and a request . - The HTTP method. - A string that represents the request . - - - Initializes a new instance of the class with an HTTP method and a request . - The HTTP method. - The to request. - - - Gets or sets the contents of the HTTP message. - Returns .The content of a message - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Gets the collection of HTTP request headers. - Returns .The collection of HTTP request headers. - - - Gets or sets the HTTP method used by the HTTP request message. - Returns .The HTTP method used by the request message. The default is the GET method. - - - Gets a set of properties for the HTTP request. - Returns . - - - Gets or sets the used for the HTTP request. - Returns .The used for the HTTP request. - - - Returns a string that represents the current object. - Returns .A string representation of the current object. - - - Gets or sets the HTTP message version. - Returns .The HTTP message version. The default is 1.1. - - - Represents a HTTP response message. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specific . - The status code of the HTTP response. - - - Gets or sets the content of a HTTP response message. - Returns .The content of the HTTP response message. - - - Releases the unmanaged resources and disposes of unmanaged resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Throws an exception if the property for the HTTP response is false. - Returns .The HTTP response message if the call is successful. - - - Gets the collection of HTTP response headers. - Returns .The collection of HTTP response headers. - - - Gets a value that indicates if the HTTP response was successful. - Returns .A value that indicates if the HTTP response was successful. true if was in the range 200-299; otherwise false. - - - Gets or sets the reason phrase which typically is sent by servers together with the status code. - Returns .The reason phrase sent by the server. - - - Gets or sets the request message which led to this response message. - Returns .The request message which led to this response message. - - - Gets or sets the status code of the HTTP response. - Returns .The status code of the HTTP response. - - - Returns a string that represents the current object. - Returns .A string representation of the current object. - - - Gets or sets the HTTP message version. - Returns .The HTTP message version. The default is 1.1. - - - A base type for handlers which only do some small processing of request and/or response messages. - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Provides a collection of objects that get serialized using the multipart/* content type specification. - - - - - - - Returns . - - - - Returns . - - - Returns . - - - Returns . - - - Provides a container for content encoded using multipart/form-data MIME type. - - - - - - - - Provides HTTP content based on a stream. - - - - - Returns . - - - - - Returns . - - - Returns . - - - Provides HTTP content based on a string. - - - - - - Represents authentication information in Authorization, ProxyAuthorization, WWW-Authneticate, and Proxy-Authenticate header values. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of the Cache-Control header. - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of the Content-Range header. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents an entity-tag header value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the collection of Content Headers as defined in RFC 2616. - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - A collection of headers and their values as defined in RFC 2616. - - - - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a collection of header values. - - - - - - Returns . - - - - Returns . - - - Returns . - - - Returns . - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the collection of Request Headers as defined in RFC 2616. - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the collection of Response Headers as defined in RFC 2616. - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a media-type as defined in the RFC 2616. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a content-type header value with an additional quality. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a name/value pair. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a name/value pair with parameters. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a product header value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a value which can either be a product or a comment. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a header value which can either be a date/time or an entity-tag value. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of the Range header. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a byte-range header value. - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a header value which can either be a date/time or a timespan value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a string header value with an optional quality. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a transfer-coding header value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a transfer-coding header value with optional quality. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of a Via header. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a warning value used by the Warning header. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - \ No newline at end of file diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/ensureRedirect.xml b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Extensions.XML b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Extensions.XML deleted file mode 100644 index 1190940..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Extensions.XML +++ /dev/null @@ -1,50 +0,0 @@ - - - - System.Net.Http.Extensions - - - - - Extension methods for which expose differences in platform specific capabilities. - - - - - Gets a value that indicates if HttpClientHandler.AllowAutoRedirect is supported by the handler. - When this property is true and HttpClientHandler.SupportsRedirectConfiguration is false, setting HttpClientHandler.AllowAutoRedirect to true will cause the system default to be used for HttpClientHandler.MaximumAutomaticRedirections. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion are supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion properties; otherwise false. - - - - Gets a value that indicates if HttpRequestMessage.Headers with or header value of 'chunked' is supported by the handler. - - The to check. - Returns .true if the if the handler supports setting HttpRequestMessage.Headers with or header value of 'chunked'; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - When this property is true and HttpClientHandler.SupportsProxy is false, setting HttpClientHandler.UseProxy to true will cause the system default to be used for HttpClientHandler.Proxy. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Extensions.dll b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Extensions.dll deleted file mode 100644 index aecc82e..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Primitives.dll b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Primitives.dll deleted file mode 100644 index 48679fa..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Primitives.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Primitives.xml b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Primitives.xml deleted file mode 100644 index 53640c6..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Primitives.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - System.Net.Http.Primitives - - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/ensureRedirect.xml b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Extensions.XML b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Extensions.XML deleted file mode 100644 index 1190940..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Extensions.XML +++ /dev/null @@ -1,50 +0,0 @@ - - - - System.Net.Http.Extensions - - - - - Extension methods for which expose differences in platform specific capabilities. - - - - - Gets a value that indicates if HttpClientHandler.AllowAutoRedirect is supported by the handler. - When this property is true and HttpClientHandler.SupportsRedirectConfiguration is false, setting HttpClientHandler.AllowAutoRedirect to true will cause the system default to be used for HttpClientHandler.MaximumAutomaticRedirections. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion are supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion properties; otherwise false. - - - - Gets a value that indicates if HttpRequestMessage.Headers with or header value of 'chunked' is supported by the handler. - - The to check. - Returns .true if the if the handler supports setting HttpRequestMessage.Headers with or header value of 'chunked'; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - When this property is true and HttpClientHandler.SupportsProxy is false, setting HttpClientHandler.UseProxy to true will cause the system default to be used for HttpClientHandler.Proxy. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Extensions.dll b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Extensions.dll deleted file mode 100644 index 1aef22e..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Primitives.dll b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Primitives.dll deleted file mode 100644 index 48679fa..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Primitives.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Primitives.xml b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Primitives.xml deleted file mode 100644 index 53640c6..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Primitives.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - System.Net.Http.Primitives - - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/ensureRedirect.xml b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Extensions.XML b/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Extensions.XML deleted file mode 100644 index 1190940..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Extensions.XML +++ /dev/null @@ -1,50 +0,0 @@ - - - - System.Net.Http.Extensions - - - - - Extension methods for which expose differences in platform specific capabilities. - - - - - Gets a value that indicates if HttpClientHandler.AllowAutoRedirect is supported by the handler. - When this property is true and HttpClientHandler.SupportsRedirectConfiguration is false, setting HttpClientHandler.AllowAutoRedirect to true will cause the system default to be used for HttpClientHandler.MaximumAutomaticRedirections. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion are supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion properties; otherwise false. - - - - Gets a value that indicates if HttpRequestMessage.Headers with or header value of 'chunked' is supported by the handler. - - The to check. - Returns .true if the if the handler supports setting HttpRequestMessage.Headers with or header value of 'chunked'; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - When this property is true and HttpClientHandler.SupportsProxy is false, setting HttpClientHandler.UseProxy to true will cause the system default to be used for HttpClientHandler.Proxy. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Extensions.dll b/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Extensions.dll deleted file mode 100644 index aecc82e..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Primitives.XML b/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Primitives.XML deleted file mode 100644 index fb77470..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Primitives.XML +++ /dev/null @@ -1,58 +0,0 @@ - - - - System.Net.Http.Primitives - - - - - Represents the file compression and decompression encoding format to be used to compress the data received in response to an . - - - - - Do not use compression. - - - - - Use the gZip compression-decompression algorithm. - - - - - Use the deflate compression-decompression algorithm. - - - - - Provides the base interface for implementation of proxy access for the class. - - - - - Returns the URI of a proxy. - - A that specifies the requested Internet resource. - A instance that contains the URI of the proxy used to contact . - - - - Indicates that the proxy should not be used for the specified host. - - The of the host to check for proxy use. - true if the proxy server should not be used for ; otherwise, false. - - - - The credentials to submit to the proxy server for authentication. - - An instance that contains the credentials that are needed to authenticate a request to the proxy server. - - - - The System.Net.TransportContext class provides additional context about the underlying transport layer. - - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Primitives.dll b/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Primitives.dll deleted file mode 100644 index 3a26074..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Primitives.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.dll b/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.dll deleted file mode 100644 index f69b4fc..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.xml b/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.xml deleted file mode 100644 index 940e260..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.xml +++ /dev/null @@ -1,1581 +0,0 @@ - - - - System.Net.Http - - - - Provides HTTP content based on a byte array. - - - Initializes a new instance of the class. - The content used to initialize the . - The parameter is null. - - - Initializes a new instance of the class. - The content used to initialize the . - The offset, in bytes, in the parameter used to initialize the . - The number of bytes in the starting from the parameter used to initialize the . - The parameter is null. - The parameter is less than zero.-or-The parameter is greater than the length of content specified by the parameter.-or-The parameter is less than zero.-or-The parameter is greater than the length of content specified by the parameter - minus the parameter. - - - Creates an HTTP content stream for reading whose backing store is memory from the . - Returns .The HTTP content stream. - - - Serialize and write the byte array provided in the constructor to an HTTP content stream. - The target stream. - Information about the transport(channel binding token, for example). This parameter may be null. - - - Serialize and write the byte array provided in the constructor to an HTTP content stream as an asynchronous operation. - Returns . The task object representing the asynchronous operation. - The target stream. - Information about the transport, like channel binding token. This parameter may be null. - - - Determines whether a byte array has a valid length in bytes. - Returns .true if is a valid length; otherwise, false. - The length in bytes of the byte array. - - - A base type for HTTP handlers that delegate the processing of HTTP response messages to another handler, called the inner handler. - - - Initializes a new instance of the class with a specific inner handler. - The inner handler which is responsible for processing the HTTP response messages. - - - Releases the unmanaged resources used by the , and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Sends an HTTP request to the inner handler to send to the server synchronously. - Returns . The HTTP response message from the inner handler. - The HTTP request message to send to the server. - A cancellation token to cancel operation. - - - Sends an HTTP request to the inner handler to send to the server as an asynchronous operation. - Returns . The task object representing the asynchronous operation. - The HTTP request message to send to the server. - A cancellation token to cancel operation. - - - A container for name/value tuples encoded using application/x-www-form-urlencoded MIME type. - - - Initializes a new instance of the class with a specific collection of name/value pairs. - A collection of name/value pairs. - - - Creates an HTTP content stream for reading whose backing store is memory from the . - Returns . The HTTP content stream. - - - Serialize and write the provided name/value pairs in the constructor to an HTTP content stream. - The target stream. - Information about the transport (the channel binding token, for example). This parameter may be a null reference. - - - Serialize and write the provided name/value pairs in the constructor to an HTTP content stream as an asynchronous operation. - Returns . The task object representing the asynchronous operation. - The target stream. - Information about the transport (the channel binding token, for example). This parameter may be a null reference. - - - Determines whether the encoded name/value data has a valid length in bytes. - Returns .true if is a valid length; otherwise, false. - The length in bytes of the encoded name/value data. - - - Provides a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specific handler. - The HTTP handler stack to use for sending requests. - - - Gets or sets the base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests. - Returns .The base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests. - - - Cancel all pending requests on this instance. - - - Gets the headers which should be sent with each request. - Returns .The headers which should be sent with each request. - - - Send a DELETE request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a DELETE request to the specified Uri. - Returns .The HTTP response message. - The request message was already sent by the instance. - - - Send a DELETE request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - - - Send a DELETE request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Send a GET request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a GET request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a GET request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Send a GET request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The request message was already sent by the instance. - - - Gets or sets the maximum number of bytes to buffer when reading the response content. - Returns .The maximum number of bytes to buffer when reading the response content. - The size specified is less than or equal to zero. - An operation has already been started on the current instance. - The current instance has been disposed. - - - Send a POST request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a POST request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a POST request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a POST request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri. - Returns .The HTTP response message. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send a PUT request to the specified Uri as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The Uri the request is sent to. - The HTTP request content sent to the server. - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Send an HTTP request synchronously. - Returns .The HTTP response message. - The HTTP request message to send. - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - This operation will not block. The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - When the operation should complete (as soon as a response is available or after reading the whole response content). - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - The cancellation token to cancel operation. - The request message was already sent by the instance. - - - Gets or sets the number of milliseconds to wait before the request times out. - Returns .The number of milliseconds to wait before the request times out. - The timeout specified is less than or equal to zero and is not . - An operation has already been started on the current instance. - The current instance has been disposed. - - - A base class for HTTP handler implementations. - - - Creates an instance of a class. - - - Gets or sets a value that indicates whether the handler should follow redirection responses. - Returns .true if the if the handler should follow redirection responses; otherwise false. The default value is true. - - - Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response. - Returns .The automatic decompression method used by the handler. The default value is . - - - Gets or sets the cookie container used to store server cookies by the handler. - Returns .The cookie container used to store server cookies by the handler. - - - Gets or sets authentication information used by this handler. - Returns .The authentication credentials associated with the handler. The default is null. - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Gets or sets the maximum number of redirects that the handler follows. - Returns .The maximum number of redirection responses that the handler follows. The default value is 50. - - - Gets or sets the maximum request content buffer size used by the handler. - Returns .The maximum request content buffer size in bytes. The default value is 65,536 bytes. - - - Gets or sets a value that indicates whether the handler sends an Authorization header with the request. - Returns .true for the handler to send an HTTP Authorization header with requests after authentication has taken place; otherwise, false. The default is false. - - - Gets or sets proxy information used by the handler. - Returns .The proxy information used by the handler. The default value is null. - - - Creates an instance of based on the information provided in the . - Returns .The HTTP response message. - The HTTP request message. - A cancellation token to cancel the operation. - - - Creates an instance of based on the information provided in the as an operation that will not block. - Returns .The task object representing the asynchronous operation. - The HTTP request message. - A cancellation token to cancel the operation. - - - Gets a value that indicates whether the handler supports automatic response content decompression. - Returns .true if the if the handler supports automatic response content decompression; otherwise false. The default value is true. - - - Gets a value that indicates whether the handler supports proxy settings. - Returns .true if the if the handler supports proxy settings; otherwise false. The default value is true. - - - Gets a value that indicates whether the handler supports configuration settings for the and properties. - Returns .true if the if the handler supports configuration settings for the and properties; otherwise false. The default value is true. - - - Gets or sets a value that indicates whether the handler uses the property to store server cookies and uses these cookies when sending requests. - Returns .true if the if the handler supports uses the property to store server cookies and uses these cookies when sending requests; otherwise false. The default value is true. - - - Gets or sets a value that controls whether default credentials are sent with requests by the handler. - Returns .true if the default credentials are used; otherwise false. The default value is false. - - - Gets or sets a value that indicates whether the handler uses a proxy for requests. - Returns .true if the handler should use a proxy for requests; otherwise false. The default value is true. - - - Indicates if operations should be considered completed either as soon as a response is available, or after reading the entire response message including the content. - - - The operation should complete after reading the entire response including the content. - - - The operation should complete as soon as a response is available and headers are read. The content is not read yet. - - - A base class representing an HTTP entity body and content headers. - - - Initializes a new instance of the class. - - - Gets a stream representing the serialized HTTP content. - Returns .A stream representing the serialized HTTP content. - - - Write the HTTP content to a stream. - The target stream. - - - Write the HTTP content to a stream. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Write the HTTP content to a stream as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The target stream. - - - Write the HTTP content to a stream as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Buffer the te HTTP content to a memory stream. - Returns . - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Gets the HTTP content headers as defined in RFC 2616. - Returns .The content headers as defined in RFC 2616. - - - Serialize the HTTP content to a memory buffer. - - - Serialize the HTTP content to a memory buffer. - The maximum size, in bytes, of the buffer to use. - - - Serialize the HTTP content to a memory buffer as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - - - Serialize the HTTP content to a memory buffer as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The maximum size, in bytes, of the buffer to use. - - - Return the HTTP content as byte array. - Returns .The HTTP content as byte array. - - - Return the HTTP content as string. - Returns .The HTTP content as a string. - - - Serialize the HTTP content to a stream. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Serialize the HTTP content to a stream as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The target stream. - Information about the transport (channel binding token, for example). This parameter may be null. - - - Determines whether the HTTP content has a valid length in bytes. - Returns .true if is a valid length; otherwise, false. - The length in bytes of the HHTP content. - - - A base type for HTTP message handlers. - - - Initializes a new instance of the class. - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Send an HTTP message synchronously. - Returns .The HTTP response message. - The HTTP message to send. - The cancellation token to cancel operation. - - - Send an HTTP request as an asynchronous operation. - Returns .The task object representing the asynchronous operation. - The HTTP request message to send. - The cancellation token to cancel operation. - - - A helper class for retrieving and comparing standard HTTP methods. - - - Initializes a new instance of the class with a specific HTTP method. - The HTTP method. - - - Represents an HTTP DELETE protocol method. - Returns . - - - Returns . - - - Returns . - - - Represents an HTTP GET protocol method. - Returns . - - - Returns . - - - Represents an HTTP HEAD protocol method. The HEAD method is identical to GET except that the server only returns message-headers in the response, without a message-body. - Returns . - - - An HTTP method. - Returns .An HTTP method represented as a . - - - Returns . - - - Returns . - - - Represents an HTTP OPTIONS protocol method. - Returns . - - - Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI. - Returns . - - - Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI. - Returns . - - - Returns a string that represents the current object. - Returns .A string representing the current object. - - - Represents an HTTP TRACE protocol method. - Returns . - - - A base class for exceptions thrown by the and classes. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specific message that describes the current exception. - A message that describes the current exception. - - - Initializes a new instance of the class with a specific message that describes the current exception and an inner exception. - A message that describes the current exception. - The inner exception. - - - Represents a HTTP request message. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with an HTTP method and a request . - The HTTP method. - A string that represents the request . - - - Initializes a new instance of the class with an HTTP method and a request . - The HTTP method. - The to request. - - - Gets or sets the contents of the HTTP message. - Returns .The content of a message - - - Releases the unmanaged resources and disposes of the managed resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Gets the collection of HTTP request headers. - Returns .The collection of HTTP request headers. - - - Gets or sets the HTTP method used by the HTTP request message. - Returns .The HTTP method used by the request message. The default is the GET method. - - - Gets a set of properties for the HTTP request. - Returns . - - - Gets or sets the used for the HTTP request. - Returns .The used for the HTTP request. - - - Returns a string that represents the current object. - Returns .A string representation of the current object. - - - Gets or sets the HTTP message version. - Returns .The HTTP message version. The default is 1.1. - - - Represents a HTTP response message. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specific . - The status code of the HTTP response. - - - Gets or sets the content of a HTTP response message. - Returns .The content of the HTTP response message. - - - Releases the unmanaged resources and disposes of unmanaged resources used by the . - - - Releases the unmanaged resources used by the and optionally disposes of the managed resources. - true to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - Throws an exception if the property for the HTTP response is false. - Returns .The HTTP response message if the call is successful. - - - Gets the collection of HTTP response headers. - Returns .The collection of HTTP response headers. - - - Gets a value that indicates if the HTTP response was successful. - Returns .A value that indicates if the HTTP response was successful. true if was in the range 200-299; otherwise false. - - - Gets or sets the reason phrase which typically is sent by servers together with the status code. - Returns .The reason phrase sent by the server. - - - Gets or sets the request message which led to this response message. - Returns .The request message which led to this response message. - - - Gets or sets the status code of the HTTP response. - Returns .The status code of the HTTP response. - - - Returns a string that represents the current object. - Returns .A string representation of the current object. - - - Gets or sets the HTTP message version. - Returns .The HTTP message version. The default is 1.1. - - - A base type for handlers which only do some small processing of request and/or response messages. - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Provides a collection of objects that get serialized using the multipart/* content type specification. - - - - - - - Returns . - - - - Returns . - - - Returns . - - - Returns . - - - Provides a container for content encoded using multipart/form-data MIME type. - - - - - - - - Provides HTTP content based on a stream. - - - - - Returns . - - - - - Returns . - - - Returns . - - - Provides HTTP content based on a string. - - - - - - Represents authentication information in Authorization, ProxyAuthorization, WWW-Authneticate, and Proxy-Authenticate header values. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of the Cache-Control header. - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of the Content-Range header. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents an entity-tag header value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the collection of Content Headers as defined in RFC 2616. - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - A collection of headers and their values as defined in RFC 2616. - - - - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a collection of header values. - - - - - - Returns . - - - - Returns . - - - Returns . - - - Returns . - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the collection of Request Headers as defined in RFC 2616. - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the collection of Response Headers as defined in RFC 2616. - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a media-type as defined in the RFC 2616. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a content-type header value with an additional quality. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a name/value pair. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a name/value pair with parameters. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a product header value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a value which can either be a product or a comment. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a header value which can either be a date/time or an entity-tag value. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of the Range header. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a byte-range header value. - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a header value which can either be a date/time or a timespan value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a string header value with an optional quality. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a transfer-coding header value. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a transfer-coding header value with optional quality. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents the value of a Via header. - - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Represents a warning value used by the Warning header. - - - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - Returns . - - - \ No newline at end of file diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Extensions.XML b/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Extensions.XML deleted file mode 100644 index 1190940..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Extensions.XML +++ /dev/null @@ -1,50 +0,0 @@ - - - - System.Net.Http.Extensions - - - - - Extension methods for which expose differences in platform specific capabilities. - - - - - Gets a value that indicates if HttpClientHandler.AllowAutoRedirect is supported by the handler. - When this property is true and HttpClientHandler.SupportsRedirectConfiguration is false, setting HttpClientHandler.AllowAutoRedirect to true will cause the system default to be used for HttpClientHandler.MaximumAutomaticRedirections. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion are supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion properties; otherwise false. - - - - Gets a value that indicates if HttpRequestMessage.Headers with or header value of 'chunked' is supported by the handler. - - The to check. - Returns .true if the if the handler supports setting HttpRequestMessage.Headers with or header value of 'chunked'; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - When this property is true and HttpClientHandler.SupportsProxy is false, setting HttpClientHandler.UseProxy to true will cause the system default to be used for HttpClientHandler.Proxy. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Extensions.dll b/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Extensions.dll deleted file mode 100644 index 1aef22e..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Primitives.dll b/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Primitives.dll deleted file mode 100644 index 48679fa..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Primitives.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Primitives.xml b/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Primitives.xml deleted file mode 100644 index 53640c6..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Primitives.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - System.Net.Http.Primitives - - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Extensions.XML b/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Extensions.XML deleted file mode 100644 index 1190940..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Extensions.XML +++ /dev/null @@ -1,50 +0,0 @@ - - - - System.Net.Http.Extensions - - - - - Extension methods for which expose differences in platform specific capabilities. - - - - - Gets a value that indicates if HttpClientHandler.AllowAutoRedirect is supported by the handler. - When this property is true and HttpClientHandler.SupportsRedirectConfiguration is false, setting HttpClientHandler.AllowAutoRedirect to true will cause the system default to be used for HttpClientHandler.MaximumAutomaticRedirections. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - - Gets a value that indicates if , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion are supported by the handler. - - The to check. - Returns .true if the if the handler supports configuration settings for the , HttpRequestMessage.ProtocolVersion, and HttpResponseMessage.ProtocolVersion properties; otherwise false. - - - - Gets a value that indicates if HttpRequestMessage.Headers with or header value of 'chunked' is supported by the handler. - - The to check. - Returns .true if the if the handler supports setting HttpRequestMessage.Headers with or header value of 'chunked'; otherwise false. - - - - Gets a value that indicates if is supported by the handler. - When this property is true and HttpClientHandler.SupportsProxy is false, setting HttpClientHandler.UseProxy to true will cause the system default to be used for HttpClientHandler.Proxy. - - The to check. - Returns .true if the if the handler supports configuration settings for the property; otherwise false. - - - diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Extensions.dll b/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Extensions.dll deleted file mode 100644 index aecc82e..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Primitives.dll b/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Primitives.dll deleted file mode 100644 index 48679fa..0000000 Binary files a/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Primitives.dll and /dev/null differ diff --git a/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Primitives.xml b/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Primitives.xml deleted file mode 100644 index 53640c6..0000000 --- a/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Primitives.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - System.Net.Http.Primitives - - - - diff --git a/packages/Newtonsoft.Json.6.0.8/Newtonsoft.Json.6.0.8.nupkg b/packages/Newtonsoft.Json.6.0.8/Newtonsoft.Json.6.0.8.nupkg deleted file mode 100644 index 2ea7453..0000000 Binary files a/packages/Newtonsoft.Json.6.0.8/Newtonsoft.Json.6.0.8.nupkg and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.dll deleted file mode 100644 index 475e312..0000000 Binary files a/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.xml deleted file mode 100644 index 159260e..0000000 --- a/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.xml +++ /dev/null @@ -1,9327 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Initializes a new instance of the class. - - The Oid value. - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the end of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current Json object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a Json array. - - - - - Writes the beginning of a Json object. - - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets the of the JSON produced by the JsonConverter. - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Initializes a new instance of the class. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the collection. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Represents a trace writer that writes to the application's instances. - - - - - Represents a trace writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Provides a set of static (Shared in Visual Basic) methods for - querying objects that implement . - - - - - Returns the input typed as . - - - - - Returns an empty that has the - specified type argument. - - - - - Converts the elements of an to the - specified type. - - - - - Filters the elements of an based on a specified type. - - - - - Generates a sequence of integral numbers within a specified range. - - The value of the first integer in the sequence. - The number of sequential integers to generate. - - - - Generates a sequence that contains one repeated value. - - - - - Filters a sequence of values based on a predicate. - - - - - Filters a sequence of values based on a predicate. - Each element's index is used in the logic of the predicate function. - - - - - Projects each element of a sequence into a new form. - - - - - Projects each element of a sequence into a new form by - incorporating the element's index. - - - - - Projects each element of a sequence to an - and flattens the resulting sequences into one sequence. - - - - - Projects each element of a sequence to an , - and flattens the resulting sequences into one sequence. The - index of each source element is used in the projected form of - that element. - - - - - Projects each element of a sequence to an , - flattens the resulting sequences into one sequence, and invokes - a result selector function on each element therein. - - - - - Projects each element of a sequence to an , - flattens the resulting sequences into one sequence, and invokes - a result selector function on each element therein. The index of - each source element is used in the intermediate projected form - of that element. - - - - - Returns elements from a sequence as long as a specified condition is true. - - - - - Returns elements from a sequence as long as a specified condition is true. - The element's index is used in the logic of the predicate function. - - - - - Base implementation of First operator. - - - - - Returns the first element of a sequence. - - - - - Returns the first element in a sequence that satisfies a specified condition. - - - - - Returns the first element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the first element of the sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Last operator. - - - - - Returns the last element of a sequence. - - - - - Returns the last element of a sequence that satisfies a - specified condition. - - - - - Returns the last element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the last element of a sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Single operator. - - - - - Returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - - - Returns the only element of a sequence that satisfies a - specified condition, and throws an exception if more than one - such element exists. - - - - - Returns the only element of a sequence, or a default value if - the sequence is empty; this method throws an exception if there - is more than one element in the sequence. - - - - - Returns the only element of a sequence that satisfies a - specified condition or a default value if no such element - exists; this method throws an exception if more than one element - satisfies the condition. - - - - - Returns the element at a specified index in a sequence. - - - - - Returns the element at a specified index in a sequence or a - default value if the index is out of range. - - - - - Inverts the order of the elements in a sequence. - - - - - Returns a specified number of contiguous elements from the start - of a sequence. - - - - - Bypasses a specified number of elements in a sequence and then - returns the remaining elements. - - - - - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. - - - - - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. The element's - index is used in the logic of the predicate function. - - - - - Returns the number of elements in a sequence. - - - - - Returns a number that represents how many elements in the - specified sequence satisfy a condition. - - - - - Returns an that represents the total number - of elements in a sequence. - - - - - Returns an that represents how many elements - in a sequence satisfy a condition. - - - - - Concatenates two sequences. - - - - - Creates a from an . - - - - - Creates an array from an . - - - - - Returns distinct elements from a sequence by using the default - equality comparer to compare values. - - - - - Returns distinct elements from a sequence by using a specified - to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and a key comparer. - - - - - Creates a from an - according to specified key - and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer and an element selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function and compares the keys by using a specified - comparer. - - - - - Groups the elements of a sequence according to a specified key - selector function and projects the elements for each group by - using a specified function. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. - - - - - Groups the elements of a sequence according to a key selector - function. The keys are compared by using a comparer and each - group's elements are projected by using a specified function. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. The elements of each group are projected by using a - specified function. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. The keys are compared by using a specified comparer. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. Key values are compared by using a specified comparer, - and the elements of each group are projected by using a - specified function. - - - - - Applies an accumulator function over a sequence. - - - - - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value. - - - - - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value, and the - specified function is used to select the result value. - - - - - Produces the set union of two sequences by using the default - equality comparer. - - - - - Produces the set union of two sequences by using a specified - . - - - - - Returns the elements of the specified sequence or the type - parameter's default value in a singleton collection if the - sequence is empty. - - - - - Returns the elements of the specified sequence or the specified - value in a singleton collection if the sequence is empty. - - - - - Determines whether all elements of a sequence satisfy a condition. - - - - - Determines whether a sequence contains any elements. - - - - - Determines whether any element of a sequence satisfies a - condition. - - - - - Determines whether a sequence contains a specified element by - using the default equality comparer. - - - - - Determines whether a sequence contains a specified element by - using a specified . - - - - - Determines whether two sequences are equal by comparing the - elements by using the default equality comparer for their type. - - - - - Determines whether two sequences are equal by comparing their - elements by using a specified . - - - - - Base implementation for Min/Max operator. - - - - - Base implementation for Min/Max operator for nullable types. - - - - - Returns the minimum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the minimum resulting value. - - - - - Returns the maximum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the maximum resulting value. - - - - - Makes an enumerator seen as enumerable once more. - - - The supplied enumerator must have been started. The first element - returned is the element the enumerator was on when passed in. - DO NOT use this method if the caller must be a generator. It is - mostly safe among aggregate operations. - - - - - Sorts the elements of a sequence in ascending order according to a key. - - - - - Sorts the elements of a sequence in ascending order by using a - specified comparer. - - - - - Sorts the elements of a sequence in descending order according to a key. - - - - - Sorts the elements of a sequence in descending order by using a - specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order by using a specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order, according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order by using a specified comparer. - - - - - Base implementation for Intersect and Except operators. - - - - - Produces the set intersection of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set intersection of two sequences by using the - specified to compare values. - - - - - Produces the set difference of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set difference of two sequences by using the - specified to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and key comparer. - - - - - Creates a from an - according to specified key - selector and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer, and an element selector function. - - - - - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. - - - - - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. A - specified is used to compare keys. - - - - - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. - - - - - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. A specified - is used to compare keys. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Represents a collection of objects that have a common key. - - - - - Gets the key of the . - - - - - Defines an indexer, size property, and Boolean search method for - data structures that map keys to - sequences of values. - - - - - Represents a sorted sequence. - - - - - Performs a subsequent ordering on the elements of an - according to a key. - - - - - Represents a collection of keys each mapped to one or more values. - - - - - Determines whether a specified key is in the . - - - - - Applies a transform function to each key and its associated - values and returns the results. - - - - - Returns a generic enumerator that iterates through the . - - - - - Gets the number of key/value collection pairs in the . - - - - - Gets the collection of values indexed by the specified key. - - - - - See issue #11 - for why this method is needed and cannot be expressed as a - lambda at the call site. - - - - - See issue #11 - for why this method is needed and cannot be expressed as a - lambda at the call site. - - - - - This attribute allows us to define extension methods without - requiring .NET Framework 3.5. For more information, see the section, - Extension Methods in .NET Framework 2.0 Apps, - of Basic Instincts: Extension Methods - column in MSDN Magazine, - issue Nov 2007. - - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Represents an abstract JSON token. - - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Gets the with the specified key. - - The with the specified key. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a null value. - - A null value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Specifies the settings on a object. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Represents a reader that provides validation. - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Represents a collection of . - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. - - - - Deserializes the XmlNode from a JSON string. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XmlNode - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings. - - - A new instance. - The will not use default settings. - - - - - Creates a new instance using the specified . - The will not use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - - - - Creates a new instance. - The will use default settings. - - - A new instance. - The will use default settings. - - - - - Creates a new instance using the specified . - The will use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the Json structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Represents a token that can contain other tokens. - - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the with the specified key. - - - - - - Represents a JSON object. - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Represents a JSON array. - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the at the reader's current position. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Represents a JSON property. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Gets the node type for this . - - The type. - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Contains the JSON schema extension methods. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - Validates the specified . - - The source to test. - The schema to test with. - - - - Validates the specified . - - The source to test. - The schema to test with. - The validation event handler. - - - - Returns detailed information about the schema exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Resolves from an id. - - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Specifies undefined schema Id handling options for the . - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - Returns detailed information related to the . - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - Represents the callback method that will handle JSON schema validation events and the . - - - - - Resolves member mappings for a type, camel casing property names. - - - - - Used by to resolves a for a given . - - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - Get and set values for a using dynamic methods. - - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - An in-memory representation of a JSON Schema. - - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Generates a from a specified . - - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - The value types allowed by the . - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies type name handling options for the . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Specifies the type of Json token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.dll deleted file mode 100644 index 0a61735..0000000 Binary files a/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.xml deleted file mode 100644 index 3281415..0000000 --- a/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.xml +++ /dev/null @@ -1,8470 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - - A . This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the end of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current Json object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a Json array. - - - - - Writes the beginning of a Json object. - - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Represents a BSON Oid (object id). - - - - - Initializes a new instance of the class. - - The Oid value. - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Converts a binary value to and from a base 64 string value. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets the of the JSON produced by the JsonConverter. - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Initializes a new instance of the class. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the collection. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Represents a trace writer that writes to the application's instances. - - - - - Represents a trace writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Represents a raw JSON string. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Represents an abstract JSON token. - - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Gets the with the specified key. - - The with the specified key. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a null value. - - A null value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Get and set values for a using dynamic methods. - - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides data for the Error event. - - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Specifies the settings on a object. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Represents a reader that provides validation. - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Represents a collection of . - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. - - - - Deserializes the XmlNode from a JSON string. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XmlNode - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings. - - - A new instance. - The will not use default settings. - - - - - Creates a new instance using the specified . - The will not use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - - - - Creates a new instance. - The will use default settings. - - - A new instance. - The will use default settings. - - - - - Creates a new instance using the specified . - The will use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the Json structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Represents a token that can contain other tokens. - - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the with the specified key. - - - - - - Represents a JSON object. - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Represents a JSON array. - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the at the reader's current position. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Represents a JSON property. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Gets the node type for this . - - The type. - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Contains the JSON schema extension methods. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - Validates the specified . - - The source to test. - The schema to test with. - - - - Validates the specified . - - The source to test. - The schema to test with. - The validation event handler. - - - - Returns detailed information about the schema exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Resolves from an id. - - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Specifies undefined schema Id handling options for the . - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - Returns detailed information related to the . - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - Represents the callback method that will handle JSON schema validation events and the . - - - - - Resolves member mappings for a type, camel casing property names. - - - - - Used by to resolves a for a given . - - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - An in-memory representation of a JSON Schema. - - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Generates a from a specified . - - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - The value types allowed by the . - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - Specifies type name handling options for the . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Specifies the type of Json token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.dll deleted file mode 100644 index 55d537f..0000000 Binary files a/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.xml deleted file mode 100644 index c8eecf6..0000000 --- a/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.xml +++ /dev/null @@ -1,8777 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - - A . This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the end of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current Json object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a Json array. - - - - - Writes the beginning of a Json object. - - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Represents a BSON Oid (object id). - - - - - Initializes a new instance of the class. - - The Oid value. - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Converts a binary value to and from a base 64 string value. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets the of the JSON produced by the JsonConverter. - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Initializes a new instance of the class. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Instructs the how to serialize the collection. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Represents a trace writer that writes to the application's instances. - - - - - Represents a trace writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Get and set values for a using dynamic methods. - - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Represents a raw JSON string. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Represents an abstract JSON token. - - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Gets the with the specified key. - - The with the specified key. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a null value. - - A null value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides data for the Error event. - - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Specifies the settings on a object. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Represents a reader that provides validation. - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Represents a collection of . - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. - - - - Deserializes the XmlNode from a JSON string. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XmlNode - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings. - - - A new instance. - The will not use default settings. - - - - - Creates a new instance using the specified . - The will not use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - - - - Creates a new instance. - The will use default settings. - - - A new instance. - The will use default settings. - - - - - Creates a new instance using the specified . - The will use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the Json structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Represents a token that can contain other tokens. - - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the with the specified key. - - - - - - Represents a JSON object. - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Represents a JSON array. - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the at the reader's current position. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Represents a JSON property. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Gets the node type for this . - - The type. - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Contains the JSON schema extension methods. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - Validates the specified . - - The source to test. - The schema to test with. - - - - Validates the specified . - - The source to test. - The schema to test with. - The validation event handler. - - - - Returns detailed information about the schema exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Resolves from an id. - - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Specifies undefined schema Id handling options for the . - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - Returns detailed information related to the . - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - Represents the callback method that will handle JSON schema validation events and the . - - - - - Resolves member mappings for a type, camel casing property names. - - - - - Used by to resolves a for a given . - - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - An in-memory representation of a JSON Schema. - - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Generates a from a specified . - - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - The value types allowed by the . - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Represents a method that constructs an object. - - The object type to create. - - - - Specifies type name handling options for the . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Specifies the type of Json token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.dll deleted file mode 100644 index 71fd69e..0000000 Binary files a/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.xml deleted file mode 100644 index 4ecec60..0000000 --- a/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.xml +++ /dev/null @@ -1,8777 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Initializes a new instance of the class. - - The Oid value. - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - - A . This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the end of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current Json object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a Json array. - - - - - Writes the beginning of a Json object. - - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets the of the JSON produced by the JsonConverter. - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Initializes a new instance of the class. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. - - - - Deserializes the XmlNode from a JSON string. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XmlNode - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Instructs the to always serialize the member with the specified name. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings. - - - A new instance. - The will not use default settings. - - - - - Creates a new instance using the specified . - The will not use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - - - - Creates a new instance. - The will use default settings. - - - A new instance. - The will use default settings. - - - - - Creates a new instance using the specified . - The will use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the Json structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Specifies the settings on a object. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Specifies the type of Json token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - Represents a reader that provides validation. - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Represents a token that can contain other tokens. - - - - - Represents an abstract JSON token. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Gets the with the specified key. - - The with the specified key. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Represents a JSON constructor. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the with the specified key. - - - - - - Represents a JSON object. - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Represents a JSON property. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Gets the node type for this . - - The type. - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a null value. - - A null value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the at the reader's current position. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - Contains the JSON schema extension methods. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - Validates the specified . - - The source to test. - The schema to test with. - - - - Validates the specified . - - The source to test. - The schema to test with. - The validation event handler. - - - - An in-memory representation of a JSON Schema. - - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Returns detailed information about the schema exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Generates a from a specified . - - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Resolves from an id. - - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - The value types allowed by the . - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies undefined schema Id handling options for the . - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - Returns detailed information related to the . - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - Represents the callback method that will handle JSON schema validation events and the . - - - - - Resolves member mappings for a type, camel casing property names. - - - - - Used by to resolves a for a given . - - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Represents a trace writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Get and set values for a using dynamic methods. - - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies type name handling options for the . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.dll deleted file mode 100644 index b170d83..0000000 Binary files a/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.xml deleted file mode 100644 index fed0a2a..0000000 --- a/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.xml +++ /dev/null @@ -1,8302 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Initializes a new instance of the class. - - The Oid value. - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - - A . This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the end of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current Json object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a Json array. - - - - - Writes the beginning of a Json object. - - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a to and from JSON and BSON. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets the of the JSON produced by the JsonConverter. - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Initializes a new instance of the class. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly. - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Instructs the to always serialize the member with the specified name. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings. - - - A new instance. - The will not use default settings. - - - - - Creates a new instance using the specified . - The will not use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - - - - Creates a new instance. - The will use default settings. - - - A new instance. - The will use default settings. - - - - - Creates a new instance using the specified . - The will use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the Json structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Specifies the settings on a object. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Specifies the type of Json token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - Represents a reader that provides validation. - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Represents a token that can contain other tokens. - - - - - Represents an abstract JSON token. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Gets the with the specified key. - - The with the specified key. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Raises the event. - - The instance containing the event data. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Represents a JSON constructor. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the with the specified key. - - - - - - Represents a JSON object. - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Represents a JSON property. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Gets the node type for this . - - The type. - - - - Represents a raw JSON string. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a null value. - - A null value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the at the reader's current position. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - Contains the JSON schema extension methods. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - Validates the specified . - - The source to test. - The schema to test with. - - - - Validates the specified . - - The source to test. - The schema to test with. - The validation event handler. - - - - An in-memory representation of a JSON Schema. - - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Returns detailed information about the schema exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Generates a from a specified . - - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Resolves from an id. - - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - The value types allowed by the . - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies undefined schema Id handling options for the . - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - Returns detailed information related to the . - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - Represents the callback method that will handle JSON schema validation events and the . - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Used by to resolves a for a given . - - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Specifies type name handling options for the . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index a3b24af..0000000 Binary files a/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml deleted file mode 100644 index d83f318..0000000 --- a/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml +++ /dev/null @@ -1,7955 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Initializes a new instance of the class. - - The Oid value. - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - - A . This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the end of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current Json object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a Json array. - - - - - Writes the beginning of a Json object. - - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a to and from JSON and BSON. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets the of the JSON produced by the JsonConverter. - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Initializes a new instance of the class. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly. - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Instructs the to always serialize the member with the specified name. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings. - - - A new instance. - The will not use default settings. - - - - - Creates a new instance using the specified . - The will not use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - - - - Creates a new instance. - The will use default settings. - - - A new instance. - The will use default settings. - - - - - Creates a new instance using the specified . - The will use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the Json structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Specifies the settings on a object. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Specifies the type of Json token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - Represents a reader that provides validation. - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Represents a token that can contain other tokens. - - - - - Represents an abstract JSON token. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Gets the with the specified key. - - The with the specified key. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Represents a JSON constructor. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the with the specified key. - - - - - - Represents a JSON object. - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Represents a JSON property. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Gets the node type for this . - - The type. - - - - Represents a raw JSON string. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a null value. - - A null value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the at the reader's current position. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - Contains the JSON schema extension methods. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - Validates the specified . - - The source to test. - The schema to test with. - - - - Validates the specified . - - The source to test. - The schema to test with. - The validation event handler. - - - - An in-memory representation of a JSON Schema. - - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Returns detailed information about the schema exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Generates a from a specified . - - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Resolves from an id. - - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - The value types allowed by the . - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies undefined schema Id handling options for the . - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - Returns detailed information related to the . - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - Represents the callback method that will handle JSON schema validation events and the . - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Used by to resolves a for a given . - - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Specifies type name handling options for the . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.dll deleted file mode 100644 index c1ac3db..0000000 Binary files a/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.xml deleted file mode 100644 index 9c84a89..0000000 --- a/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.xml +++ /dev/null @@ -1,8302 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Initializes a new instance of the class. - - The Oid value. - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - - A . This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the end of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current Json object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a Json array. - - - - - Writes the beginning of a Json object. - - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a to and from JSON and BSON. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets the of the JSON produced by the JsonConverter. - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Initializes a new instance of the class. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly. - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Instructs the to always serialize the member with the specified name. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings. - - - A new instance. - The will not use default settings. - - - - - Creates a new instance using the specified . - The will not use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - - - - Creates a new instance. - The will use default settings. - - - A new instance. - The will use default settings. - - - - - Creates a new instance using the specified . - The will use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the Json structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the Json structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Specifies the settings on a object. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Specifies the type of Json token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - Represents a reader that provides validation. - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - The exception thrown when an error occurs while reading Json text. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Represents a token that can contain other tokens. - - - - - Represents an abstract JSON token. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Gets the with the specified key. - - The with the specified key. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Raises the event. - - The instance containing the event data. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Represents a JSON constructor. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the with the specified key. - - - - - - Represents a JSON object. - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Represents a JSON property. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Gets the node type for this . - - The type. - - - - Represents a raw JSON string. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a null value. - - A null value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the at the reader's current position. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a Json object. - - - - - Writes the beginning of a Json array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a Json object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - Contains the JSON schema extension methods. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - Validates the specified . - - The source to test. - The schema to test with. - - - - Validates the specified . - - The source to test. - The schema to test with. - The validation event handler. - - - - An in-memory representation of a JSON Schema. - - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Returns detailed information about the schema exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Generates a from a specified . - - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Resolves from an id. - - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - The value types allowed by the . - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies undefined schema Id handling options for the . - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - Returns detailed information related to the . - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - Represents the callback method that will handle JSON schema validation events and the . - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Used by to resolves a for a given . - - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Get and set values for a using dynamic methods. - - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Specifies type name handling options for the . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/packages/Newtonsoft.Json.6.0.8/tools/install.ps1 b/packages/Newtonsoft.Json.6.0.8/tools/install.ps1 deleted file mode 100644 index 6ff8fcb..0000000 --- a/packages/Newtonsoft.Json.6.0.8/tools/install.ps1 +++ /dev/null @@ -1,112 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -# open json.net splash page on package install -# don't open if json.net is installed as a dependency - -try -{ - $url = "http://james.newtonking.com/json/install?version=" + $package.Version - $dte2 = Get-Interface $dte ([EnvDTE80.DTE2]) - - if ($dte2.ActiveWindow.Caption -eq "Package Manager Console") - { - # user is installing from VS NuGet console - # get reference to the window, the console host and the input history - # show webpage if "install-package newtonsoft.json" was last input - - $consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow]) - - $props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor ` - [System.Reflection.BindingFlags]::NonPublic) - - $prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1 - if ($prop -eq $null) { return } - - $hostInfo = $prop.GetValue($consoleWindow) - if ($hostInfo -eq $null) { return } - - $history = $hostInfo.WpfConsole.InputHistory.History - - $lastCommand = $history | select -last 1 - - if ($lastCommand) - { - $lastCommand = $lastCommand.Trim().ToLower() - if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json")) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - } - else - { - # user is installing from VS NuGet dialog - # get reference to the window, then smart output console provider - # show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation - - $instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor ` - [System.Reflection.BindingFlags]::NonPublic) - - $consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor ` - [System.Reflection.BindingFlags]::NonPublic) - - if ($instanceField -eq $null -or $consoleField -eq $null) { return } - - $instance = $instanceField.GetValue($null) - - if ($instance -eq $null) { return } - - $consoleProvider = $consoleField.GetValue($instance) - if ($consoleProvider -eq $null) { return } - - $console = $consoleProvider.CreateOutputConsole($false) - - $messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor ` - [System.Reflection.BindingFlags]::NonPublic) - if ($messagesField -eq $null) { return } - - $messages = $messagesField.GetValue($console) - if ($messages -eq $null) { return } - - $operations = $messages -split "==============================" - - $lastOperation = $operations | select -last 1 - - if ($lastOperation) - { - $lastOperation = $lastOperation.ToLower() - - $lines = $lastOperation -split "`r`n" - - $installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1 - - if ($installMatch) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - } -} -catch -{ - try - { - $pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager") - - $selection = $pmPane.TextDocument.Selection - $selection.StartOfDocument($false) - $selection.EndOfDocument($true) - - if ($selection.Text.StartsWith("Installing 'Newtonsoft.Json ")) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - catch - { - # stop potential errors from bubbling up - # worst case the splash page won't open - } -} - -# still yolo \ No newline at end of file diff --git a/packages/repositories.config b/packages/repositories.config deleted file mode 100644 index e47eb2d..0000000 --- a/packages/repositories.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file