().Publish(e);
+ }
+
+ }
+
+}
diff --git a/CloudDriveShell/icon.ico b/CloudDriveShell/icon.ico
new file mode 100644
index 0000000..d989ab2
Binary files /dev/null and b/CloudDriveShell/icon.ico differ
diff --git a/CloudDriveShell/packages.config b/CloudDriveShell/packages.config
new file mode 100644
index 0000000..e192eda
--- /dev/null
+++ b/CloudDriveShell/packages.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Transitionals/Controls/Slideshow.xaml b/Transitionals/Controls/Slideshow.xaml
new file mode 100644
index 0000000..0238e23
--- /dev/null
+++ b/Transitionals/Controls/Slideshow.xaml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Controls/Slideshow.xaml.cs b/Transitionals/Controls/Slideshow.xaml.cs
new file mode 100644
index 0000000..5647cff
--- /dev/null
+++ b/Transitionals/Controls/Slideshow.xaml.cs
@@ -0,0 +1,431 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.ComponentModel;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Threading;
+
+namespace Transitionals.Controls
+{
+ ///
+ /// Interaction logic for Slideshow.xaml
+ ///
+ [StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(SlideshowItem))]
+ public partial class Slideshow : Selector
+ {
+ #region Static Version
+ #region Constants
+ /************************************************
+ * Constants
+ ***********************************************/
+ static public readonly DependencyProperty AutoAdvanceProperty = DependencyProperty.Register("AutoAdvanceProperty", typeof(bool), typeof(Slideshow), new FrameworkPropertyMetadata(false, OnAutoAdvanceChanged));
+ static public readonly DependencyProperty AutoAdvanceDurationProperty = DependencyProperty.Register("AutoAdvanceDurationProperty", typeof(Duration), typeof(Slideshow), new FrameworkPropertyMetadata(new Duration(TimeSpan.FromSeconds(3)), OnAutoAdvanceDurationChanged), ValidateAutoAdvanceDuration);
+ static public readonly DependencyProperty IsContinuousProperty = DependencyProperty.Register("IsContinuous", typeof(bool), typeof(Slideshow), new FrameworkPropertyMetadata(true, OnIsContinuousChanged));
+ static public readonly DependencyProperty ShuffleProperty = DependencyProperty.Register("Shuffle", typeof(bool), typeof(Slideshow), new FrameworkPropertyMetadata(false, OnShuffleChanged));
+ public static readonly DependencyProperty TransitionProperty = DependencyProperty.Register("Transition", typeof(Transition), typeof(Slideshow), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender, OnTransitionChanged));
+ public static readonly DependencyProperty TransitionSelectorProperty = DependencyProperty.Register("TransitionSelector", typeof(TransitionSelector), typeof(Slideshow), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender, OnTransitionSelectorChanged));
+ #endregion // Constants
+
+ #region Constructors
+ /************************************************
+ * Constructors
+ ***********************************************/
+ ///
+ /// Initializes the static implementation of .
+ ///
+ static Slideshow()
+ {
+ // Override the item template
+ ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(SlideshowPanel)));
+ template.Seal();
+ ItemsControl.ItemsPanelProperty.OverrideMetadata(typeof(Slideshow), new FrameworkPropertyMetadata(template));
+ }
+ #endregion // Constructors
+ #region Internal Methods
+ /************************************************
+ * Internal Methods
+ ***********************************************/
+ static private bool ValidateAutoAdvanceDuration(object value)
+ {
+ // It must be a duration
+ if (!(value is Duration)) { return false; }
+
+ // It must specify time (can't be automatic or infinite)
+ if (!((Duration)value).HasTimeSpan) { return false; }
+
+ return true;
+ }
+ #endregion // Internal Methods
+
+ #region Overrides / Event Handlers
+ /************************************************
+ * Overrides / Event Handlers
+ ***********************************************/
+ private static void OnAutoAdvanceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
+ {
+ ((Slideshow)d).OnAutoAdvanceChanged(e);
+ }
+
+ private static void OnAutoAdvanceDurationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
+ {
+ ((Slideshow)d).OnAutoAdvanceDurationChanged(e);
+ }
+
+ private static void OnIsContinuousChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
+ {
+ ((Slideshow)d).OnIsContinuousChanged(e);
+ }
+
+ private static void OnShuffleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
+ {
+ ((Slideshow)d).OnShuffleChanged(e);
+ }
+
+ private static void OnTransitionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
+ {
+ ((Slideshow)d).OnTransitionChanged(e);
+ }
+ private static void OnTransitionSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
+ {
+ ((Slideshow)d).OnTransitionSelectorChanged(e);
+ }
+ #endregion // Overrides / Event Triggers
+
+ #endregion // Static Version
+
+ #region Instance Version
+ #region Member Variables
+ /************************************************
+ * Member Variables
+ ***********************************************/
+ private DispatcherTimer autoTransitionTimer;
+ private Random random = new Random();
+ #endregion // Member Variables
+ #region Constructors
+ /************************************************
+ * Constructors
+ ***********************************************/
+ ///
+ /// Initializes a new instance
+ ///
+ public Slideshow()
+ {
+ InitializeComponent();
+
+ // Setup automatic transition
+ autoTransitionTimer = new DispatcherTimer();
+ autoTransitionTimer.IsEnabled = false;
+ autoTransitionTimer.Interval = AutoAdvanceDuration.TimeSpan;
+ autoTransitionTimer.Tick += new EventHandler(autoTransitionTimer_Tick);
+ autoTransitionTimer.IsEnabled = AutoAdvance;
+ }
+ #endregion // Constructors
+
+ #region Overrides / Event Handlers
+ /************************************************
+ * Overrides / Event Handlers
+ ***********************************************/
+ private void autoTransitionTimer_Tick(object sender, EventArgs e)
+ {
+ // Just try to go to the next item
+ TransitionNext();
+ }
+
+ protected override DependencyObject GetContainerForItemOverride()
+ {
+ return new SlideshowItem();
+ }
+
+ protected override bool IsItemItsOwnContainerOverride(object item)
+ {
+ return (item is SlideshowItem);
+ }
+ #endregion // Overrides / Event Triggers
+
+ #region Overridables / Event Triggers
+ /************************************************
+ * Overridables / Event Triggers
+ ***********************************************/
+ ///
+ /// Occurs when the value of the property has changed.
+ ///
+ ///
+ /// A containing event information.
+ ///
+ protected virtual void OnAutoAdvanceChanged(DependencyPropertyChangedEventArgs e)
+ {
+ autoTransitionTimer.IsEnabled = (bool)e.NewValue;
+ }
+
+ ///
+ /// Occurs when the value of the property has changed.
+ ///
+ ///
+ /// A containing event information.
+ ///
+ protected virtual void OnAutoAdvanceDurationChanged(DependencyPropertyChangedEventArgs e)
+ {
+ autoTransitionTimer.Interval = ((Duration)e.NewValue).TimeSpan;
+ }
+
+ ///
+ /// Occurs when the value of the property has changed.
+ ///
+ ///
+ /// A containing event information.
+ ///
+ protected virtual void OnIsContinuousChanged(DependencyPropertyChangedEventArgs e)
+ {
+
+ }
+
+ ///
+ /// Occurs when the value of the property has changed.
+ ///
+ ///
+ /// A containing event information.
+ ///
+ protected virtual void OnShuffleChanged(DependencyPropertyChangedEventArgs e)
+ {
+
+ }
+
+ ///
+ /// Occurs when the value of the property has changed.
+ ///
+ ///
+ /// A containing event information.
+ ///
+ protected virtual void OnTransitionChanged(DependencyPropertyChangedEventArgs e)
+ {
+
+ }
+
+ ///
+ /// Occurs when the value of the property has changed.
+ ///
+ ///
+ /// A containing event information.
+ ///
+ protected virtual void OnTransitionSelectorChanged(DependencyPropertyChangedEventArgs e)
+ {
+
+ }
+ #endregion // Overridables / Event Triggers
+
+ ///
+ /// Causes the to transition to the next item.
+ ///
+ ///
+ /// When determining the item to transition to, this method takes into account the
+ /// values of the and properties. No
+ /// exception is thrown if there is no item to transition next.
+ ///
+ public void TransitionNext()
+ {
+ // We operate differently in random mode than in sequential
+ if (Shuffle)
+ {
+ // In shuffle mode, just transition to any random item
+ SelectedIndex = random.Next(0, Items.Count);
+ }
+ else
+ {
+ // If we're on the last item we have some extra work to do
+ if (SelectedIndex == (Items.Count - 1))
+ {
+ // If we are operating in continuous mode we can just go back to the first item
+ if (IsContinuous)
+ {
+ SelectedIndex = 0;
+ }
+ // Otherwise we shoudl stop auto advance if it's running
+ else
+ {
+ AutoAdvance = false;
+ }
+ }
+ // Not the last item, so just go to the next
+ else
+ {
+ SelectedIndex = SelectedIndex + 1;
+ }
+ }
+ }
+
+ ///
+ /// Causes the to transition to the previous item.
+ ///
+ ///
+ /// This item always transitions to the logical previous item in the list,
+ /// regardless of the value of the property. However,
+ /// this method will wrap around from the first logical item to the last logical
+ /// item if the property is set to true (default).
+ ///
+ public void TransitionPrevious()
+ {
+ throw new NotImplementedException();
+ }
+
+ #region Public Properties
+ /************************************************
+ * Public Properties
+ ***********************************************/
+ ///
+ /// Gets or sets a value that indicates if will automatically
+ /// advance to the next item.
+ /// advances to the next item.
+ ///
+ ///
+ /// true if will automatically advance to the next item;
+ /// otherwise false.
+ ///
+ ///
+ /// The amount of time that will wait before advancing to the
+ /// next item can be specified using the property.
+ /// This property defaults to false.
+ ///
+ [DefaultValue(false)]
+ public bool AutoAdvance
+ {
+ get
+ {
+ return (bool)GetValue(AutoAdvanceProperty);
+ }
+ set
+ {
+ SetValue(AutoAdvanceProperty, value);
+ }
+ }
+
+ ///
+ /// Gets or sets a that indicates how much time must pass before
+ /// advances to the next item.
+ ///
+ ///
+ /// A that indicates how much time must pass.
+ ///
+ ///
+ /// This property defaults to 3 seconds and has no effect if
+ /// is set to false.
+ ///
+ public Duration AutoAdvanceDuration
+ {
+ get
+ {
+ return (Duration)GetValue(AutoAdvanceDurationProperty);
+ }
+ set
+ {
+ SetValue(AutoAdvanceDurationProperty, value);
+ }
+ }
+
+ ///
+ /// Gets or sets a value that indicates if will treat the
+ /// items in the list as a continuous loop.
+ ///
+ ///
+ /// true if if will treat the
+ /// items in the list as a continuous loop; otherwise false. The default
+ /// is true.
+ ///
+ ///
+ /// When this property is set to true (the default) and the last item in the
+ /// list is displayed, will transition to the first item
+ /// in the list. Similarly, if the first item is displayed and a request is made
+ /// to display the previous item, will automatically
+ /// transition to the last item in the list.
+ ///
+ [DefaultValue(true)]
+ public bool IsContinuous
+ {
+ get
+ {
+ return (bool)GetValue(IsContinuousProperty);
+ }
+ set
+ {
+ SetValue(IsContinuousProperty, value);
+ }
+ }
+
+ ///
+ /// Gets or sets a value that indicates if will transition
+ /// randomly between items in the list.
+ ///
+ ///
+ /// true if will transition randomly between items in
+ /// the list; otherwise false. The default is false.
+ ///
+ [DefaultValue(false)]
+ public bool Shuffle
+ {
+ get
+ {
+ return (bool)GetValue(ShuffleProperty);
+ }
+ set
+ {
+ SetValue(ShuffleProperty, value);
+ }
+ }
+
+ ///
+ /// Gets or sets a single that will be used to switch between content.
+ ///
+ ///
+ /// A single that will be used to switch between content.
+ ///
+ ///
+ /// To use more than one transition, see .
+ ///
+ [DefaultValue(null)]
+ public Transition Transition
+ {
+ get
+ {
+ return (Transition)GetValue(TransitionProperty);
+ }
+ set
+ {
+ SetValue(TransitionProperty, value);
+ }
+ }
+
+ ///
+ /// Gets or sets a class instance that will provide transitions to the .
+ ///
+ ///
+ /// A instance that will provide transitions.
+ ///
+ ///
+ /// To use only a single transition, see the property.
+ ///
+ [DefaultValue(null)]
+ public TransitionSelector TransitionSelector
+ {
+ get
+ {
+ return (TransitionSelector)GetValue(TransitionSelectorProperty);
+ }
+ set
+ {
+ SetValue(TransitionSelectorProperty, value);
+ }
+ }
+ #endregion // Public Properties
+ #endregion // Instance Version
+ }
+}
diff --git a/Transitionals/Controls/SlideshowItem.cs b/Transitionals/Controls/SlideshowItem.cs
new file mode 100644
index 0000000..02b435a
--- /dev/null
+++ b/Transitionals/Controls/SlideshowItem.cs
@@ -0,0 +1,22 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows.Controls;
+
+namespace Transitionals.Controls
+{
+ public class SlideshowItem : ContentControl
+ {
+ public SlideshowItem()
+ {
+ }
+ }
+}
diff --git a/Transitionals/Controls/SlideshowPanel.cs b/Transitionals/Controls/SlideshowPanel.cs
new file mode 100644
index 0000000..69b6d3a
--- /dev/null
+++ b/Transitionals/Controls/SlideshowPanel.cs
@@ -0,0 +1,251 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using Transitionals.Transitions;
+
+namespace Transitionals.Controls
+{
+ ///
+ /// A panel that can display only a single item. If the panel is associated with a selector,
+ /// only the selected item is displayed. When the active or selected item is replaced, a
+ /// transition occurs from the old item to the new one.
+ ///
+ internal class SlideshowPanel : VirtualizingPanel
+ {
+ #region Member Variables
+ /************************************************
+ * Member Variables
+ ***********************************************/
+ private int currentIndex = -1;
+ private bool panelAdded;
+ private Selector selector;
+ private Slideshow slideShow;
+ private TransitionElement transitionElement;
+
+ // TODO: Need collection of transitions as a DependencyProperty.
+ #endregion // Member Variables
+
+ #region Constructors
+ /************************************************
+ * Constructors
+ ***********************************************/
+ ///
+ /// Initializes a new .
+ ///
+ public SlideshowPanel()
+ {
+ Initialize();
+ }
+ #endregion // Constructors
+
+ #region Internal Methods
+ /************************************************
+ * Internal Methods
+ ***********************************************/
+ ///
+ /// Handles the selector changing.
+ ///
+ private void HandleSelectorChange()
+ {
+ // If a previous selector exists, unsubscribe.
+ if (selector != null)
+ {
+ selector.SelectionChanged -= new SelectionChangedEventHandler(selector_SelectionChanged);
+ }
+
+ // Try to get new selector from parent
+ ItemsControl ic = ItemsControl.GetItemsOwner(this) as Selector;
+ bool isHost = this.IsItemsHost;
+ ItemsPresenter presenter = TemplatedParent as ItemsPresenter;
+ selector = ItemsControl.GetItemsOwner(this) as Selector;
+
+ // The selector should probably only be a Slideshow, but to keep the logic
+ // separate we'll have a second variable.
+ slideShow = selector as Slideshow;
+
+ // If we have a new selector, subscribe to events
+ if (selector != null)
+ {
+ selector.SelectionChanged += new SelectionChangedEventHandler(selector_SelectionChanged);
+ }
+ }
+
+ ///
+ /// Ensures that the transition panel has been created and added to the controls
+ /// child collection.
+ ///
+ private void EnsureTransitionPanel()
+ {
+ // Add it as a visual child
+ if (!panelAdded)
+ {
+ try
+ {
+ AddInternalChild(transitionElement);
+ panelAdded = true;
+ }
+ catch (Exception ex)
+ {
+ string g = ex.Message;
+ }
+ }
+ }
+
+ ///
+ /// Initializes the control and child controls.
+ ///
+ private void Initialize()
+ {
+ // Access internal children, which forces instantiation of the generator
+ UIElementCollection children = base.InternalChildren;
+
+ // We are an items host
+ IsItemsHost = true; // TODO: Should do based on parent container or selector?
+
+ // Create the transition element
+ transitionElement = new TransitionElement();
+ }
+ #endregion // Internal Methods
+
+ #region Overrides / Event Handlers
+ /************************************************
+ * Overrides / Event Handlers
+ ***********************************************/
+ protected override Size ArrangeOverride(Size finalSize)
+ {
+ /*
+ // We only have one child to arrange but it may not be created yet
+ if (transitionElement != null)
+ {
+ transitionElement.Arrange(new Rect(new Point(), finalSize));
+ }
+ * */
+
+ foreach (UIElement e in Children)
+ {
+ // TODO: Should we use e.DesiredSize instead and center it?
+ e.Arrange(new Rect(new Point(0, 0), finalSize));
+ }
+
+ // Return the final size, which is the recommended size passed in
+ return finalSize;
+ }
+
+ protected override Size MeasureOverride(Size availableSize)
+ {
+ Size resultSize = new Size(0, 0);
+
+ foreach (UIElement child in Children)
+ {
+ child.Measure(availableSize);
+ resultSize.Width = Math.Max(resultSize.Width, child.DesiredSize.Width);
+ resultSize.Height = Math.Max(resultSize.Height, child.DesiredSize.Height);
+ }
+
+ resultSize.Width = double.IsPositiveInfinity(availableSize.Width) ? resultSize.Width : availableSize.Width;
+ resultSize.Height = double.IsPositiveInfinity(availableSize.Height) ? resultSize.Height : availableSize.Height;
+
+ return resultSize;
+ }
+
+ protected override void OnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved)
+ {
+ // Only allow our special child control
+ if (visualAdded != transitionElement)
+ {
+ // throw new NotSupportedException("This child contents of this control cannot be directly manipulated.");
+ }
+ }
+
+ protected override void OnVisualParentChanged(DependencyObject oldParent)
+ {
+ base.OnVisualParentChanged(oldParent);
+ HandleSelectorChange();
+ }
+
+ private void selector_SelectionChanged(object sender, SelectionChangedEventArgs e)
+ {
+ // If there is a new item, realize it and start a transition.
+ // If there is an old item, see if it's realized. If it is, unrealize it.
+
+ // The transition panel cannot be created any earlier or data binding
+ // may not behave as expected. We must ensure it is created here so that
+ // we can use it to transition content.
+ EnsureTransitionPanel();
+
+ // We must access the InternalChildren collection every time
+ // before we can access the generator. This may be a bug in
+ // the framework.
+ UIElementCollection children = base.InternalChildren;
+
+ // Get the generator
+ IItemContainerGenerator generator = ItemContainerGenerator;
+
+ // If there is no generator we can't realize or virtualize so just bail
+ if (generator == null) { return; }
+
+ // If old item exists, mark it for virtualization
+ if (currentIndex > -1)
+ {
+ GeneratorPosition currentPosition = generator.GeneratorPositionFromIndex(currentIndex);
+ generator.Remove(currentPosition, 1);
+ currentIndex = -1;
+ }
+
+ // Get the newly selected item index
+ currentIndex = selector.SelectedIndex;
+
+ // Only try to add new content if we have a selection
+ if (currentIndex > -1)
+ {
+ // Get the generator position for the index
+ GeneratorPosition newPosition = generator.GeneratorPositionFromIndex(currentIndex);
+
+ // Realize the new object
+ DependencyObject newVisual = null;
+ using (generator.StartAt(newPosition, GeneratorDirection.Forward))
+ {
+ newVisual = generator.GenerateNext();
+ }
+
+ // Tell the selector to use the current list of transitions and duration
+ if (slideShow != null)
+ {
+ transitionElement.Transition = slideShow.Transition;
+ transitionElement.TransitionSelector = slideShow.TransitionSelector;
+ }
+ else
+ {
+ transitionElement.Transition = null;
+ transitionElement.TransitionSelector = null;
+ }
+
+ // Set content into the transition element
+ transitionElement.Content = newVisual;
+
+ // Prepare the item for its container
+ // Must be called after the element has been added to the visual tree,
+ // so that resource references and inherited properties work correctly.
+ generator.PrepareItemContainer(newVisual);
+ }
+
+ // Changing the selected item may change the desired size so we
+ // must re-measure
+ InvalidateMeasure();
+ InvalidateArrange();
+ }
+ #endregion // Overrides / Event Triggers
+ }
+}
diff --git a/Transitionals/Controls/TransitionElement.cs b/Transitionals/Controls/TransitionElement.cs
new file mode 100644
index 0000000..aaa1a96
--- /dev/null
+++ b/Transitionals/Controls/TransitionElement.cs
@@ -0,0 +1,633 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Media;
+using System.Windows.Shapes;
+
+namespace Transitionals.Controls
+{
+ ///
+ /// An element that can display exactly one piece of visual content. When the content is changed, a
+ /// transition is used to switch between the old and the new.
+ ///
+ [System.Windows.Markup.ContentProperty("Content")]
+ [System.Runtime.InteropServices.ComVisible(false)]
+ // QUESTION: Why derive from FrameworkElement instead of ContentControl?
+ public class TransitionElement : FrameworkElement
+ {
+ ///
+ /// Initializes the static version of .
+ ///
+ static TransitionElement()
+ {
+ // TraceSwitches.Transitions.Level = TraceLevel.Verbose;
+
+ defaultNullContentTemplate = new DataTemplate();
+ FrameworkElementFactory rectangle = new FrameworkElementFactory(typeof(Rectangle));
+ rectangle.SetValue(FrameworkElement.HorizontalAlignmentProperty, HorizontalAlignment.Stretch);
+ rectangle.SetValue(FrameworkElement.VerticalAlignmentProperty, VerticalAlignment.Stretch);
+ rectangle.SetValue(Shape.FillProperty, SystemColors.WindowBrush /*new TemplateBindingExtension(Control.ForegroundProperty)?*/);
+ defaultNullContentTemplate.VisualTree = rectangle;
+ defaultNullContentTemplate.Seal();
+
+ NullContentTemplateProperty.OverrideMetadata(typeof(TransitionElement), new FrameworkPropertyMetadata(defaultNullContentTemplate));
+
+ ClipToBoundsProperty.OverrideMetadata(typeof(TransitionElement), new FrameworkPropertyMetadata(null, CoerceClipToBounds));
+ }
+
+ ///
+ /// Initializes the instance.
+ ///
+ public TransitionElement()
+ {
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - Constructor Entry");
+ this.children = new UIElementCollection(this, null);
+
+ hiddenGrid = new Grid();
+ hiddenGrid.Visibility = Visibility.Hidden;
+ children.Add(hiddenGrid);
+
+ this._newContentPresenter = new ContentPresenter();
+ this.children.Add(_newContentPresenter);
+
+ this._oldContentPresenter = new ContentPresenter();
+ }
+
+ ///
+ /// Identifies the routed event.
+ ///
+ public static readonly RoutedEvent TransitionBeginningEvent = EventManager.RegisterRoutedEvent(
+ "TransitionBeginning",
+ RoutingStrategy.Bubble, // QUESTION: is this the correct strategy?
+ typeof(TransitionEventHandler),
+ typeof(TransitionElement));
+
+ ///
+ /// Occurs when the curent transition is starting.
+ ///
+ public event TransitionEventHandler TransitionBeginning
+ {
+ add
+ {
+ AddHandler(TransitionElement.TransitionBeginningEvent, value);
+ }
+ remove
+ {
+ RemoveHandler(TransitionElement.TransitionBeginningEvent, value);
+ }
+ }
+
+ ///
+ /// Raises the event.
+ ///
+ ///
+ /// A that contains the event data.
+ ///
+ protected virtual void OnTransitionBeginning(TransitionEventArgs e)
+ {
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - OnTransitionBeginning Entry");
+ RaiseEvent(e);
+ }
+
+ ///
+ /// Identifies the routed event.
+ ///
+ public static readonly RoutedEvent TransitionEndedEvent = EventManager.RegisterRoutedEvent(
+ "TransitionEnded",
+ RoutingStrategy.Bubble, // QUESTION: is this the correct strategy?
+ typeof(TransitionEventHandler),
+ typeof(TransitionElement));
+
+ ///
+ /// Occurs when the current transition has completed.
+ ///
+ public event TransitionEventHandler TransitionEnded
+ {
+ add
+ {
+ AddHandler(TransitionElement.TransitionEndedEvent, value);
+ }
+ remove
+ {
+ RemoveHandler(TransitionElement.TransitionEndedEvent, value);
+ }
+ }
+
+ ///
+ /// Raises the event.
+ ///
+ ///
+ /// A containing the event data.
+ ///
+ protected virtual void OnTransitionEnded(TransitionEventArgs e)
+ {
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - OnTransitionEnded Entry");
+ RaiseEvent(e);
+ }
+
+ // Force clip to be true if the active Transition requires it
+ private static object CoerceClipToBounds(object element, object value)
+ {
+ TransitionElement te = (TransitionElement)element;
+ bool clip = (bool)value;
+ if (!clip && te.IsTransitioning)
+ {
+ Transition transition = te.Transition;
+ if (transition.ClipToBounds)
+ return true;
+ }
+ return value;
+ }
+
+ ///
+ /// Gets or sets the content that is presented in the . This is a dependency property.
+ ///
+ ///
+ /// The content that is presented in the .
+ ///
+ ///
+ /// If a transition is specified on the property, changing the
+ /// value of this property will automatically cause the transition to begin.
+ ///
+ public object Content
+ {
+ get { return (object)GetValue(ContentProperty); }
+ set { SetValue(ContentProperty, value); }
+ }
+
+ ///
+ /// Identifies the dependency property.
+ ///
+ public static readonly DependencyProperty ContentProperty =
+ DependencyProperty.Register("Content",
+ typeof(object),
+ typeof(TransitionElement),
+ new UIPropertyMetadata(null, OnContentChanged, CoerceContent));
+
+ // Don't update direct content until done transitioning
+ private static object CoerceContent(object element, object value)
+ {
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - CoerceContent Entry");
+ TransitionElement te = element as TransitionElement;
+ if (te != null && te.IsTransitioning)
+ {
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - CoerceContent returning te.CurrentContentPresenter.Content");
+ return te.NewContentPresenter.Content;
+ }
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - CoerceContent returning normal value");
+ return value;
+ }
+
+ ///
+ /// Handles a change to the Content property.
+ ///
+ private static void OnContentChanged(object element, DependencyPropertyChangedEventArgs e)
+ {
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - OnContentChanged Entry");
+ TransitionElement te = element as TransitionElement;
+ if (te != null)
+ {
+ ContentPresenter contentPresenter = te.Content as ContentPresenter;
+ FrameworkElement parentFE = te.Parent as FrameworkElement;
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - OnContentChanged Beginning Transition");
+ te.BeginTransition();
+ }
+ }
+
+ ///
+ /// Gets or sets the data template used to display the content of the .
+ /// This is a dependency property.
+ ///
+ ///
+ /// Set this property to a to specify the appearance of the .
+ /// For more information on data templates, see
+ /// Data Templating Overview.
+ ///
+ public DataTemplate ContentTemplate
+ {
+ get { return (DataTemplate)GetValue(ContentTemplateProperty); }
+ set { SetValue(ContentTemplateProperty, value); }
+ }
+
+ ///
+ /// Identifies the dependency property.
+ ///
+ public static readonly DependencyProperty ContentTemplateProperty =
+ DependencyProperty.Register("ContentTemplate",
+ typeof(DataTemplate),
+ typeof(TransitionElement),
+ new UIPropertyMetadata(null, OnContentTemplateChanged));
+
+ private static void OnContentTemplateChanged(object element, DependencyPropertyChangedEventArgs e)
+ {
+ TransitionElement te = (TransitionElement)element;
+ te.NewContentPresenter.ContentTemplate = (DataTemplate)e.NewValue;
+ }
+
+ ///
+ /// Gets or sets a template selector that enables an application writer to provide custom template-selection logic.
+ /// This is a dependency property.
+ ///
+ public DataTemplateSelector ContentTemplateSelector
+ {
+ get { return (DataTemplateSelector)GetValue(ContentTemplateSelectorProperty); }
+ set { SetValue(ContentTemplateSelectorProperty, value); }
+ }
+
+ ///
+ /// Identifies the dependency property.
+ ///
+ public static readonly DependencyProperty ContentTemplateSelectorProperty =
+ DependencyProperty.Register("ContentTemplateSelector",
+ typeof(DataTemplateSelector),
+ typeof(TransitionElement),
+ new UIPropertyMetadata(null, OnContentTemplateSelectorChanged));
+
+ private static void OnContentTemplateSelectorChanged(object element, DependencyPropertyChangedEventArgs e)
+ {
+ TransitionElement te = (TransitionElement)element;
+ te.NewContentPresenter.ContentTemplateSelector = (DataTemplateSelector)e.NewValue;
+ }
+
+ ///
+ /// Identifies the dependency property.
+ ///
+ static public readonly DependencyProperty TransitionsEnabledProperty = DependencyProperty.Register("TransitionsEnabled", typeof(bool), typeof(TransitionElement), new FrameworkPropertyMetadata(true, OnTransitionsEnabledChanged));
+
+ private static void OnTransitionsEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
+ {
+ ((TransitionElement)d).HandleTransitionsEnabledChanged(e);
+ }
+
+ private void HandleTransitionsEnabledChanged(DependencyPropertyChangedEventArgs e)
+ {
+
+ // Notify
+ OnTransitionsEnabledChanged(e);
+ }
+
+ ///
+ /// Occurs when the value of the property has changed.
+ ///
+ ///
+ /// A containing event information.
+ ///
+ protected virtual void OnTransitionsEnabledChanged(DependencyPropertyChangedEventArgs e)
+ {
+
+ }
+
+ ///
+ /// Gets or sets a value that indicats if transitions are enabled. This is a dependency property.
+ ///
+ ///
+ /// true if transitions are enabled; otherwise false. The default is true.
+ ///
+ public bool TransitionsEnabled
+ {
+ get
+ {
+ return (bool)GetValue(TransitionsEnabledProperty);
+ }
+ set
+ {
+ SetValue(TransitionsEnabledProperty, value);
+ }
+ }
+
+
+ ///
+ /// Gets a value that indicates if the selected transition is currently running. This is a dependency property.
+ ///
+ ///
+ /// true if the transition is running; otherwise false.
+ ///
+ public bool IsTransitioning
+ {
+ get { return (bool)GetValue(IsTransitioningProperty); }
+ private set { SetValue(IsTransitioningPropertyKey, value); }
+ }
+
+ private static readonly DependencyPropertyKey IsTransitioningPropertyKey =
+ DependencyProperty.RegisterReadOnly("IsTransitioning",
+ typeof(bool),
+ typeof(TransitionElement),
+ new UIPropertyMetadata(false));
+
+ ///
+ /// Identifies the dependency property.
+ ///
+ public static readonly DependencyProperty IsTransitioningProperty =
+ IsTransitioningPropertyKey.DependencyProperty;
+
+
+ ///
+ /// Gets or sets the currently selected transition. This is a dependency property.
+ ///
+ ///
+ /// The currently selected .
+ ///
+ ///
+ /// This transition will be used to animate between old content and new content
+ /// whenever the value of the property has changed.
+ ///
+ public Transition Transition
+ {
+ get { return (Transition)GetValue(TransitionProperty); }
+ set { SetValue(TransitionProperty, value); }
+ }
+
+ ///
+ /// Identifies the dependency property.
+ ///
+ public static readonly DependencyProperty TransitionProperty =
+ DependencyProperty.Register("Transition", typeof(Transition), typeof(TransitionElement), new UIPropertyMetadata(null, null, CoerceTransition));
+
+ private static object CoerceTransition(object element, object value)
+ {
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - CoerceTransition Entry");
+ TransitionElement te = (TransitionElement)element;
+ if (te.IsTransitioning)
+ {
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - CoerceTransition returning active transition");
+ return te.activeTransition;
+ }
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - CoerceTransition returning normal current transition");
+ return value;
+ }
+
+ ///
+ /// Identifies the dependency property.
+ ///
+ public static readonly DependencyProperty NullContentTemplateProperty =
+ DependencyProperty.Register(
+ "NullContentTemplate",
+ typeof(DataTemplate),
+ typeof(TransitionElement)
+ );
+
+ ///
+ /// Gets or sets the that should be displayed whenever the property
+ /// is set to . This is a dependency property.
+ ///
+ ///
+ /// A to display when no content is available; otherwise .
+ ///
+ ///
+ /// The value of the impacts whether this template is transitioned.
+ ///
+ public DataTemplate NullContentTemplate
+ {
+ get { return (DataTemplate)GetValue(NullContentTemplateProperty); }
+ set { SetValue(NullContentTemplateProperty, value); }
+ }
+
+ ///
+ /// Gets or sets a transition selector that enables an application writer to provide custom transition
+ /// selection logic. This is a dependency property.
+ ///
+ public TransitionSelector TransitionSelector
+ {
+ get { return (TransitionSelector)GetValue(TransitionSelectorProperty); }
+ set { SetValue(TransitionSelectorProperty, value); }
+ }
+
+ ///
+ /// Identifies the dependency property.
+ ///
+ public static readonly DependencyProperty TransitionSelectorProperty =
+ DependencyProperty.Register("TransitionSelector", typeof(TransitionSelector), typeof(TransitionElement), new UIPropertyMetadata(null));
+
+ ///
+ /// Starts the selected .
+ ///
+ public void BeginTransition()
+ {
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - BeginTransition Entry");
+
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - effectiveContent using direct content");
+ object newContent = this.Content;
+
+ ContentPresenter existingContentPresenter = this.NewContentPresenter;
+ object oldContent = existingContentPresenter.Content;
+
+ TransitionSelector transitionSelector = this.TransitionSelector;
+
+ Transition transition = this.Transition;
+ if (transitionSelector != null)
+ {
+ transition = transitionSelector.SelectTransition(oldContent, newContent);
+ }
+
+ bool transitioningToNullContent = newContent == null;
+ bool transitioningFromNullContent = oldContent == null;
+
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose && transition != null, "TransitionElement - BeginTransition transition is set");
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose && transition == null, "TransitionElement - BeginTransition transition is null");
+
+ bool shouldTransition = (transition != null) && (TransitionsEnabled) && (!SkipTransition(transition, existingContentPresenter, transitioningToNullContent, transitioningFromNullContent));
+
+ if (shouldTransition)
+ {
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - BeginTransition Swapping content presenters");
+ // Swap content presenters
+ ContentPresenter temp = this._oldContentPresenter;
+ this._oldContentPresenter = this._newContentPresenter;
+ this._newContentPresenter = temp;
+ }
+
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - BeginTransition Updating current content presenter's content");
+ ContentPresenter newContentPresenter = this.NewContentPresenter;
+ // Set the current content
+ newContentPresenter.Content = newContent;
+ newContentPresenter.ContentTemplate = this.ContentTemplate;
+ newContentPresenter.ContentTemplateSelector = this.ContentTemplateSelector;
+
+ if (shouldTransition)
+ {
+ ContentPresenter oldContentPresenter = this.OldContentPresenter;
+
+ if (oldContent == null && this.NullContentTemplate != null)
+ {
+ oldContentPresenter.ContentTemplate = this.NullContentTemplate;
+ }
+ if (newContent == null && this.NullContentTemplate != null)
+ {
+ newContentPresenter.ContentTemplate = this.NullContentTemplate;
+ }
+
+ if (transition.IsNewContentTopmost)
+ {
+ this.Children.Add(this._newContentPresenter);
+ }
+ else
+ {
+ this.Children.Insert(0, this._newContentPresenter);
+ }
+
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - BeginTransition Setting up for transition");
+ this.IsTransitioning = true;
+ this.activeTransition = transition;
+ CoerceValue(TransitionProperty);
+ CoerceValue(ClipToBoundsProperty);
+ OnTransitionBeginning(new TransitionEventArgs(TransitionBeginningEvent, this, transition, oldContent, newContent));
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - BeginTransition Calling transition's BeginTransition");
+ transition.BeginTransition(this, oldContentPresenter, newContentPresenter);
+ }
+ }
+
+ private bool SkipTransition(Transition transition, ContentPresenter existingContentPresenter,
+ bool transitioningToNullContent, bool transitioningFromNullContent)
+ {
+ Debug.Assert(transition != null);
+
+ if (transitioningToNullContent && (transition.NullContentSupport == NullContentSupport.Old ||
+ transition.NullContentSupport == NullContentSupport.None))
+ {
+ if (this.ContentTemplate == null &&
+ this.ContentTemplateSelector == null &&
+ this.NullContentTemplate == null)
+ {
+ return true;
+ }
+ }
+ if (transitioningFromNullContent && (transition.NullContentSupport == NullContentSupport.New ||
+ transition.NullContentSupport == NullContentSupport.None))
+ {
+ if (existingContentPresenter.ContentTemplate == null &&
+ existingContentPresenter.ContentTemplateSelector == null &&
+ this.NullContentTemplate == null)
+ {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ public void HideContent(ContentPresenter content)
+ {
+ if (children.Contains(content))
+ {
+ children.Remove(content);
+ hiddenGrid.Children.Add(content);
+ }
+ }
+
+ // Clean up after the transition is complete
+ internal void OnTransitionCompleted(Transition transition, object oldContent, object newContent)
+ {
+ Debug.WriteLineIf(TraceSwitches.Transitions.TraceVerbose, "TransitionElement - OnTransitionCompleted Entry");
+
+ // The parameters passed here are what the transition animated (which is a content presenter)
+ // and not the actual content presented.
+ object actualOldContent = _oldContentPresenter.Content;
+ object actualNewContent = _newContentPresenter.Content;
+
+ // If the newContentPresenter has content and the presenter is removed from the child collection,
+ // any VisualBrush targeting the presenter could cause an InvalidOperationException deep in the
+ // core of WPF (NotifyPartitionIsZombie). The easiest way to work around this WPF issue is to
+ // disassociate the presenter with it's content while changing parents in the visual tree.
+
+ // Disassociate content from the presenter
+ _newContentPresenter.Content = null;
+
+ // Clear the child collection (transitions may have added other things like a Viewport3D)
+ this.children.Clear();
+
+ // Clear the hidden grid collection too because we'll reparent anything here on the next transition
+ this.hiddenGrid.Children.Clear();
+
+ // Add the new content presenter and the hidden grid back into the child collectoin
+ children.Add(_newContentPresenter);
+ children.Add(hiddenGrid);
+
+ // Restore the content back into the presenter now that it's safely reparented.
+ _newContentPresenter.Content = actualNewContent;
+
+ // Clear out old content. It should no longer be rooted by the transition element.
+ _oldContentPresenter.Content = null;
+
+ // Done transitioning
+ this.IsTransitioning = false;
+ this.activeTransition = null;
+
+ // Update measurements
+ CoerceValue(TransitionProperty);
+ CoerceValue(ClipToBoundsProperty);
+ CoerceValue(ContentProperty);
+
+ // Notify listeners of completion
+ OnTransitionEnded(new TransitionEventArgs(TransitionEndedEvent, this, transition, actualOldContent, actualNewContent));
+ }
+
+ protected override Size MeasureOverride(Size availableSize)
+ {
+ this._newContentPresenter.Measure(availableSize);
+ return this._newContentPresenter.DesiredSize;
+ }
+
+ protected override Size ArrangeOverride(Size finalSize)
+ {
+ foreach (UIElement uie in this.children)
+ {
+ uie.Arrange(new Rect(finalSize));
+ }
+ return finalSize;
+ }
+
+ protected override int VisualChildrenCount
+ {
+ get { return this.children.Count; }
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.ArgumentException.#ctor(System.String)")]
+ protected override Visual GetVisualChild(int index)
+ {
+ if (index < 0 || index >= children.Count)
+ {
+ throw new ArgumentOutOfRangeException("index");
+ }
+ return this.children[index];
+ }
+
+ internal UIElementCollection Children
+ {
+ get { return this.children; }
+ }
+
+ private ContentPresenter OldContentPresenter
+ {
+ get { return _oldContentPresenter; }
+ }
+
+ // TODO: May have to make this public because in Acropolis PartPane and TabLayoutPane used it
+ private ContentPresenter NewContentPresenter
+ {
+ get { return _newContentPresenter; }
+ }
+
+ private UIElementCollection children;
+
+ private ContentPresenter _oldContentPresenter;
+ private ContentPresenter _newContentPresenter;
+
+ private Transition activeTransition;
+
+ private Grid hiddenGrid;
+
+ private static DataTemplate defaultNullContentTemplate;
+ }
+}
diff --git a/Transitionals/Controls/TransitionEventArgs.cs b/Transitionals/Controls/TransitionEventArgs.cs
new file mode 100644
index 0000000..b2e3436
--- /dev/null
+++ b/Transitionals/Controls/TransitionEventArgs.cs
@@ -0,0 +1,86 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+
+namespace Transitionals.Controls
+{
+ ///
+ /// Provides data for events involving a transition.
+ ///
+ public class TransitionEventArgs : RoutedEventArgs
+ {
+ ///
+ /// Initializes a new instance.
+ ///
+ ///
+ /// The routed event this data represents.
+ ///
+ ///
+ /// The source of the event.
+ ///
+ ///
+ /// The transition involved in the event.
+ ///
+ ///
+ /// The old content involved in the event.
+ ///
+ ///
+ /// The new content involved in the event.
+ ///
+ public TransitionEventArgs(RoutedEvent routedEvent, object source, Transition transition, object oldContent, object newContent) : base(routedEvent, source)
+ {
+ // Validate
+ if (transition == null) throw new ArgumentNullException("transition");
+
+ // Store
+ Transition = transition;
+ OldContent = oldContent;
+ NewContent = newContent;
+ }
+
+ ///
+ /// Gets the new content involved in the event.
+ ///
+ ///
+ /// The new content involved in the event.
+ ///
+ public object NewContent { get; private set; }
+
+ ///
+ /// Gets the old content involved in the event.
+ ///
+ ///
+ /// The old content involved in the event.
+ ///
+ public object OldContent { get; private set; }
+
+ ///
+ /// Gets the transition involved in the event.
+ ///
+ ///
+ /// The transition involved in the event.
+ ///
+ public Transition Transition { get; private set; }
+ }
+
+ ///
+ /// The signature for a handler of events involving transitions.
+ ///
+ ///
+ /// The sender of the event.
+ ///
+ ///
+ /// A containing the event data.
+ ///
+ public delegate void TransitionEventHandler(object sender, TransitionEventArgs e);
+}
diff --git a/Transitionals/Documentation/Getting Started.html b/Transitionals/Documentation/Getting Started.html
new file mode 100644
index 0000000..62fbd7f
--- /dev/null
+++ b/Transitionals/Documentation/Getting Started.html
@@ -0,0 +1,452 @@
+
+
+
+
+ Getting Started
+
+
+
+
+ 
+
+ Transitionals is a framework that allows more than one piece of graphical
+ content to share the same space in an applications user interface. It does
+ this by providing a set of controls and an extensible library of animations that
+ allow the user to switch between these pieces of content dynamically at run
+ time.
+
+
+ An application that wishes to use transitions can start by defining a
+ placeholder in the UI where shared content will be hosted. For the initial design
+ any placeholder will do. A static image or even an empty panel is enough to get you
+ started building the surrounding UI. When it's time to actually start hosting
+ content you'll need to decide how that content will be shown and how it will be
+ navigated. After these questions are answered, choose a transition-aware control
+ to put in place of your temporary content.
+
+ Currently
+ Transitionals ships with only two controls out of the box: TransitionElement and Slideshow.
+ Other controls, like a Tab control for example, could also be created. We
+ encourage the community to come up with other common navigation and presentation
+ scenarios that can leverage transitions.
+
+ For the remainder of this getting started document we'll focus on leveraging
+ TransitionElement.
+ TransitionElement has a Transition property that can be used
+ to specify a single transition that will occur whenever content changes. In the Transitions
+ namespace you'll find several transitions that can be instantiated and set to this
+ property. You can also specify the transition in xaml:
+
+
+
+ <transc:TransitionElement x:Name="TransitionBox">
+
+
+ <transc:TransitionElement.Transition>
+
+
+ <transt:RotateTransition Angle="45" />
+
+
+ </transc:TransitionElement.Transition>
+
+ </transc:TransitionElement>
+
+
+
+
+
+ Notice in this example that the Angle property
+ is explicitly set to 45. This
+ is entirely optional and overrides the default angle of 90.
+
+ Once the TransitionElement has been added to the UI and a transition has
+ been specified, you can begin supplying content to be displayed. This is
+ accomplished by simply setting the Content property on TransitionElement.
+ To do that, make sure you've named your TransitionElement so that you can
+ access it from your code-behind. In the example above you can see we've named
+ our TransitionElement TransitionBox.
+
+ Now let's assume for a moment that we created two different user controls at the
+ top of our class and stored them for later use:
+
+
+
+ UserControlA userControlA =
+ new
+ UserControlA();
+
+ UserControlB userControlB =
+ new UserControlB();
+
+
+
+ We could add two buttons to our UI and allow the user to switch between the two
+ controls like this:
+
+
+
+ private void
+ AButton_Click(object sender,
+ RoutedEventArgs e)
+
+ {
+
+ TransitionBox.Content = userControlA;
+
+ }
+
+
+
+ private void
+ BButton_Click(object sender,
+ RoutedEventArgs e)
+
+ {
+
+ TransitionBox.Content = userControlB;
+
+ }
+
+
+
+
+
+ If the user clicks the same button twice no transition will occur because the
+ content is not actually changing. On the other hand, if userControlA is
+ displayed and the user clicks 'BButton' content will change and a transition
+ will occur.
+
+
+ Another feature I'd like to cover as part of getting started is what I
+ call transition strategies. In addition to the
+Transition
+ property, each control that supports transitions also has a TransitionSelector property.
+ This property works similarly to the way
+
+ ItemTemplateSelector works on an
+
+ ItemsControl. In other words, each time a transition needs to occur you can
+ use your own custom code to supply the transition to run. You do this by
+ creating your own class that inherits from
+TransitionSelector. TransitionSelector has one method,
+ SelectTransition, that you must
+ override. Here is the SelectTransition signature:
+
+
+
+ public virtual
+ Transition SelectTransition(object oldContent,
+ object newContent)
+
+
+
+ As you can see, a transition selector is passed the old content and the new
+ content and is expected to return a Transition to perform. It's worth
+ noting that null (Nothing in VB) can be
+ returned and no transition will occur. Instead, new content will immediately
+ replace old content.
+
+ In building samples and applications with the Transitionals framework, one
+ strategy we bumped into quite a bit is the desire to select a random
+ transition each time one should occur. To meet this need we created
+ RandomTransitionSelector.
+ RandomTransitionSelector allows you to supply a list of transitions along
+ with their configuration and each time a transition occurs, one is required
+ randomly selected from the supplied list. RandomTransitionSelector can be
+ used like this:
+
+
+
+ <transc:TransitionElement x:Name="TransitionBox">
+
+
+ <transc:TransitionElement.TransitionSelector>
+
+
+ <trans:RandomTransitionSelector>
+
+
+ <transt:DoorTransition/>
+
+
+ <transt:DotsTransition/>
+
+
+ <transt:RotateTransition Angle="45" />
+
+
+ <transt:RollTransition/>
+
+
+ </trans:RandomTransitionSelector>
+
+
+ </transc:TransitionElement.TransitionSelector>
+
+ </TransitionElement>
+
+
+
+
+
+
+
+
+ But what if you want to use every transition available in an assembly, or
+ even multiple assemblies? Just add them using the TransitionAssemblies property
+ like this:
+
+
+
+
+
+ <trans:RandomTransitionSelector>
+
+
+ <trans:RandomTransitionSelector.TransitionAssemblies>
+
+
+ <refl:AssemblyName Name="Transitionals"
+ />
+
+
+ </trans:RandomTransitionSelector.TransitionAssemblies>
+
+ </trans:RandomTransitionSelector>
+
+
+
+
+
+ Note here that Name is an
+ assembly name,
+ so standard conventions apply.
+
+
+
+
+ Now suppose you want to load up all the transitions available in an assembly but
+ you need to specify some non-default values for one or two transitions. No
+ problem, just list the ones you want to customize along with their settings like
+ so:
+
+
+
+
+
+ <trans:RandomTransitionSelector>
+
+
+ <trans:RandomTransitionSelector.TransitionAssemblies>
+
+
+ <refl:AssemblyName Name="Transitionals"
+ />
+
+
+ </trans:RandomTransitionSelector.TransitionAssemblies>
+
+
+ <transt:RotateTransition Angle="45" />
+
+ </trans:RandomTransitionSelector>
+
+
+
+
+
+ Whenever RandomTransitionSelector loads a transition from an assembly it
+ checks to see if you've already added that particular transition. If you have, it
+ won't try to add it again. So if you want to add two or more copies of a
+ particular transition with different settings, you can add two or more entries
+ to the list:
+
+
+
+
+ <trans:RandomTransitionSelector>
+
+
+ <trans:RandomTransitionSelector.TransitionAssemblies>
+
+
+ <refl:AssemblyName Name="Transitionals"
+ />
+
+
+ </trans:RandomTransitionSelector.TransitionAssemblies>
+
+
+ <transt:RotateTransition Angle="45" />
+
+
+ <transt:RotateTransition Angle="25" />
+
+ </trans:RandomTransitionSelector>
+
+
+
+
+
+ Finally, since each transition can specify its own default duration, what if you want
+ all of them to have the same duration? You can use the TransitionDuration property like this:
+
+
+
+
+
+ <trans:RandomTransitionSelector TransitionDuration="0:0:5">
+
+
+ <trans:RandomTransitionSelector.TransitionAssemblies>
+
+
+ <refl:AssemblyName Name="Transitionals"
+ />
+
+
+ </trans:RandomTransitionSelector.TransitionAssemblies>
+
+ </trans:RandomTransitionSelector>
+
+
+
+
+
+ Using the Xaml above, RandomTransitionSelector will attempt to update the
+ Duration property to 5 seconds right before the transition is returned to TransitionElement.
+ Note that in the first release some transition don't allow their durations to be changed.
+ This is a known issue and if the duration can't be changed the default
+ value will be used instead.
+
+
+ That's iThat's it for this first release. If you'd like to check out all the included
+ transitions, run the TransitionTester sample. That sample will even let you load
+ up your own transition assemblies and test them out too. If you'd like to see a
+ working example of using RandomTransitionSelector, check out the
+ ImageViewer sample application. Please note that very large images currently
+ don't transition as expected becase of the time it takes to load the image.
+ We're looking into it.
+
+
+
+ In the examples in this document the following namespace aliases were used:nbsp;
+
+
+
+ xmlns:trans="clr-namespace:Transitionals;assembly=Transitionals"
+
+ xmlns:transc="clr-namespace:Transitionals.Controls;assembly=Transitionals"
+
+ xmlns:transt="clr-namespace:Transitionals.Transitions;assembly=Transitionals"
+
+ xmlns:refl="clr-namespace:System.Reflection;assembly=mscorlib"
+
+
+
+
diff --git a/Transitionals/Documentation/Images/TransitionalsSmall.jpg b/Transitionals/Documentation/Images/TransitionalsSmall.jpg
new file mode 100644
index 0000000..f5c6236
Binary files /dev/null and b/Transitionals/Documentation/Images/TransitionalsSmall.jpg differ
diff --git a/Transitionals/Help/TransitionalsHelp.shfb b/Transitionals/Help/TransitionalsHelp.shfb
new file mode 100644
index 0000000..bf73915
--- /dev/null
+++ b/Transitionals/Help/TransitionalsHelp.shfb
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+ The Transitionals namespace includes core components that are leveraged by transitional controls and applications that consume them. For example, this namespace includes the base classes Transition and Transition3D on which custom transitions can be defined.
+ The Controls namespace includes the base controls that ship with Transitionals. These include TransitionElement, SldieShow, etc.
+ The Transitions namespace includes all of the “out of the box” transitions that come with the Transitionals framework.
+
+
+
+
+ Transitionals is a framework that allows more than one piece of graphical content to share the same workspace in an applications user interface. It does this by providing a set of controls and an extensible library of animations that allow the user to switch between these pieces of content dynamically at run time.
+ Remarks, AutoDocumentCtors
+ InheritedMembers, InheritedFrameworkMembers, Protected, SealedProtected
+
+
+ .\Help\
+
+
+ True
+ True
+ HtmlHelp1x
+ True
+ False
+ 2.0.50727
+ True
+ False
+ False
+ False
+
+ Transitionals
+ Transitionals
+ en-US
+
+
+
+
+
+ Local
+ Msdn
+ Blank
+ Prototype
+ Guid
+ Standard
+ False
+ AboveNamespaces
+
+
+
\ No newline at end of file
diff --git a/Transitionals/Help/TransitionalsHelp.sitemap b/Transitionals/Help/TransitionalsHelp.sitemap
new file mode 100644
index 0000000..6ab9f04
--- /dev/null
+++ b/Transitionals/Help/TransitionalsHelp.sitemap
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Transitionals/InternalExtensions.cs b/Transitionals/InternalExtensions.cs
new file mode 100644
index 0000000..f4cb21e
--- /dev/null
+++ b/Transitionals/InternalExtensions.cs
@@ -0,0 +1,86 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Collections;
+
+namespace Transitionals
+{
+ internal static class InternalExtensions
+ {
+ ///
+ /// Determines if an item of the specified type exists within the collection.
+ ///
+ ///
+ /// The type to search for.
+ ///
+ ///
+ /// true if an item of the specified type is found; otherwise false.
+ ///
+ static public bool ContainsType(this IList list, Type type)
+ {
+ // If no items, skip
+ if (list == null) return false;
+
+ // Search each item
+ foreach (object compare in list)
+ {
+ if (compare.GetType() == type)
+ {
+ return true;
+ }
+ }
+
+ // Not found
+ return false;
+ }
+
+ ///
+ /// Indicates if the type can be created as a specified type.
+ ///
+ ///
+ /// The type to be created as.
+ ///
+ ///
+ /// The type to try and create.
+ ///
+ ///
+ /// true if the type can be created as .
+ ///
+ static public bool IsCreatableAs(this Type type)
+ {
+ // Validate parameters
+ if (type==null) throw new ArgumentNullException("type");
+
+ // Make sure type matches
+ if (!typeof(T).IsAssignableFrom(type)) return false;
+
+ // Make sure it's public
+ if (type.IsNotPublic) return false;
+
+ // Make sure it's not a generic type
+ if (type.IsGenericType) return false;
+
+ // Make sure it's not an interface
+ if (type.IsInterface) return false;
+
+ // Make sure it's not abstract
+ if (type.IsAbstract) return false;
+
+ // Valid
+ return true;
+ }
+
+ }
+}
diff --git a/Transitionals/Properties/AssemblyInfo.cs b/Transitionals/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..23abf5f
--- /dev/null
+++ b/Transitionals/Properties/AssemblyInfo.cs
@@ -0,0 +1,32 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+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("Transitionals")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyProduct("Transitionals")]
+[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("f5d2363a-c6fd-4d80-9ba6-f6b6e05eff90")]
\ No newline at end of file
diff --git a/Transitionals/Properties/GlobalAssemblyInfo.cs b/Transitionals/Properties/GlobalAssemblyInfo.cs
new file mode 100644
index 0000000..9e53ea8
--- /dev/null
+++ b/Transitionals/Properties/GlobalAssemblyInfo.cs
@@ -0,0 +1,20 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+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: AssemblyCompany("Microsoft")]
+[assembly: AssemblyCopyright("Copyright © 2008, Microsoft.com")]
\ No newline at end of file
diff --git a/Transitionals/Properties/VersionInfo.cs b/Transitionals/Properties/VersionInfo.cs
new file mode 100644
index 0000000..1daf83c
--- /dev/null
+++ b/Transitionals/Properties/VersionInfo.cs
@@ -0,0 +1,14 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+// This code was generated by a tool.
+[assembly: System.Reflection.AssemblyVersion("1.2.0.0")]
+[assembly: System.Reflection.AssemblyFileVersion("1.2.0.0")]
\ No newline at end of file
diff --git a/Transitionals/RandomTransitionSelector.cs b/Transitionals/RandomTransitionSelector.cs
new file mode 100644
index 0000000..7e50d15
--- /dev/null
+++ b/Transitionals/RandomTransitionSelector.cs
@@ -0,0 +1,356 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Collections.ObjectModel;
+using System.Reflection;
+using System.Diagnostics;
+
+namespace Transitionals
+{
+ ///
+ /// A transition selector that randomly selects from a list of available transitions.
+ ///
+ [System.Windows.Markup.ContentProperty("Transitions")]
+ public class RandomTransitionSelector : TransitionSelector
+ {
+ #region Static Version
+ #region Constants
+ /************************************************
+ * Dependency Properties
+ ***********************************************/
+ ///
+ /// Identifies the dependency property.
+ ///
+ static public readonly DependencyProperty TransitionDurationProperty = DependencyProperty.Register("TransitionDurationProperty", typeof(Duration), typeof(RandomTransitionSelector), new FrameworkPropertyMetadata(Duration.Automatic, OnTransitionDurationChanged));
+
+ ///
+ /// Identifies the dependency property.
+ ///
+ static public readonly DependencyProperty TransitionAssembliesProperty = DependencyProperty.Register("TransitionAssembliesProperty", typeof(ObservableCollection), typeof(RandomTransitionSelector), new FrameworkPropertyMetadata(new ObservableCollection(), FrameworkPropertyMetadataOptions.AffectsRender, OnTransitionAssembliesChanged));
+
+ ///
+ /// Identifies the dependency property.
+ ///
+ static public readonly DependencyProperty TransitionsProperty = DependencyProperty.Register("TransitionsProperty", typeof(ObservableCollection), typeof(RandomTransitionSelector), new FrameworkPropertyMetadata(new ObservableCollection(), FrameworkPropertyMetadataOptions.AffectsRender, OnTransitionsChanged));
+ #endregion // Constants
+
+ #region Overrides / Event Handlers
+ /************************************************
+ * Overrides / Event Handlers
+ ***********************************************/
+ private static void OnTransitionDurationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
+ {
+ ((RandomTransitionSelector)d).OnTransitionDurationChanged(e);
+ }
+
+ private static void OnTransitionAssembliesChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
+ {
+ RandomTransitionSelector selector = ((RandomTransitionSelector)d);
+ selector.ResetAssembliesResolved();
+ selector.OnTransitionAssembliesChanged(e);
+ }
+
+ private static void OnTransitionsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
+ {
+ ((RandomTransitionSelector)d).OnTransitionsChanged(e);
+ }
+ #endregion // Overrides / Event Triggers
+ #endregion // Static Version
+
+ #region Instance Version
+ #region Member Variables
+ /************************************************
+ * Member Variables
+ ***********************************************/
+ private bool assembliesResolved = false;
+ private List assemblyTransitions = new List();
+ private Random random = new Random();
+ #endregion // Member Variables
+
+ #region Internal Methods
+ /************************************************
+ * Internal Methods
+ ***********************************************/
+ ///
+ /// Sets the assemblies list to unresolved.
+ ///
+ private void ResetAssembliesResolved()
+ {
+ // Clone current list of transitions
+ List explicitTransitions = new List(Transitions);
+
+ // Remove transitions that were added from assemblies
+ if (assemblyTransitions.Count > 0)
+ {
+ explicitTransitions.RemoveAll(t => assemblyTransitions.Contains(t));
+ }
+
+ // Clear list of transitions added by assemblies
+ assemblyTransitions.Clear();
+
+ // Set the list of transitions to whatever's left over.
+ // This will be the list of all transitions that weren't loaded
+ // automatically from assemblies.
+ Transitions = new ObservableCollection(explicitTransitions);
+
+ // Mark assemblies as unresolved.
+ assembliesResolved = false;
+ }
+
+ ///
+ /// Resolves assembly names to transitions.
+ ///
+ private void ResolveAssemblies()
+ {
+ // Get list of existing transitions
+ List existingTransitions = Transitions.ToList();
+
+ // Placeholder for final list of transitions (explicit + loaded)
+ List finalTransitions = new List(existingTransitions);
+
+ // For each assembly name
+ foreach (AssemblyName asmName in TransitionAssemblies)
+ {
+ // Loading an assembly may fail and we don't want to skip
+ // loading additional assemblies.
+ try
+ {
+ // Load the assembly from the name
+ Assembly asm = Assembly.Load(asmName);
+
+ // Examine all types
+ foreach (Type transitionType in asm.GetTypes())
+ {
+ // Make sure type can be instantiated as a transition
+ if (!transitionType.IsCreatableAs()) continue;
+
+ // If there's already an existing transition of the same type don't add it again.
+ // This is so that non-default settings can be specified for certain transitions
+ // but other ones can take their default values.
+ if (existingTransitions.ContainsType(transitionType))
+ {
+ continue;
+ }
+
+ // Creating an instance of a transition may fail. We don't
+ // want to skip loading other transitions.
+ try
+ {
+ // Create
+ Transition transition = (Transition)Activator.CreateInstance(transitionType);
+
+ // Add to the final list
+ finalTransitions.Add(transition);
+
+ // Add to list that indicates it was loaded from an assembly
+ assemblyTransitions.Add(transition);
+ }
+ catch (Exception ex)
+ {
+ if (TraceSwitches.Transitions.TraceVerbose)
+ {
+ string msg = "Error loading transition '{0}'.\r\n\r\n{1}";
+ Debug.WriteLine(string.Format(msg, transitionType.Name, ex.Message));
+ }
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ if (TraceSwitches.Transitions.TraceVerbose)
+ {
+ string msg = "Error loading transition assembly '{0}'.\r\n\r\n{1}";
+ Debug.WriteLine(string.Format(msg, asmName.Name, ex.Message));
+ }
+ }
+ }
+
+ // Set final list as current list
+ Transitions = new ObservableCollection(finalTransitions);
+
+ // Assemblies are resolved
+ assembliesResolved = true;
+ }
+ #endregion // Internal Methods
+
+ #region Overrides / Event Handlers
+ /************************************************
+ * Overrides / Event Handlers
+ ***********************************************/
+ ///
+ /// Returns a random from the list of .
+ ///
+ ///
+ /// The old content that is currently displayed.
+ ///
+ ///
+ /// The new content that is to be displayed.
+ ///
+ ///
+ /// The transition used to display the content or if a
+ /// transition should not be used.
+ ///
+ public override Transition SelectTransition(object oldContent, object newContent)
+ {
+ // If assemblies haven't been resolved, resolve them
+ if (!assembliesResolved)
+ {
+ ResolveAssemblies();
+ }
+
+ // Get transition collection
+ ObservableCollection transitions = Transitions;
+
+ // Placeholder for the transition
+ Transition transition = null;
+
+ // Only proceed if there are some to select from
+ if ((transitions != null) && (transitions.Count > 0))
+ {
+ // Select
+ transition = transitions[random.Next(0, transitions.Count)];
+ }
+
+ // Get duration
+ Duration transitionDuration = TransitionDuration;
+
+ // Update duration?
+ if ((transition != null) && (transitionDuration != Duration.Automatic))
+ {
+ // TODO: Fix transitions that throw an exception here.
+
+ // This catch is because back in Acropolis when the transitions were first
+ // implemented, some transitions did not (and currently still do not) support
+ // variable durations. The current implementation is to throw an exception,
+ // which the block below will ignore.
+ try
+ {
+ transition.Duration = transitionDuration;
+ }
+ catch { }
+ }
+
+ // Return the transition (or lack thereof)
+ return transition;
+ }
+
+ ///
+ /// Occurs when the value of the property has changed.
+ ///
+ ///
+ /// A containing event information.
+ ///
+ protected virtual void OnTransitionDurationChanged(DependencyPropertyChangedEventArgs e)
+ {
+
+ }
+
+ ///
+ /// Occurs when the value of the property has changed.
+ ///
+ ///
+ /// A containing event information.
+ ///
+ protected virtual void OnTransitionAssembliesChanged(DependencyPropertyChangedEventArgs e)
+ {
+
+ }
+
+ ///
+ /// Occurs when the value of the property has changed.
+ ///
+ ///
+ /// A containing event information.
+ ///
+ protected virtual void OnTransitionsChanged(DependencyPropertyChangedEventArgs e)
+ {
+
+ }
+ #endregion // Overridables / Event Triggers
+
+ #region Public Properties
+ /************************************************
+ * Public Properties
+ ***********************************************/
+ ///
+ /// Gets or sets a that all transitions will last. This is a dependency property.
+ ///
+ ///
+ /// The that all transitions will last, or
+ /// to allow each transition to have it's own unique duration. The default value is
+ /// .
+ ///
+ ///
+ /// Each transition provides its own default duration even if one isn't specified in markup.
+ /// Setting this property to (the default) will honor these
+ /// defaults or any durations specified in markup. If a value other than
+ /// is supplied, the specified duration will
+ /// replace the duration for each in the
+ /// list as it is used.
+ ///
+ public Duration TransitionDuration
+ {
+ get
+ {
+ return (Duration)GetValue(TransitionDurationProperty);
+ }
+ set
+ {
+ SetValue(TransitionDurationProperty, value);
+ }
+ }
+
+ ///
+ /// Gets or sets a list of assembly names that define assemblies containing transitions.
+ /// This is a dependency property.
+ ///
+ ///
+ /// A list of assembly names that define assemblies containing transitions.
+ ///
+ public ObservableCollection TransitionAssemblies
+ {
+ get
+ {
+ return (ObservableCollection)GetValue(TransitionAssembliesProperty);
+ }
+ set
+ {
+ SetValue(TransitionAssembliesProperty, value);
+ }
+ }
+
+ ///
+ /// Gets or sets the list of transitions that will be used by the .
+ /// This is a dependency property.
+ ///
+ ///
+ /// The list of transitions that will be used by the .
+ ///
+ public ObservableCollection Transitions
+ {
+ get
+ {
+ return (ObservableCollection)GetValue(TransitionsProperty);
+ }
+ set
+ {
+ SetValue(TransitionsProperty, value);
+ }
+ }
+ #endregion // Public Properties
+ #endregion // Instance Version
+ }
+}
diff --git a/Transitionals/TraceSwitches.cs b/Transitionals/TraceSwitches.cs
new file mode 100644
index 0000000..a85cb81
--- /dev/null
+++ b/Transitionals/TraceSwitches.cs
@@ -0,0 +1,40 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Diagnostics;
+
+namespace Transitionals
+{
+ ///
+ /// Provides trace level switches for various components of the framework.
+ ///
+ static internal class TraceSwitches
+ {
+ private static TraceSwitch transitionsSw;
+
+ ///
+ /// Defines a trace switch for the transitions themselves.
+ ///
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ static public TraceSwitch Transitions
+ {
+ get
+ {
+ if (transitionsSw == null)
+ {
+ transitionsSw = new TraceSwitch("Transitions", "Transition operations trace switch");
+ }
+
+ return transitionsSw;
+ }
+ }
+ }
+}
diff --git a/Transitionals/Transition.cs b/Transitionals/Transition.cs
new file mode 100644
index 0000000..4720677
--- /dev/null
+++ b/Transitionals/Transition.cs
@@ -0,0 +1,158 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+using System.Windows.Media;
+using System.Windows.Controls;
+using Transitionals.Controls;
+
+namespace Transitionals
+{
+ #region NullContentSupport enum type
+
+ ///
+ /// Describes how null content is supported.
+ ///
+ public enum NullContentSupport
+ {
+ ///
+ /// Transitioning to or from null is not supported.
+ ///
+ None,
+
+ ///
+ /// Transitioning from null to non-null is supported.
+ ///
+ Old,
+
+ ///
+ /// Transitioning from non-null to null is supported.
+ ///
+ New,
+
+ ///
+ /// Transitioning to or from null are both supported.
+ ///
+ Both
+ }
+
+ #endregion
+
+ // Base class for all transitions.
+ [System.Runtime.InteropServices.ComVisible(false)]
+ [System.ComponentModel.TypeConverter(typeof(TransitionConverter))]
+ public abstract class Transition : DependencyObject
+ {
+ protected internal NullContentSupport NullContentSupport
+ {
+ get { return (NullContentSupport)GetValue(AcceptsNullContentProperty); }
+ set { SetValue(AcceptsNullContentProperty, value); }
+ }
+
+ public static readonly DependencyProperty AcceptsNullContentProperty =
+ DependencyProperty.Register("AcceptsNullContent",
+ typeof(NullContentSupport),
+ typeof(Transition),
+ new UIPropertyMetadata(NullContentSupport.Old));
+
+ protected internal bool ClipToBounds
+ {
+ get { return (bool)GetValue(ClipToBoundsProperty); }
+ set { SetValue(ClipToBoundsProperty, value); }
+ }
+
+ public static readonly DependencyProperty ClipToBoundsProperty =
+ DependencyProperty.Register("ClipToBounds",
+ typeof(bool),
+ typeof(Transition),
+ new UIPropertyMetadata(false));
+
+ public Duration Duration
+ {
+ get { return (Duration)GetValue(DurationProperty); }
+ set { SetValue(DurationProperty, value); }
+ }
+
+ private static void OnDurationChanged(object element, DependencyPropertyChangedEventArgs e)
+ {
+ Transition transition = element as Transition;
+ if (transition != null)
+ {
+ transition.OnDurationChanged((Duration)e.OldValue, (Duration)e.NewValue);
+ }
+ }
+
+ protected virtual void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ }
+
+ public static readonly DependencyProperty DurationProperty =
+ DependencyProperty.Register("Duration", typeof(Duration), typeof(Transition), new UIPropertyMetadata(Duration.Automatic, OnDurationChanged));
+
+ protected internal bool IsNewContentTopmost
+ {
+ get { return (bool)GetValue(IsNewContentTopmostProperty); }
+ set { SetValue(IsNewContentTopmostProperty, value); }
+ }
+
+ public static readonly DependencyProperty IsNewContentTopmostProperty =
+ DependencyProperty.Register("IsNewContentTopmost",
+ typeof(bool),
+ typeof(Transition),
+ new UIPropertyMetadata(true));
+
+ // Called when an element is Removed from the TransitionPresenter's visual tree
+ protected internal virtual void BeginTransition(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent)
+ {
+ EndTransition(transitionElement, oldContent, newContent);
+ }
+
+ //Transitions should call this method when they are done
+ protected void EndTransition(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent)
+ {
+ OnTransitionEnded(transitionElement, oldContent, newContent);
+
+ if (transitionElement != null)
+ {
+ transitionElement.OnTransitionCompleted(this, oldContent, newContent);
+ }
+ }
+
+ //Transitions can override this to perform cleanup at the end of the transition
+ protected virtual void OnTransitionEnded(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent)
+ {
+ }
+
+ // Returns a clone of the element
+ protected static Brush CreateBrush(FrameworkElement frameworkElement)
+ {
+ // The code below originally hid the element from the tree.
+ // We're no longer using Decorator as the parent and we're now
+ // leaving it up to the transition to determine if or when the
+ // original element should be hidden from the visual tree.
+
+ //if (frameworkElement != null)
+ //{
+ // Decorator decorator = frameworkElement.Parent as Decorator;
+ // if (decorator != null)
+ // {
+ // decorator.Visibility = Visibility.Hidden;
+ // }
+ //}
+
+ VisualBrush brush = new VisualBrush(frameworkElement);
+ brush.ViewportUnits = BrushMappingMode.Absolute;
+ RenderOptions.SetCachingHint(brush, CachingHint.Cache);
+ RenderOptions.SetCacheInvalidationThresholdMinimum(brush, 40);
+ return brush;
+ }
+ }
+}
diff --git a/Transitionals/Transition3D.cs b/Transitionals/Transition3D.cs
new file mode 100644
index 0000000..6d5345d
--- /dev/null
+++ b/Transitionals/Transition3D.cs
@@ -0,0 +1,121 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Media;
+using System.Windows.Media.Media3D;
+using Transitionals.Controls;
+
+namespace Transitionals
+{
+ // Base class for 3D transitions
+ [System.Runtime.InteropServices.ComVisible(false)]
+ public abstract class Transition3D : Transition
+ {
+ static Transition3D()
+ {
+ Model3DGroup defaultLight = new Model3DGroup();
+
+ Vector3D direction = new Vector3D(1,1,1);
+ direction.Normalize();
+ byte ambient = 108; // 108 is minimum for directional to be < 256 (for direction = [1,1,1])
+ byte directional = (byte)Math.Min((255-ambient) / Vector3D.DotProduct(direction, new Vector3D(0,0,1)), 255);
+
+ defaultLight.Children.Add(new AmbientLight(Color.FromRgb(ambient, ambient, ambient)));
+ defaultLight.Children.Add(new DirectionalLight(Color.FromRgb(directional, directional, directional), direction));
+ defaultLight.Freeze();
+ LightProperty = DependencyProperty.Register("Light", typeof(Model3D), typeof(Transition3D), new UIPropertyMetadata(defaultLight));
+ }
+
+ public double FieldOfView
+ {
+ get { return (double)GetValue(FieldOfViewProperty); }
+ set { SetValue(FieldOfViewProperty, value); }
+ }
+
+ public static readonly DependencyProperty FieldOfViewProperty =
+ DependencyProperty.Register("FieldOfView", typeof(double), typeof(Transition3D), new UIPropertyMetadata(20.0));
+
+
+ public Model3D Light
+ {
+ get { return (Model3D)GetValue(LightProperty); }
+ set { SetValue(LightProperty, value); }
+ }
+
+ public static readonly DependencyProperty LightProperty;
+
+ // Setup the Viewport 3D
+ protected internal sealed override void BeginTransition(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent)
+ {
+ Viewport3D viewport = new Viewport3D();
+ viewport.IsHitTestVisible = false;
+
+ viewport.Camera = CreateCamera(transitionElement, FieldOfView);
+ viewport.ClipToBounds = false;
+ ModelVisual3D light = new ModelVisual3D();
+ light.Content = Light;
+ viewport.Children.Add(light);
+
+ transitionElement.Children.Add(viewport);
+ BeginTransition3D(transitionElement, oldContent, newContent, viewport);
+ }
+
+ protected virtual Camera CreateCamera(UIElement uiElement, double fieldOfView)
+ {
+ Size size = uiElement.RenderSize;
+ return new PerspectiveCamera(new Point3D(size.Width / 2, size.Height / 2, -size.Width / Math.Tan(fieldOfView / 2 * Math.PI / 180) / 2),
+ new Vector3D(0, 0, 1),
+ new Vector3D(0, -1, 0),
+ fieldOfView);
+ }
+
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "3#viewport")]
+ protected virtual void BeginTransition3D(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent, Viewport3D viewport)
+ {
+ EndTransition(transitionElement, oldContent, newContent);
+ }
+
+ // Generates a flat mesh starting at origin with sides equal to vector1 and vector2 vectors
+ public static MeshGeometry3D CreateMesh(Point3D origin, Vector3D vector1, Vector3D vector2, int steps1, int steps2, Rect textureBounds)
+ {
+ vector1 = 1.0 / steps1 * vector1;
+ vector2 = 1.0 / steps2 * vector2;
+
+ MeshGeometry3D mesh = new MeshGeometry3D();
+
+ for (int i = 0; i <= steps1; i++)
+ {
+ for (int j = 0; j <= steps2; j++)
+ {
+ mesh.Positions.Add(origin + i * vector1 + j * vector2);
+
+ mesh.TextureCoordinates.Add(new Point(textureBounds.X + textureBounds.Width * i / steps1,
+ textureBounds.Y + textureBounds.Height * j / steps2));
+ if (i > 0 && j > 0)
+ {
+ mesh.TriangleIndices.Add((i - 1) * (steps2 + 1) + (j - 1));
+ mesh.TriangleIndices.Add((i - 0) * (steps2 + 1) + (j - 0));
+ mesh.TriangleIndices.Add((i - 0) * (steps2 + 1) + (j - 1));
+
+ mesh.TriangleIndices.Add((i - 1) * (steps2 + 1) + (j - 1));
+ mesh.TriangleIndices.Add((i - 1) * (steps2 + 1) + (j - 0));
+ mesh.TriangleIndices.Add((i - 0) * (steps2 + 1) + (j - 0));
+ }
+ }
+ }
+ return mesh;
+ }
+ }
+}
diff --git a/Transitionals/TransitionConverter.cs b/Transitionals/TransitionConverter.cs
new file mode 100644
index 0000000..d1ac6b2
--- /dev/null
+++ b/Transitionals/TransitionConverter.cs
@@ -0,0 +1,95 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.ComponentModel;
+using System.Globalization;
+using System.Collections;
+using System.ComponentModel.Design.Serialization;
+using Transitionals.Transitions;
+
+namespace Transitionals
+{
+ ///
+ /// TypeConverter to convert Transition to/from other types.
+ /// Currently only is supported.
+ ///
+ public class TransitionConverter : TypeConverter
+ {
+ ///
+ /// Cached value for GetStandardValues
+ ///
+ private static TypeConverter.StandardValuesCollection _standardValues;
+
+ ///
+ /// TypeConverter method override.
+ ///
+ /// ITypeDescriptorContext
+ /// Type to convert from
+ /// true if conversion is possible
+ public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
+ {
+ if (sourceType == null)
+ {
+ throw new ArgumentNullException("sourceType");
+ }
+ // We can only handle strings
+ return sourceType == typeof(string);
+ }
+
+ ///
+ /// TypeConverter method override.
+ ///
+ /// ITypeDescriptorContext
+ /// Type to convert to
+ /// true if conversion is possible
+ public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
+ {
+ if (destinationType == null)
+ {
+ throw new ArgumentNullException("destinationType");
+ }
+ // We can convert to an InstanceDescriptor or to a string.
+ return destinationType == typeof(InstanceDescriptor) ||
+ destinationType == typeof(string);
+ }
+
+ ///
+ /// TypeConverter method implementation.
+ ///
+ /// ITypeDescriptorContext
+ /// Current culture (see CLR specs)
+ /// value to convert from
+ /// value that is result of conversion
+ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
+ {
+ // Try to get the value as a string
+ string strValue = value as string;
+
+ // Only continue if valid string
+ if (!string.IsNullOrEmpty(strValue))
+ {
+ // Try to get the type
+ Type transType = Type.GetType(strValue);
+
+ // Only continue if we got a valid type
+ if ((transType != null) && (typeof(Transition).IsAssignableFrom(transType)))
+ {
+ // Create and return the transition instance
+ return Activator.CreateInstance(transType);
+ }
+ }
+
+ // Not found. Try default base conversion.
+ return base.ConvertFrom(context, culture, value);
+ }
+ }
+}
diff --git a/Transitionals/TransitionSelector.cs b/Transitionals/TransitionSelector.cs
new file mode 100644
index 0000000..7e5b608
--- /dev/null
+++ b/Transitionals/TransitionSelector.cs
@@ -0,0 +1,40 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+
+namespace Transitionals
+{
+ ///
+ /// Allows different transitions to run based on the old and new contents.
+ ///
+ [System.Runtime.InteropServices.ComVisible(false)]
+ public abstract class TransitionSelector : DependencyObject
+ {
+ ///
+ /// When overridden in a derived class, returns a based on custom logic.
+ ///
+ ///
+ /// The old content that is currently displayed.
+ ///
+ ///
+ /// The new content that is to be displayed.
+ ///
+ ///
+ /// The transition used to display the content or if a
+ /// transition should not be used.
+ ///
+ public virtual Transition SelectTransition(object oldContent, object newContent)
+ {
+ return null;
+ }
+ }
+}
diff --git a/Transitionals/Transitionals.csproj b/Transitionals/Transitionals.csproj
new file mode 100644
index 0000000..32d0f26
--- /dev/null
+++ b/Transitionals/Transitionals.csproj
@@ -0,0 +1,289 @@
+
+
+
+ Debug
+ AnyCPU
+ 9.0.21022
+ 2.0
+ {FC8A5D35-6B80-4DB1-8DA5-0271677967E3}
+ Library
+ Properties
+ Transitionals
+ Transitionals
+ v4.5
+ 512
+ 12.0
+
+
+
+ true
+ full
+ false
+ bin\Debug\
+ TRACE;DEBUG;CODE_ANALYSIS;
+ prompt
+ 4
+ bin\Debug\Transitionals.XML
+ true
+ false
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+ bin\Release\Transitionals.XML
+ false
+
+
+
+ 3.0
+
+
+ 3.0
+
+
+
+ 3.5
+
+
+ 3.5
+
+
+
+ 3.5
+
+
+ 3.5
+
+
+
+
+ 3.0
+
+
+
+
+ Slideshow.xaml
+
+
+
+
+
+
+
+
+
+
+
+
+ CheckerboardTransition.xaml
+
+
+ DiagonalWipeTransition.xaml
+
+
+ DiamondsTransition.xaml
+
+
+
+ DotsTransition.xaml
+
+
+ DoubleRotateWipeTransition.xaml
+
+
+
+ FadeAndBlurTransition.xaml
+
+
+ FadeAndGrowTransition.xaml
+
+
+
+
+ HorizontalBlindsTransition.xaml
+
+
+ HorizontalWipeTransition.xaml
+
+
+ MeltTransition.xaml
+
+
+
+ RollTransition.xaml
+
+
+
+ RotateWipeTransition.xaml
+
+
+ StarTransition.xaml
+
+
+
+
+
+
+
+
+
+ VerticalBlindsTransition.xaml
+
+
+ VerticalWipeTransition.xaml
+
+
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+ MSBuild:Compile
+ Designer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Transitionals/Transitionals.csproj.user b/Transitionals/Transitionals.csproj.user
new file mode 100644
index 0000000..a4a6cdf
--- /dev/null
+++ b/Transitionals/Transitionals.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ ProjectFiles
+
+
\ No newline at end of file
diff --git a/Transitionals/Transitions/CheckerboardTransition.xaml b/Transitionals/Transitions/CheckerboardTransition.xaml
new file mode 100644
index 0000000..207b33a
--- /dev/null
+++ b/Transitionals/Transitions/CheckerboardTransition.xaml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/CheckerboardTransition.xaml.cs b/Transitionals/Transitions/CheckerboardTransition.xaml.cs
new file mode 100644
index 0000000..499b2c4
--- /dev/null
+++ b/Transitionals/Transitions/CheckerboardTransition.xaml.cs
@@ -0,0 +1,50 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the CheckerboardTransition
+ ///
+ [ComVisible(false)]
+ public partial class CheckerboardTransitionFrameworkElement : FrameworkElement
+ {
+ public CheckerboardTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the CheckerboardTransition
+ ///
+ [ComVisible(false)]
+ public class CheckerboardTransition : StoryboardTransition
+ {
+ static private CheckerboardTransitionFrameworkElement frameworkElement = new CheckerboardTransitionFrameworkElement();
+
+ public CheckerboardTransition()
+ {
+ this.NewContentStyle = (Style)frameworkElement.FindResource("CheckerboardTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("CheckerboardTransitionNewContentStoryboard");
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.NotSupportedException.#ctor(System.String)")]
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ throw new System.NotSupportedException("CTP1 does not support changing the duration of this transition");
+ }
+ }
+}
diff --git a/Transitionals/Transitions/DiagonalWipeTransition.xaml b/Transitionals/Transitions/DiagonalWipeTransition.xaml
new file mode 100644
index 0000000..7586dfe
--- /dev/null
+++ b/Transitionals/Transitions/DiagonalWipeTransition.xaml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/DiagonalWipeTransition.xaml.cs b/Transitionals/Transitions/DiagonalWipeTransition.xaml.cs
new file mode 100644
index 0000000..9c86ca5
--- /dev/null
+++ b/Transitionals/Transitions/DiagonalWipeTransition.xaml.cs
@@ -0,0 +1,50 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Runtime.InteropServices;
+using System.Windows;
+using System.Windows.Media.Animation;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the DiagonalWipeTransition
+ ///
+ [ComVisible(false)]
+ public partial class DiagonalWipeTransitionFrameworkElement : FrameworkElement
+ {
+ public DiagonalWipeTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the DiagonalWipeTransition
+ ///
+ [ComVisible(false)]
+ public class DiagonalWipeTransition : StoryboardTransition
+ {
+ static private DiagonalWipeTransitionFrameworkElement frameworkElement = new DiagonalWipeTransitionFrameworkElement();
+
+ public DiagonalWipeTransition()
+ {
+ this.NewContentStyle = (Style)frameworkElement.FindResource("DiagonalWipeTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("DiagonalWipeTransitionNewContentStoryboard");
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.NotSupportedException.#ctor(System.String)")]
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ throw new System.NotSupportedException("CTP1 does not support changing the duration of this transition");
+ }
+ }
+}
diff --git a/Transitionals/Transitions/DiamondsTransition.xaml b/Transitionals/Transitions/DiamondsTransition.xaml
new file mode 100644
index 0000000..7f34565
--- /dev/null
+++ b/Transitionals/Transitions/DiamondsTransition.xaml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/DiamondsTransition.xaml.cs b/Transitionals/Transitions/DiamondsTransition.xaml.cs
new file mode 100644
index 0000000..42c4307
--- /dev/null
+++ b/Transitionals/Transitions/DiamondsTransition.xaml.cs
@@ -0,0 +1,54 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the DiamondsTransition
+ ///
+ [ComVisible(false)]
+ public partial class DiamondsTransitionFrameworkElement : FrameworkElement
+ {
+ public DiamondsTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the DiamondsTransition
+ ///
+ [ComVisible(false)]
+ public class DiamondsTransition : StoryboardTransition
+ {
+ static private DiamondsTransitionFrameworkElement frameworkElement = new DiamondsTransitionFrameworkElement();
+
+ public DiamondsTransition()
+ {
+ this.NewContentStyle = (Style)frameworkElement.FindResource("DiamondsTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("DiamondsTransitionNewContentStoryboard");
+ this.Duration = new Duration(TimeSpan.FromSeconds(0.5));
+ }
+
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ if (this.NewContentStoryboard != null && this.NewContentStoryboard.Children.Count > 0)
+ {
+ this.NewContentStoryboard.Children[0].Duration = newDuration;
+ }
+ }
+ }
+}
diff --git a/Transitionals/Transitions/DoorTransition.cs b/Transitionals/Transitions/DoorTransition.cs
new file mode 100644
index 0000000..3712605
--- /dev/null
+++ b/Transitionals/Transitions/DoorTransition.cs
@@ -0,0 +1,95 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Media3D;
+using Transitionals.Controls;
+
+namespace Transitionals.Transitions
+{
+ [System.Runtime.InteropServices.ComVisible(false)]
+ public class DoorTransition : Transition3D
+ {
+ static DoorTransition()
+ {
+ AcceptsNullContentProperty.OverrideMetadata(typeof(DoorTransition), new FrameworkPropertyMetadata(NullContentSupport.New));
+ }
+
+ public DoorTransition()
+ {
+ this.Duration = new Duration(TimeSpan.FromSeconds(0.5));
+ this.FieldOfView = 40;
+ }
+
+ protected override void BeginTransition3D(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent, Viewport3D viewport)
+ {
+ Brush clone = CreateBrush(oldContent);
+
+ Size size = transitionElement.RenderSize;
+ MeshGeometry3D leftDoor = CreateMesh(new Point3D(),
+ new Vector3D(size.Width / 2, 0, 0),
+ new Vector3D(0, size.Height, 0),
+ 1,
+ 1,
+ new Rect(0, 0, 0.5, 1));
+
+ GeometryModel3D leftDoorGeometry = new GeometryModel3D();
+ leftDoorGeometry.Geometry = leftDoor;
+ leftDoorGeometry.Material = new DiffuseMaterial(clone);
+
+ AxisAngleRotation3D leftRotation = new AxisAngleRotation3D(new Vector3D(0, 1, 0), 0);
+ leftDoorGeometry.Transform = new RotateTransform3D(leftRotation);
+
+ GeometryModel3D rightDoorGeometry = new GeometryModel3D();
+ MeshGeometry3D rightDoor = CreateMesh(new Point3D(size.Width / 2, 0, 0),
+ new Vector3D(size.Width / 2, 0, 0),
+ new Vector3D(0, size.Height, 0),
+ 1,
+ 1,
+ new Rect(0.5, 0, 0.5, 1));
+
+ rightDoorGeometry.Geometry = rightDoor;
+ rightDoorGeometry.Material = new DiffuseMaterial(clone);
+
+ AxisAngleRotation3D rightRotation = new AxisAngleRotation3D(new Vector3D(0, 1, 0), 0);
+ rightDoorGeometry.Transform = new RotateTransform3D(rightRotation, size.Width, 0, 0);
+
+
+ Model3DGroup doors = new Model3DGroup();
+ doors.Children.Add(leftDoorGeometry);
+ doors.Children.Add(rightDoorGeometry);
+
+ ModelVisual3D model = new ModelVisual3D();
+ model.Content = doors;
+
+ // Replace old content in visual tree with new 3d model
+ transitionElement.HideContent(oldContent);
+ viewport.Children.Add(model);
+
+ DoubleAnimation da = new DoubleAnimation(90 - 0.5 * FieldOfView, Duration);
+ leftRotation.BeginAnimation(AxisAngleRotation3D.AngleProperty, da);
+
+ da = new DoubleAnimation(-(90 - 0.5 * FieldOfView), Duration);
+ rightRotation.BeginAnimation(AxisAngleRotation3D.AngleProperty, da);
+
+ da = new DoubleAnimation(0, Duration);
+ da.Completed += delegate
+ {
+ EndTransition(transitionElement, oldContent, newContent);
+ };
+ clone.BeginAnimation(Brush.OpacityProperty, da);
+ }
+ }
+}
diff --git a/Transitionals/Transitions/DotsTransition.xaml b/Transitionals/Transitions/DotsTransition.xaml
new file mode 100644
index 0000000..b9be7ce
--- /dev/null
+++ b/Transitionals/Transitions/DotsTransition.xaml
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/DotsTransition.xaml.cs b/Transitionals/Transitions/DotsTransition.xaml.cs
new file mode 100644
index 0000000..b0baa3e
--- /dev/null
+++ b/Transitionals/Transitions/DotsTransition.xaml.cs
@@ -0,0 +1,54 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the DotsTransition
+ ///
+ [ComVisible(false)]
+ public partial class DotsTransitionFrameworkElement : FrameworkElement
+ {
+ public DotsTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the DotsTransition
+ ///
+ [ComVisible(false)]
+ public class DotsTransition : StoryboardTransition
+ {
+ static private DotsTransitionFrameworkElement frameworkElement = new DotsTransitionFrameworkElement();
+
+ public DotsTransition()
+ {
+ this.NewContentStyle = (Style)frameworkElement.FindResource("DotsTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("DotsTransitionNewContentStoryboard");
+ this.Duration = new Duration(TimeSpan.FromSeconds(0.5));
+ }
+
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ if (this.NewContentStoryboard != null && this.NewContentStoryboard.Children.Count > 0)
+ {
+ this.NewContentStoryboard.Children[0].Duration = newDuration;
+ }
+ }
+ }
+}
diff --git a/Transitionals/Transitions/DoubleRotateWipeTransition.xaml b/Transitionals/Transitions/DoubleRotateWipeTransition.xaml
new file mode 100644
index 0000000..0c7a4ed
--- /dev/null
+++ b/Transitionals/Transitions/DoubleRotateWipeTransition.xaml
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/DoubleRotateWipeTransition.xaml.cs b/Transitionals/Transitions/DoubleRotateWipeTransition.xaml.cs
new file mode 100644
index 0000000..2689429
--- /dev/null
+++ b/Transitionals/Transitions/DoubleRotateWipeTransition.xaml.cs
@@ -0,0 +1,50 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the DoubleRotateWipeTransition
+ ///
+ [ComVisible(false)]
+ public partial class DoubleRotateWipeTransitionFrameworkElement : FrameworkElement
+ {
+ public DoubleRotateWipeTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the DoubleRotateWipeTransition
+ ///
+ [ComVisible(false)]
+ public class DoubleRotateWipeTransition : StoryboardTransition
+ {
+ static private DoubleRotateWipeTransitionFrameworkElement frameworkElement = new DoubleRotateWipeTransitionFrameworkElement();
+
+ public DoubleRotateWipeTransition()
+ {
+ this.NewContentStyle = (Style)frameworkElement.FindResource("DoubleRotateWipeTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("DoubleRotateWipeTransitionNewContentStoryboard");
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.NotSupportedException.#ctor(System.String)")]
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ throw new System.NotSupportedException("CTP1 does not support changing the duration of this transition");
+ }
+ }
+}
diff --git a/Transitionals/Transitions/ExplosionTransition.cs b/Transitionals/Transitions/ExplosionTransition.cs
new file mode 100644
index 0000000..95b436c
--- /dev/null
+++ b/Transitionals/Transitions/ExplosionTransition.cs
@@ -0,0 +1,187 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Media;
+using System.Windows.Media.Media3D;
+using System.Windows.Input;
+using System.Windows.Threading;
+using Transitionals.Controls;
+using System.ComponentModel;
+
+namespace Transitionals.Transitions
+{
+ [System.Runtime.InteropServices.ComVisible(false)]
+ public class ExplosionTransition : Transition3D
+ {
+ static ExplosionTransition()
+ {
+ AcceptsNullContentProperty.OverrideMetadata(typeof(ExplosionTransition), new FrameworkPropertyMetadata(NullContentSupport.New));
+ ClipToBoundsProperty.OverrideMetadata(typeof(ExplosionTransition), new FrameworkPropertyMetadata(true));
+ }
+
+ public ExplosionTransition()
+ {
+ this.Duration = new Duration(TimeSpan.FromSeconds(1));
+ }
+
+ [DefaultValue(false)]
+ public bool MouseAsCenter
+ {
+ get { return (bool)GetValue(MouseAsCenterProperty); }
+ set { SetValue(MouseAsCenterProperty, value); }
+ }
+
+ public static readonly DependencyProperty MouseAsCenterProperty =
+ DependencyProperty.Register("UseMouseLocation", typeof(bool), typeof(ExplosionTransition), new UIPropertyMetadata(false));
+
+ protected override void BeginTransition3D(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent, Viewport3D viewport)
+ {
+ Size size = transitionElement.RenderSize;
+
+ Point3D centerPoint;
+ if (MouseAsCenter)
+ {
+ Point mouse2D = Mouse.GetPosition(transitionElement);
+ centerPoint = new Point3D(mouse2D.X, mouse2D.Y, 0.5 * size.Width);
+ }
+ else
+ {
+ centerPoint = new Point3D(0.5 * size.Width, 0.5 * size.Height, 0.5 * size.Width);
+ }
+
+ int xparticles = 10, yparticles = 10;
+
+ if (size.Width > size.Height)
+ {
+ yparticles = (int)(xparticles * size.Height / size.Width);
+ }
+ else
+ {
+ xparticles = (int)(yparticles * size.Width / size.Height);
+ }
+
+ double sx = 1.0 / xparticles, sy = 1.0 / yparticles;
+ Vector3D u = new Vector3D(size.Width * sx, 0, 0);
+ Vector3D v = new Vector3D(0, size.Height * sy, 0);
+ Brush cloneBrush = CreateBrush(oldContent);
+ Material clone = new DiffuseMaterial(cloneBrush);
+
+ Vector3D[] velocities = new Vector3D[xparticles * yparticles];
+ Vector3D[] angularVelocities = new Vector3D[xparticles * yparticles];
+ Point3D[] centers = new Point3D[xparticles * yparticles];
+
+ Point3DCollection positions = new Point3DCollection(4 * xparticles * yparticles);
+ PointCollection textures = new PointCollection(4 * xparticles * yparticles);
+ Int32Collection triangles = new Int32Collection(6 * xparticles * yparticles);
+ int n = 0;
+ for (int i = 0; i < xparticles; i++)
+ {
+ for (int j = 0; j < yparticles; j++)
+ {
+ Point3D topleft = (Point3D)(i * u + j * v);
+ positions.Add(topleft);
+ positions.Add(topleft + u);
+ positions.Add(topleft + u + v);
+ positions.Add(topleft + v);
+
+ textures.Add(new Point(i * sx, j * sy));
+ textures.Add(new Point((i + 1) * sx, j * sy));
+ textures.Add(new Point((i + 1) * sx, (j + 1) * sy));
+ textures.Add(new Point(i * sx, (j + 1) * sy));
+
+
+ triangles.Add(n);
+ triangles.Add(n + 2);
+ triangles.Add(n + 1);
+
+ triangles.Add(n);
+ triangles.Add(n + 3);
+ triangles.Add(n + 2);
+
+ Vector3D f0 = positions[n] - centerPoint;
+ Vector3D f1 = positions[n + 1] - centerPoint;
+ Vector3D f2 = positions[n + 2] - centerPoint;
+ Vector3D f3 = positions[n + 3] - centerPoint;
+
+ f0 = f0 / f0.LengthSquared;
+ f1 = f1 / f1.LengthSquared;
+ f2 = f2 / f2.LengthSquared;
+ f3 = f3 / f3.LengthSquared;
+
+ velocities[n / 4] = 2 * size.Width * (f0 + f1 + f2 + f3);
+
+ Point3D center = centers[n / 4] = (Point3D)((i + 0.5) * u + (j + 0.5) * v);
+ angularVelocities[n / 4] = 200 * (Vector3D.CrossProduct(f0, positions[n] - center) +
+ Vector3D.CrossProduct(f1, positions[n + 1] - center) +
+ Vector3D.CrossProduct(f2, positions[n + 2] - center) +
+ Vector3D.CrossProduct(f3, positions[n + 3] - center));
+
+ n += 4;
+ }
+ }
+
+ MeshGeometry3D mesh = new MeshGeometry3D();
+ mesh.Positions = positions;
+ mesh.TextureCoordinates = textures;
+ mesh.TriangleIndices = triangles;
+
+ GeometryModel3D geometryModel = new GeometryModel3D(mesh, clone);
+ geometryModel.BackMaterial = clone;
+ ModelVisual3D model = new ModelVisual3D();
+ model.Content = geometryModel;
+
+ // Replace old content in visual tree with new 3d model
+ transitionElement.HideContent(oldContent);
+ viewport.Children.Add(model);
+
+ DispatcherTimer timer = new DispatcherTimer();
+ int t = 0;
+ double opacityDelta = 1.0 / (Duration.TimeSpan.Seconds * 60.0);
+ timer.Interval = TimeSpan.FromSeconds(1.0 / 60.0);
+ timer.Tick += delegate
+ {
+ t++;
+ cloneBrush.Opacity = 1 - t * opacityDelta;
+ if (cloneBrush.Opacity < opacityDelta)
+ {
+ timer.Stop();
+ EndTransition(transitionElement, oldContent, newContent);
+ return;
+ }
+ mesh.Positions = null;
+ AxisAngleRotation3D axisAngle = new AxisAngleRotation3D();
+ RotateTransform3D rotation = new RotateTransform3D(axisAngle, new Point3D());
+ for (int i = 0; i < positions.Count; i += 4)
+ {
+ Vector3D velocity = velocities[i / 4];
+
+ axisAngle.Axis = angularVelocities[i / 4];
+ axisAngle.Angle = angularVelocities[i / 4].Length;
+ rotation.CenterX = centers[i / 4].X;
+ rotation.CenterY = centers[i / 4].Y;
+ rotation.CenterZ = centers[i / 4].Z;
+
+ positions[i] = rotation.Transform(positions[i]) + velocity;
+ positions[i + 1] = rotation.Transform(positions[i + 1]) + velocity;
+ positions[i + 2] = rotation.Transform(positions[i + 2]) + velocity;
+ positions[i + 3] = rotation.Transform(positions[i + 3]) + velocity;
+
+ centers[i / 4] += velocity;
+ }
+ mesh.Positions = positions;
+ };
+ timer.Start();
+ }
+ }
+}
diff --git a/Transitionals/Transitions/FadeAndBlurTransition.xaml b/Transitionals/Transitions/FadeAndBlurTransition.xaml
new file mode 100644
index 0000000..591d0cf
--- /dev/null
+++ b/Transitionals/Transitions/FadeAndBlurTransition.xaml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/FadeAndBlurTransition.xaml.cs b/Transitionals/Transitions/FadeAndBlurTransition.xaml.cs
new file mode 100644
index 0000000..5f8d03d
--- /dev/null
+++ b/Transitionals/Transitions/FadeAndBlurTransition.xaml.cs
@@ -0,0 +1,58 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the FadeAndBlurTransition
+ ///
+ [ComVisible(false)]
+ public partial class FadeAndBlurTransitionFrameworkElement : FrameworkElement
+ {
+ public FadeAndBlurTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the FadeAndBlurTransition
+ ///
+ [ComVisible(false)]
+ public class FadeAndBlurTransition : StoryboardTransition
+ {
+ static private FadeAndBlurTransitionFrameworkElement frameworkElement = new FadeAndBlurTransitionFrameworkElement();
+
+ static FadeAndBlurTransition()
+ {
+ AcceptsNullContentProperty.OverrideMetadata(typeof(FadeAndBlurTransition), new FrameworkPropertyMetadata(NullContentSupport.New));
+ IsNewContentTopmostProperty.OverrideMetadata(typeof(FadeAndBlurTransition), new FrameworkPropertyMetadata(false));
+ }
+
+ public FadeAndBlurTransition()
+ {
+ this.OldContentStyle = (Style)frameworkElement.FindResource("FadeAndBlurTransitionOldContentStyle");
+ this.OldContentStoryboard = (Storyboard)frameworkElement.FindResource("FadeAndBlurTransitionOldContentStoryboard");
+ this.NewContentStyle = (Style)frameworkElement.FindResource("FadeAndBlurTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("FadeAndBlurTransitionNewContentStoryboard");
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.NotSupportedException.#ctor(System.String)")]
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ throw new System.NotSupportedException("CTP1 does not support changing the duration of this transition");
+ }
+ }
+}
diff --git a/Transitionals/Transitions/FadeAndGrowTransition.xaml b/Transitionals/Transitions/FadeAndGrowTransition.xaml
new file mode 100644
index 0000000..cf60b9e
--- /dev/null
+++ b/Transitionals/Transitions/FadeAndGrowTransition.xaml
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/FadeAndGrowTransition.xaml.cs b/Transitionals/Transitions/FadeAndGrowTransition.xaml.cs
new file mode 100644
index 0000000..08ba205
--- /dev/null
+++ b/Transitionals/Transitions/FadeAndGrowTransition.xaml.cs
@@ -0,0 +1,58 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the FadeAndGrowTransition
+ ///
+ [ComVisible(false)]
+ public partial class FadeAndGrowTransitionFrameworkElement : FrameworkElement
+ {
+ public FadeAndGrowTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the FadeAndGrowTransition
+ ///
+ [ComVisible(false)]
+ public class FadeAndGrowTransition : StoryboardTransition
+ {
+ static private FadeAndGrowTransitionFrameworkElement frameworkElement = new FadeAndGrowTransitionFrameworkElement();
+
+ static FadeAndGrowTransition()
+ {
+ AcceptsNullContentProperty.OverrideMetadata(typeof(FadeAndGrowTransition), new FrameworkPropertyMetadata(NullContentSupport.Both));
+ IsNewContentTopmostProperty.OverrideMetadata(typeof(FadeAndGrowTransition), new FrameworkPropertyMetadata(false));
+ }
+
+ public FadeAndGrowTransition()
+ {
+ this.OldContentStyle = (Style)frameworkElement.FindResource("FadeAndGrowTransitionOldContentStyle");
+ this.OldContentStoryboard = (Storyboard)frameworkElement.FindResource("FadeAndGrowTransitionOldContentStoryboard");
+ this.NewContentStyle = (Style)frameworkElement.FindResource("FadeAndGrowTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("FadeAndGrowTransitionNewContentStoryboard");
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.NotSupportedException.#ctor(System.String)")]
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ throw new System.NotSupportedException("CTP1 does not support changing the duration of this transition");
+ }
+ }
+}
diff --git a/Transitionals/Transitions/FadeTransition.cs b/Transitionals/Transitions/FadeTransition.cs
new file mode 100644
index 0000000..3039cb5
--- /dev/null
+++ b/Transitionals/Transitions/FadeTransition.cs
@@ -0,0 +1,50 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Media.Animation;
+using Transitionals.Controls;
+
+namespace Transitionals.Transitions
+{
+ // Simple transition that fades out the old content
+ [System.Runtime.InteropServices.ComVisible(false)]
+ public class FadeTransition : Transition
+ {
+ static FadeTransition()
+ {
+ AcceptsNullContentProperty.OverrideMetadata(typeof(FadeTransition), new FrameworkPropertyMetadata(NullContentSupport.New));
+ IsNewContentTopmostProperty.OverrideMetadata(typeof(FadeTransition), new FrameworkPropertyMetadata(false));
+ }
+
+ public FadeTransition()
+ {
+ this.Duration = new Duration(TimeSpan.FromSeconds(0.5));
+ }
+
+ protected internal override void BeginTransition(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent)
+ {
+ DoubleAnimation da = new DoubleAnimation(0, Duration);
+ da.Completed += delegate
+ {
+ EndTransition(transitionElement, oldContent, newContent);
+ };
+ oldContent.BeginAnimation(UIElement.OpacityProperty, da);
+ }
+
+ protected override void OnTransitionEnded(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent)
+ {
+ oldContent.BeginAnimation(UIElement.OpacityProperty, null);
+ }
+ }
+}
diff --git a/Transitionals/Transitions/FlipTransition.cs b/Transitionals/Transitions/FlipTransition.cs
new file mode 100644
index 0000000..9ea5a72
--- /dev/null
+++ b/Transitionals/Transitions/FlipTransition.cs
@@ -0,0 +1,102 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Media3D;
+using Transitionals.Controls;
+
+namespace Transitionals.Transitions
+{
+ [System.Runtime.InteropServices.ComVisible(false)]
+ public class FlipTransition : Transition3D
+ {
+ static FlipTransition()
+ {
+ AcceptsNullContentProperty.OverrideMetadata(typeof(FlipTransition), new FrameworkPropertyMetadata(NullContentSupport.None));
+ }
+
+ public FlipTransition()
+ {
+ this.Duration = new Duration(TimeSpan.FromSeconds(0.5));
+ }
+
+ public RotateDirection Direction
+ {
+ get { return (RotateDirection)GetValue(DirectionProperty); }
+ set { SetValue(DirectionProperty, value); }
+ }
+
+ public static readonly DependencyProperty DirectionProperty =
+ DependencyProperty.Register("Direction", typeof(RotateDirection), typeof(FlipTransition), new UIPropertyMetadata(RotateDirection.Left));
+
+
+ protected override void BeginTransition3D(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent, Viewport3D viewport)
+ {
+ Size size = transitionElement.RenderSize;
+
+ // Create a rectangle
+ MeshGeometry3D mesh = CreateMesh(new Point3D(),
+ new Vector3D(size.Width, 0, 0),
+ new Vector3D(0, size.Height, 0),
+ 1,
+ 1,
+ new Rect(0, 0, 1, 1));
+
+ GeometryModel3D geometry = new GeometryModel3D();
+ geometry.Geometry = mesh;
+ VisualBrush clone = new VisualBrush(oldContent);
+ geometry.Material = new DiffuseMaterial(clone);
+
+ ModelVisual3D model = new ModelVisual3D();
+ model.Content = geometry;
+
+ // Replace old content in visual tree with new 3d model
+ transitionElement.HideContent(oldContent);
+ viewport.Children.Add(model);
+
+ Vector3D axis;
+ Point3D center = new Point3D();
+ switch (Direction)
+ {
+ case RotateDirection.Left:
+ axis = new Vector3D(0, 1, 0);
+ break;
+ case RotateDirection.Right:
+ axis = new Vector3D(0, -1, 0);
+ center = new Point3D(size.Width, 0, 0);
+ break;
+ case RotateDirection.Up:
+ axis = new Vector3D(-1, 0, 0);
+ break;
+ default:
+ axis = new Vector3D(1, 0, 0);
+ center = new Point3D(0, size.Height, 0);
+ break;
+ }
+ AxisAngleRotation3D rotation = new AxisAngleRotation3D(axis, 0);
+ model.Transform = new RotateTransform3D(rotation, center);
+
+ DoubleAnimation da = new DoubleAnimation(0, Duration);
+ clone.BeginAnimation(Brush.OpacityProperty, da);
+
+ da = new DoubleAnimation(90, Duration);
+ da.Completed += delegate
+ {
+ EndTransition(transitionElement, oldContent, newContent);
+ };
+ rotation.BeginAnimation(AxisAngleRotation3D.AngleProperty, da);
+ }
+ }
+}
diff --git a/Transitionals/Transitions/HorizontalBlindsTransition.xaml b/Transitionals/Transitions/HorizontalBlindsTransition.xaml
new file mode 100644
index 0000000..b48e65a
--- /dev/null
+++ b/Transitionals/Transitions/HorizontalBlindsTransition.xaml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/HorizontalBlindsTransition.xaml.cs b/Transitionals/Transitions/HorizontalBlindsTransition.xaml.cs
new file mode 100644
index 0000000..d7d93f3
--- /dev/null
+++ b/Transitionals/Transitions/HorizontalBlindsTransition.xaml.cs
@@ -0,0 +1,50 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the HorizontalBlindsTransition
+ ///
+ [ComVisible(false)]
+ public partial class HorizontalBlindsTransitionFrameworkElement : FrameworkElement
+ {
+ public HorizontalBlindsTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the HorizontalBlindsTransition
+ ///
+ [ComVisible(false)]
+ public class HorizontalBlindsTransition : StoryboardTransition
+ {
+ static private HorizontalBlindsTransitionFrameworkElement frameworkElement = new HorizontalBlindsTransitionFrameworkElement();
+
+ public HorizontalBlindsTransition()
+ {
+ this.NewContentStyle = (Style)frameworkElement.FindResource("HorizontalBlindsTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("HorizontalBlindsTransitionNewContentStoryboard");
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.NotSupportedException.#ctor(System.String)")]
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ throw new System.NotSupportedException("CTP1 does not support changing the duration of this transition");
+ }
+ }
+}
diff --git a/Transitionals/Transitions/HorizontalWipeTransition.xaml b/Transitionals/Transitions/HorizontalWipeTransition.xaml
new file mode 100644
index 0000000..02f7006
--- /dev/null
+++ b/Transitionals/Transitions/HorizontalWipeTransition.xaml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/HorizontalWipeTransition.xaml.cs b/Transitionals/Transitions/HorizontalWipeTransition.xaml.cs
new file mode 100644
index 0000000..f4c7f6f
--- /dev/null
+++ b/Transitionals/Transitions/HorizontalWipeTransition.xaml.cs
@@ -0,0 +1,50 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the HorizontalWipeTransition
+ ///
+ [ComVisible(false)]
+ public partial class HorizontalWipeTransitionFrameworkElement : FrameworkElement
+ {
+ public HorizontalWipeTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the HorizontalWipeTransition
+ ///
+ [ComVisible(false)]
+ public class HorizontalWipeTransition : StoryboardTransition
+ {
+ static private HorizontalWipeTransitionFrameworkElement frameworkElement = new HorizontalWipeTransitionFrameworkElement();
+
+ public HorizontalWipeTransition()
+ {
+ this.NewContentStyle = (Style)frameworkElement.FindResource("HorizontalWipeTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("HorizontalWipeTransitionNewContentStoryboard");
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.NotSupportedException.#ctor(System.String)")]
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ throw new System.NotSupportedException("CTP1 does not support changing the duration of this transition");
+ }
+ }
+}
diff --git a/Transitionals/Transitions/Images/star.png b/Transitionals/Transitions/Images/star.png
new file mode 100644
index 0000000..e5afc71
Binary files /dev/null and b/Transitionals/Transitions/Images/star.png differ
diff --git a/Transitionals/Transitions/MeltTransition.xaml b/Transitionals/Transitions/MeltTransition.xaml
new file mode 100644
index 0000000..328ee66
--- /dev/null
+++ b/Transitionals/Transitions/MeltTransition.xaml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/MeltTransition.xaml.cs b/Transitionals/Transitions/MeltTransition.xaml.cs
new file mode 100644
index 0000000..e793246
--- /dev/null
+++ b/Transitionals/Transitions/MeltTransition.xaml.cs
@@ -0,0 +1,50 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the MeltTransition
+ ///
+ [ComVisible(false)]
+ public partial class MeltTransitionFrameworkElement : FrameworkElement
+ {
+ public MeltTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the MeltTransition
+ ///
+ [ComVisible(false)]
+ public class MeltTransition : StoryboardTransition
+ {
+ static private MeltTransitionFrameworkElement frameworkElement = new MeltTransitionFrameworkElement();
+
+ public MeltTransition()
+ {
+ this.NewContentStyle = (Style) frameworkElement.FindResource("MeltTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard) frameworkElement.FindResource("MeltTransitionNewContentStoryboard");
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.NotSupportedException.#ctor(System.String)")]
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ throw new System.NotSupportedException("CTP1 does not support changing the duration of this transition");
+ }
+ }
+}
diff --git a/Transitionals/Transitions/PageTransition.cs b/Transitionals/Transitions/PageTransition.cs
new file mode 100644
index 0000000..855a0fd
--- /dev/null
+++ b/Transitionals/Transitions/PageTransition.cs
@@ -0,0 +1,145 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows.Media.Media3D;
+using System.Windows;
+using System.Windows.Threading;
+using System.Windows.Controls;
+using System.Windows.Media;
+using System.Windows.Input;
+using Transitionals.Controls;
+
+namespace Transitionals.Transitions
+{
+ // Cloth physics with extra constraints to the sides of the pages
+ [System.Runtime.InteropServices.ComVisible(false)]
+ public class PageTransition : Transition3D
+ {
+ public PageTransition()
+ {
+ this.Duration = new Duration(TimeSpan.FromSeconds(2));
+ this.FieldOfView = 10;
+ this.ClipToBounds = true;
+ }
+
+ protected override void BeginTransition3D(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent, Viewport3D viewport)
+ {
+ int xparticles = 10, yparticles = 10;
+ Size size = transitionElement.RenderSize;
+
+ if (size.Width > size.Height)
+ yparticles = (int)(xparticles * size.Height / size.Width);
+ else
+ xparticles = (int)(yparticles * size.Width / size.Height);
+
+ MeshGeometry3D mesh = CreateMesh(new Point3D(), new Vector3D(size.Width, 0, 0), new Vector3D(0, size.Height, 0), xparticles - 1, yparticles - 1, new Rect(0, 0, 1, 1));
+ Brush cloneBrush = CreateBrush(oldContent);
+ Material clone = new DiffuseMaterial(cloneBrush);
+
+
+ double ustep = size.Width / (xparticles - 1), vstep = size.Height / (yparticles - 1);
+
+ Point3DCollection points = mesh.Positions;
+
+
+ Point3DCollection oldPoints = points.Clone();
+
+ double timeStep = 1.0 / 30.0;
+ DispatcherTimer timer = new DispatcherTimer();
+ timer.Interval = TimeSpan.FromSeconds(timeStep);
+ double time = 0;
+ double duration = this.Duration.HasTimeSpan ? this.Duration.TimeSpan.TotalSeconds : 2;
+ timer.Tick += delegate
+ {
+ time = time + timeStep;
+ Point mousePos = Mouse.GetPosition(viewport);
+ Point3D mousePos3D = new Point3D(mousePos.X, mousePos.Y, -10);
+
+ // Cloth physics based on work of Thomas Jakobsen http://www.ioi.dk/~thomas
+ for (int i = 0; i < oldPoints.Count; i++)
+ {
+ Point3D currentPoint = points[i];
+ Point3D newPoint = currentPoint + 0.9 * (currentPoint - oldPoints[i]);
+
+ if (newPoint.Y > size.Height)
+ newPoint.Y = size.Height;
+
+ oldPoints[i] = newPoint;
+ }
+
+ //for (int j = 0; j < 5; j++)
+ //for (int i = oldPoints.Count - 1; i > 0 ; i--)
+ for (int a = yparticles - 1; a >= 0; a--)
+ for (int b = xparticles - 1; b >= 0; b--)
+ {
+ int i = b * yparticles + a;
+ // constrain with point to the left
+ if (i > yparticles)
+ Constrain(oldPoints, i, i - yparticles, ustep);
+ // constrain with point to the top
+ if (i % yparticles != 0)
+ Constrain(oldPoints, i, i - 1, vstep);
+
+ // constrain the sides
+ if (a == 0)
+ oldPoints[i] = new Point3D(oldPoints[i].X, 0, oldPoints[i].Z);
+ if (a == yparticles - 1)
+ oldPoints[i] = new Point3D(oldPoints[i].X, size.Height, oldPoints[i].Z);
+
+ if (b == 0)
+ oldPoints[i] = new Point3D(0, a * size.Height / (yparticles - 1), 0);
+
+ if (b == xparticles - 1)
+ {
+ double angle = time / duration * Math.PI / (0.8 + 0.5 * (yparticles - (double)a) / yparticles);
+ oldPoints[i] = new Point3D(size.Width * Math.Cos(angle), a * size.Height / (yparticles - 1), -size.Width * Math.Sin(angle));
+ }
+ }
+
+ if (time > (duration - 0))
+ {
+ timer.Stop();
+ EndTransition(transitionElement, oldContent, newContent);
+ }
+
+ // Swap position arrays
+ mesh.Positions = oldPoints;
+ oldPoints = points;
+ points = mesh.Positions;
+ };
+ timer.Start();
+
+
+ GeometryModel3D geo = new GeometryModel3D(mesh, clone);
+ geo.BackMaterial = clone;
+ ModelVisual3D model = new ModelVisual3D();
+ model.Content = geo;
+
+ // Replace old content in visual tree with new 3d model
+ transitionElement.HideContent(oldContent);
+ viewport.Children.Add(model);
+ }
+
+ private static void Constrain(Point3DCollection points, int i1, int i2, double length)
+ {
+ Point3D p1 = points[i1], p2 = points[i2];
+ Vector3D delta = p2 - p1;
+ double deltalength = delta.Length;
+ double diff = (deltalength - length) / deltalength;
+ p1 += delta * 0.5 * diff;
+ p2 -= delta * 0.5 * diff;
+
+ points[i1] = p1;
+ points[i2] = p2;
+ }
+ }
+}
diff --git a/Transitionals/Transitions/RollTransition.xaml b/Transitionals/Transitions/RollTransition.xaml
new file mode 100644
index 0000000..fb806f9
--- /dev/null
+++ b/Transitionals/Transitions/RollTransition.xaml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/RollTransition.xaml.cs b/Transitionals/Transitions/RollTransition.xaml.cs
new file mode 100644
index 0000000..a574f37
--- /dev/null
+++ b/Transitionals/Transitions/RollTransition.xaml.cs
@@ -0,0 +1,61 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the RollTransition
+ ///
+ [ComVisible(false)]
+ public partial class RollTransitionFrameworkElement : FrameworkElement
+ {
+ public RollTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the RollTransition
+ ///
+ [ComVisible(false)]
+ public class RollTransition : StoryboardTransition
+ {
+ static private RollTransitionFrameworkElement frameworkElement = new RollTransitionFrameworkElement();
+
+ static RollTransition()
+ {
+ AcceptsNullContentProperty.OverrideMetadata(typeof(RollTransition), new FrameworkPropertyMetadata(NullContentSupport.New));
+ IsNewContentTopmostProperty.OverrideMetadata(typeof(RollTransition), new FrameworkPropertyMetadata(false));
+ ClipToBoundsProperty.OverrideMetadata(typeof(RollTransition), new FrameworkPropertyMetadata(true));
+ }
+
+ public RollTransition()
+ {
+ this.OldContentStyle = (Style)frameworkElement.FindResource("RollTransitionOldContentStyle");
+ this.OldContentStoryboard = (Storyboard)frameworkElement.FindResource("RollTransitionOldContentStoryboard");
+ this.Duration = new Duration(TimeSpan.FromSeconds(0.5));
+ }
+
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ if (this.OldContentStoryboard != null && this.OldContentStoryboard.Children.Count > 0)
+ {
+ this.OldContentStoryboard.Children[0].Duration = newDuration;
+ }
+ }
+ }
+}
diff --git a/Transitionals/Transitions/RotateTransition.cs b/Transitionals/Transitions/RotateTransition.cs
new file mode 100644
index 0000000..4263064
--- /dev/null
+++ b/Transitionals/Transitions/RotateTransition.cs
@@ -0,0 +1,202 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Media3D;
+using Transitionals.Controls;
+
+namespace Transitionals.Transitions
+{
+ public enum RotateDirection
+ {
+ Up,
+ Down,
+ Left,
+ Right
+ }
+
+ [System.Runtime.InteropServices.ComVisible(false)]
+ public class RotateTransition : Transition3D
+ {
+ static RotateTransition()
+ {
+ AcceptsNullContentProperty.OverrideMetadata(typeof(RotateTransition), new FrameworkPropertyMetadata(NullContentSupport.Both));
+ }
+
+ public RotateTransition()
+ {
+ this.Duration = new Duration(TimeSpan.FromSeconds(0.75));
+ this.Angle = 90;
+ this.FieldOfView = 40;
+ }
+
+ public double Angle
+ {
+ get { return (double)GetValue(AngleProperty); }
+ set { SetValue(AngleProperty, value); }
+ }
+
+ public static readonly DependencyProperty AngleProperty =
+ DependencyProperty.Register("Angle", typeof(double), typeof(RotateTransition), new UIPropertyMetadata(90.0), IsAngleValid);
+
+ private static bool IsAngleValid(object value)
+ {
+ double angle = (double)value;
+ return angle >= 0 && angle < 180;
+ }
+
+ public RotateDirection Direction
+ {
+ get { return (RotateDirection)GetValue(DirectionProperty); }
+ set { SetValue(DirectionProperty, value); }
+ }
+
+ public static readonly DependencyProperty DirectionProperty =
+ DependencyProperty.Register("Direction", typeof(RotateDirection), typeof(RotateTransition), new UIPropertyMetadata(RotateDirection.Left));
+
+ public bool Contained
+ {
+ get { return (bool)GetValue(ContainedProperty); }
+ set { SetValue(ContainedProperty, value); }
+ }
+
+ public static readonly DependencyProperty ContainedProperty =
+ DependencyProperty.Register("Contained", typeof(bool), typeof(RotateTransition), new UIPropertyMetadata(false));
+
+ protected override void BeginTransition3D(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent, Viewport3D viewport)
+ {
+ Size size = transitionElement.RenderSize;
+
+ Point3D origin = new Point3D(); // origin of 2nd face
+ Vector3D u = new Vector3D(), v = new Vector3D(); // u & v vectors of 2nd face
+
+ double angle = Angle;
+ Point3D rotationCenter;
+ Vector3D rotationAxis;
+ RotateDirection direction = Direction;
+
+ TranslateTransform3D translation = null;
+ double angleRads = Angle * Math.PI / 180;
+ if (direction == RotateDirection.Left || direction == RotateDirection.Right)
+ {
+ if (Contained)
+ {
+ rotationCenter = new Point3D(direction == RotateDirection.Left ? size.Width : 0, 0, 0);
+ translation = new TranslateTransform3D();
+ DoubleAnimation x = new DoubleAnimation(direction == RotateDirection.Left ? -size.Width : size.Width, Duration);
+ translation.BeginAnimation(TranslateTransform3D.OffsetXProperty, x);
+ }
+ else
+ {
+ rotationCenter = new Point3D(size.Width / 2, 0, size.Width / 2 * Math.Tan(angle / 2 * Math.PI / 180));
+ }
+
+ rotationAxis = new Vector3D(0, 1, 0);
+
+ if (direction == RotateDirection.Left)
+ {
+ u.X = -size.Width * Math.Cos(angleRads);
+ u.Z = size.Width * Math.Sin(angleRads);
+
+ origin.X = size.Width;
+ }
+ else
+ {
+ u.X = -size.Width * Math.Cos(angleRads);
+ u.Z = -size.Width * Math.Sin(angleRads);
+
+ origin.X = -u.X;
+ origin.Z = -u.Z;
+ }
+ v.Y = size.Height;
+ }
+ else
+ {
+ if (Contained)
+ {
+ rotationCenter = new Point3D(0, direction == RotateDirection.Up ? size.Height : 0, 0);
+ translation = new TranslateTransform3D();
+ DoubleAnimation y = new DoubleAnimation(direction == RotateDirection.Up ? -size.Height : size.Height, Duration);
+ translation.BeginAnimation(TranslateTransform3D.OffsetYProperty, y);
+ }
+ else
+ {
+ rotationCenter = new Point3D(0, size.Height / 2, size.Height / 2 * Math.Tan(angle / 2 * Math.PI / 180));
+ }
+
+ rotationAxis = new Vector3D(1, 0, 0);
+
+ if (direction == RotateDirection.Up)
+ {
+ v.Y = -size.Height * Math.Cos(angleRads);
+ v.Z = size.Height * Math.Sin(angleRads);
+
+ origin.Y = size.Height;
+ }
+ else
+ {
+ v.Y = -size.Height * Math.Cos(angleRads);
+ v.Z = -size.Height * Math.Sin(angleRads);
+
+ origin.Y = -v.Y;
+ origin.Z = -v.Z;
+ }
+ u.X = size.Width;
+ }
+
+ double endAngle = 180 - angle;
+ if (direction == RotateDirection.Right || direction == RotateDirection.Up)
+ endAngle = -endAngle;
+
+ ModelVisual3D m1, m2;
+ viewport.Children.Add(m1 = MakeSide(oldContent, new Point3D(), new Vector3D(size.Width,0,0), new Vector3D(0,size.Height,0), endAngle, rotationCenter, rotationAxis, null));
+ viewport.Children.Add(m2 = MakeSide(newContent, origin, u, v, endAngle, rotationCenter, rotationAxis, delegate
+ {
+ EndTransition(transitionElement, oldContent, newContent);
+ }));
+
+ m1.Transform = m2.Transform = translation;
+
+ // Replace old and new content in visual tree with new 3d models
+ transitionElement.HideContent(oldContent);
+ transitionElement.HideContent(newContent);
+ }
+
+ private ModelVisual3D MakeSide(ContentPresenter content, Point3D origin, Vector3D u, Vector3D v, double endAngle, Point3D rotationCenter, Vector3D rotationAxis, EventHandler onCompleted)
+ {
+ MeshGeometry3D sideMesh = CreateMesh(origin, u, v, 1, 1, new Rect(0, 0, 1, 1));
+
+ GeometryModel3D sideModel = new GeometryModel3D();
+ sideModel.Geometry = sideMesh;
+
+ Brush clone = CreateBrush(content);
+ sideModel.Material = new DiffuseMaterial(clone);
+
+ AxisAngleRotation3D rotation = new AxisAngleRotation3D(rotationAxis, 0);
+ sideModel.Transform = new RotateTransform3D(rotation, rotationCenter);
+
+
+ DoubleAnimation da = new DoubleAnimation(endAngle, Duration);
+ if (onCompleted != null)
+ da.Completed += onCompleted;
+
+ rotation.BeginAnimation(AxisAngleRotation3D.AngleProperty, da);
+
+ ModelVisual3D side = new ModelVisual3D();
+ side.Content = sideModel;
+ return side;
+ }
+ }
+}
diff --git a/Transitionals/Transitions/RotateWipeTransition.xaml b/Transitionals/Transitions/RotateWipeTransition.xaml
new file mode 100644
index 0000000..ad777ed
--- /dev/null
+++ b/Transitionals/Transitions/RotateWipeTransition.xaml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/RotateWipeTransition.xaml.cs b/Transitionals/Transitions/RotateWipeTransition.xaml.cs
new file mode 100644
index 0000000..85a212d
--- /dev/null
+++ b/Transitionals/Transitions/RotateWipeTransition.xaml.cs
@@ -0,0 +1,54 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the RotateWipeTransition
+ ///
+ [ComVisible(false)]
+ public partial class RotateWipeTransitionFrameworkElement : FrameworkElement
+ {
+ public RotateWipeTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the RotateWipeTransition
+ ///
+ [ComVisible(false)]
+ public class RotateWipeTransition : StoryboardTransition
+ {
+ static private RotateWipeTransitionFrameworkElement frameworkElement = new RotateWipeTransitionFrameworkElement();
+
+ public RotateWipeTransition()
+ {
+ this.NewContentStyle = (Style)frameworkElement.FindResource("RotateWipeTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("RotateWipeTransitionNewContentStoryboard");
+ this.Duration = new Duration(TimeSpan.FromSeconds(0.5));
+ }
+
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ if (this.NewContentStoryboard != null && this.NewContentStoryboard.Children.Count > 0)
+ {
+ this.NewContentStoryboard.Children[0].Duration = newDuration;
+ }
+ }
+ }
+}
diff --git a/Transitionals/Transitions/StarTransition.xaml b/Transitionals/Transitions/StarTransition.xaml
new file mode 100644
index 0000000..a0489eb
--- /dev/null
+++ b/Transitionals/Transitions/StarTransition.xaml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/StarTransition.xaml.cs b/Transitionals/Transitions/StarTransition.xaml.cs
new file mode 100644
index 0000000..b042039
--- /dev/null
+++ b/Transitionals/Transitions/StarTransition.xaml.cs
@@ -0,0 +1,50 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the StarTransition
+ ///
+ [ComVisible(false)]
+ public partial class StarTransitionFrameworkElement : FrameworkElement
+ {
+ public StarTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the StarTransition
+ ///
+ [ComVisible(false)]
+ public class StarTransition : StoryboardTransition
+ {
+ static private StarTransitionFrameworkElement frameworkElement = new StarTransitionFrameworkElement();
+
+ public StarTransition()
+ {
+ this.NewContentStyle = (Style)frameworkElement.FindResource("StarTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("StarTransitionNewContentStoryboard");
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.NotSupportedException.#ctor(System.String)")]
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ throw new System.NotSupportedException("CTP1 does not support changing the duration of this transition");
+ }
+ }
+}
diff --git a/Transitionals/Transitions/StoryboardTransition.cs b/Transitionals/Transitions/StoryboardTransition.cs
new file mode 100644
index 0000000..e1a476d
--- /dev/null
+++ b/Transitionals/Transitions/StoryboardTransition.cs
@@ -0,0 +1,134 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows.Media.Animation;
+using System.Windows;
+using System.Windows.Controls;
+using System.Runtime.InteropServices;
+using Transitionals.Controls;
+
+namespace Transitionals.Transitions
+{
+ // Transition with storyboards for the old and new content presenters
+ [StyleTypedProperty(Property="OldContentStyle", StyleTargetType=typeof(ContentPresenter))]
+ [StyleTypedProperty(Property="NewContentStyle", StyleTargetType=typeof(ContentPresenter))]
+ [ComVisible(false)]
+ public abstract class StoryboardTransition : Transition
+ {
+ public Style OldContentStyle
+ {
+ get { return (Style)GetValue(OldContentStyleProperty); }
+ set { SetValue(OldContentStyleProperty, value); }
+ }
+
+ public static readonly DependencyProperty OldContentStyleProperty =
+ DependencyProperty.Register("OldContentStyle",
+ typeof(Style),
+ typeof(StoryboardTransition),
+ new UIPropertyMetadata(null));
+
+
+ public Storyboard OldContentStoryboard
+ {
+ get { return (Storyboard)GetValue(OldContentStoryboardProperty); }
+ set { SetValue(OldContentStoryboardProperty, value); }
+ }
+
+ public static readonly DependencyProperty OldContentStoryboardProperty =
+ DependencyProperty.Register("OldContentStoryboard",
+ typeof(Storyboard),
+ typeof(StoryboardTransition),
+ new UIPropertyMetadata(null));
+
+ public Style NewContentStyle
+ {
+ get { return (Style)GetValue(NewContentStyleProperty); }
+ set { SetValue(NewContentStyleProperty, value); }
+ }
+
+ public static readonly DependencyProperty NewContentStyleProperty =
+ DependencyProperty.Register("NewContentStyle",
+ typeof(Style),
+ typeof(StoryboardTransition),
+ new UIPropertyMetadata(null));
+
+ public Storyboard NewContentStoryboard
+ {
+ get { return (Storyboard)GetValue(NewContentStoryboardProperty); }
+ set { SetValue(NewContentStoryboardProperty, value); }
+ }
+
+ public static readonly DependencyProperty NewContentStoryboardProperty =
+ DependencyProperty.Register("NewContentStoryboard",
+ typeof(Storyboard),
+ typeof(StoryboardTransition),
+ new UIPropertyMetadata(null));
+
+
+ protected internal override void BeginTransition(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent)
+ {
+ Storyboard oldStoryboard = OldContentStoryboard;
+ Storyboard newStoryboard = NewContentStoryboard;
+
+ if (oldStoryboard != null || newStoryboard != null)
+ {
+ oldContent.Style = OldContentStyle;
+ newContent.Style = NewContentStyle;
+
+ // Flag to determine when both storyboards are done
+ bool done = oldStoryboard == null || newStoryboard == null;
+
+ if (oldStoryboard != null)
+ {
+ oldStoryboard = oldStoryboard.Clone();
+ oldContent.SetValue(OldContentStoryboardProperty, oldStoryboard);
+ oldStoryboard.Completed += delegate
+ {
+ if (done)
+ EndTransition(transitionElement, oldContent, newContent);
+ done = true;
+ };
+ oldStoryboard.Begin(oldContent, true);
+ }
+
+ if (newStoryboard != null)
+ {
+ newStoryboard = newStoryboard.Clone();
+ newContent.SetValue(NewContentStoryboardProperty, newStoryboard);
+ newStoryboard.Completed += delegate
+ {
+ if (done)
+ EndTransition(transitionElement, oldContent, newContent);
+ done = true;
+ };
+ newStoryboard.Begin(newContent, true);
+ }
+ }
+ else
+ {
+ EndTransition(transitionElement, oldContent, newContent);
+ }
+ }
+
+ protected override void OnTransitionEnded(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent)
+ {
+ Storyboard oldStoryboard = (Storyboard)oldContent.GetValue(OldContentStoryboardProperty);
+ if (oldStoryboard != null)
+ oldStoryboard.Stop(oldContent);
+ oldContent.ClearValue(ContentPresenter.StyleProperty);
+
+ Storyboard newStoryboard = (Storyboard)newContent.GetValue(NewContentStoryboardProperty);
+ if (newStoryboard != null)
+ newStoryboard.Stop(newContent);
+ newContent.ClearValue(ContentPresenter.StyleProperty);
+ }
+ }
+}
diff --git a/Transitionals/Transitions/TranslateTransition.cs b/Transitionals/Transitions/TranslateTransition.cs
new file mode 100644
index 0000000..e8fcba4
--- /dev/null
+++ b/Transitionals/Transitions/TranslateTransition.cs
@@ -0,0 +1,89 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using Transitionals.Controls;
+
+namespace Transitionals.Transitions
+{
+ // Applies a Translation to the content. You can specify the starting point of the new
+ // content or the ending point of the old content using relative coordinates.
+ // Set start point to (-1,0) to have the content slide from the left
+ [System.Runtime.InteropServices.ComVisible(false)]
+ public class TranslateTransition : Transition
+ {
+ static TranslateTransition()
+ {
+ ClipToBoundsProperty.OverrideMetadata(typeof(TranslateTransition), new FrameworkPropertyMetadata(true));
+ }
+
+ public TranslateTransition()
+ {
+ this.Duration = new Duration(TimeSpan.FromSeconds(0.5));
+ this.StartPoint = new Point(-1, 0);
+ }
+
+ public Point StartPoint
+ {
+ get { return (Point)GetValue(StartPointProperty); }
+ set { SetValue(StartPointProperty, value); }
+ }
+
+ public static readonly DependencyProperty StartPointProperty =
+ DependencyProperty.Register("StartPoint", typeof(Point), typeof(TranslateTransition), new UIPropertyMetadata(new Point()));
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "EndPoint")]
+ public Point EndPoint
+ {
+ get { return (Point)GetValue(EndPointProperty); }
+ set { SetValue(EndPointProperty, value); }
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "EndPoint")]
+ public static readonly DependencyProperty EndPointProperty =
+ DependencyProperty.Register("EndPoint", typeof(Point), typeof(TranslateTransition), new UIPropertyMetadata(new Point()));
+
+
+ protected internal override void BeginTransition(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent)
+ {
+ TranslateTransform tt = new TranslateTransform(StartPoint.X * transitionElement.ActualWidth, StartPoint.Y * transitionElement.ActualHeight);
+
+ if (this.IsNewContentTopmost)
+ {
+ newContent.RenderTransform = tt;
+ }
+ else
+ {
+ oldContent.RenderTransform = tt;
+ }
+
+ DoubleAnimation da = new DoubleAnimation(EndPoint.X * transitionElement.ActualWidth, Duration);
+ tt.BeginAnimation(TranslateTransform.XProperty, da);
+
+ da.To = EndPoint.Y * transitionElement.ActualHeight;
+ da.Completed += delegate
+ {
+ EndTransition(transitionElement, oldContent, newContent);
+ };
+ tt.BeginAnimation(TranslateTransform.YProperty, da);
+ }
+
+ protected override void OnTransitionEnded(TransitionElement transitionElement, ContentPresenter oldContent, ContentPresenter newContent)
+ {
+ newContent.ClearValue(ContentPresenter.RenderTransformProperty);
+ oldContent.ClearValue(ContentPresenter.RenderTransformProperty);
+ }
+ }
+}
diff --git a/Transitionals/Transitions/TwoWayTransitionSelector.cs b/Transitionals/Transitions/TwoWayTransitionSelector.cs
new file mode 100644
index 0000000..dddb0e7
--- /dev/null
+++ b/Transitionals/Transitions/TwoWayTransitionSelector.cs
@@ -0,0 +1,62 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+
+namespace Transitionals.Transitions
+{
+ public enum TransitionDirection
+ {
+ Forward,
+ Backward,
+ }
+
+ //Choose between a forward and backward transition based on the Direction property
+ [System.Runtime.InteropServices.ComVisible(false)]
+ public class TwoWayTransitionSelector : TransitionSelector
+ {
+ public TwoWayTransitionSelector() { }
+
+ public Transition ForwardTransition
+ {
+ get { return (Transition)GetValue(ForwardTransitionProperty); }
+ set { SetValue(ForwardTransitionProperty, value); }
+ }
+
+ public static readonly DependencyProperty ForwardTransitionProperty =
+ DependencyProperty.Register("ForwardTransition", typeof(Transition), typeof(TwoWayTransitionSelector), new UIPropertyMetadata(null));
+
+ public Transition BackwardTransition
+ {
+ get { return (Transition)GetValue(BackwardTransitionProperty); }
+ set { SetValue(BackwardTransitionProperty, value); }
+ }
+
+ public static readonly DependencyProperty BackwardTransitionProperty =
+ DependencyProperty.Register("BackwardTransition", typeof(Transition), typeof(TwoWayTransitionSelector), new UIPropertyMetadata(null));
+
+
+ public TransitionDirection Direction
+ {
+ get { return (TransitionDirection)GetValue(DirectionProperty); }
+ set { SetValue(DirectionProperty, value); }
+ }
+
+ public static readonly DependencyProperty DirectionProperty =
+ DependencyProperty.Register("Direction", typeof(TransitionDirection), typeof(TwoWayTransitionSelector), new UIPropertyMetadata(TransitionDirection.Forward));
+
+
+ public override Transition SelectTransition(object oldContent, object newContent)
+ {
+ return Direction == TransitionDirection.Forward ? ForwardTransition : BackwardTransition;
+ }
+ }
+}
diff --git a/Transitionals/Transitions/VerticalBlindsTransition.xaml b/Transitionals/Transitions/VerticalBlindsTransition.xaml
new file mode 100644
index 0000000..1314c6a
--- /dev/null
+++ b/Transitionals/Transitions/VerticalBlindsTransition.xaml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/VerticalBlindsTransition.xaml.cs b/Transitionals/Transitions/VerticalBlindsTransition.xaml.cs
new file mode 100644
index 0000000..29efc1f
--- /dev/null
+++ b/Transitionals/Transitions/VerticalBlindsTransition.xaml.cs
@@ -0,0 +1,50 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the VerticalBlindsTransition
+ ///
+ [ComVisible(false)]
+ public partial class VerticalBlindsTransitionFrameworkElement : FrameworkElement
+ {
+ public VerticalBlindsTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the VerticalBlindsTransition
+ ///
+ [ComVisible(false)]
+ public class VerticalBlindsTransition : StoryboardTransition
+ {
+ static private VerticalBlindsTransitionFrameworkElement frameworkElement = new VerticalBlindsTransitionFrameworkElement();
+
+ public VerticalBlindsTransition()
+ {
+ this.NewContentStyle = (Style)frameworkElement.FindResource("VerticalBlindsTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("VerticalBlindsTransitionNewContentStoryboard");
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.NotSupportedException.#ctor(System.String)")]
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ throw new System.NotSupportedException("CTP1 does not support changing the duration of this transition");
+ }
+ }
+}
diff --git a/Transitionals/Transitions/VerticalWipeTransition.xaml b/Transitionals/Transitions/VerticalWipeTransition.xaml
new file mode 100644
index 0000000..1b18645
--- /dev/null
+++ b/Transitionals/Transitions/VerticalWipeTransition.xaml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/Transitionals/Transitions/VerticalWipeTransition.xaml.cs b/Transitionals/Transitions/VerticalWipeTransition.xaml.cs
new file mode 100644
index 0000000..78b57db
--- /dev/null
+++ b/Transitionals/Transitions/VerticalWipeTransition.xaml.cs
@@ -0,0 +1,50 @@
+#region License Revision: 0 Last Revised: 3/29/2006 8:21 AM
+/******************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+
+This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file.
+If it does not, you can obtain a copy from:
+
+http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
+******************************************************************************/
+#endregion // License
+using System.Windows;
+using System.Windows.Media.Animation;
+using System.Runtime.InteropServices;
+
+namespace Transitionals.Transitions
+{
+ ///
+ /// Stores the XAML that defines the VerticalWipeTransition
+ ///
+ [ComVisible(false)]
+ public partial class VerticalWipeTransitionFrameworkElement : FrameworkElement
+ {
+ public VerticalWipeTransitionFrameworkElement()
+ {
+ InitializeComponent();
+ }
+ }
+
+ ///
+ /// Represents the VerticalWipeTransition
+ ///
+ [ComVisible(false)]
+ public class VerticalWipeTransition : StoryboardTransition
+ {
+ static private VerticalWipeTransitionFrameworkElement frameworkElement = new VerticalWipeTransitionFrameworkElement();
+
+ public VerticalWipeTransition()
+ {
+ this.NewContentStyle = (Style)frameworkElement.FindResource("VerticalWipeTransitionNewContentStyle");
+ this.NewContentStoryboard = (Storyboard)frameworkElement.FindResource("VerticalWipeTransitionNewContentStoryboard");
+ }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", MessageId = "System.NotSupportedException.#ctor(System.String)")]
+ protected override void OnDurationChanged(Duration oldDuration, Duration newDuration)
+ {
+ throw new System.NotSupportedException("CTP1 does not support changing the duration of this transition");
+ }
+ }
+}
diff --git a/WebDAVClient/Client.cs b/WebDAVClient/Client.cs
new file mode 100644
index 0000000..c4905f7
--- /dev/null
+++ b/WebDAVClient/Client.cs
@@ -0,0 +1,782 @@
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.IO;
+using System.Linq;
+using System.Net;
+using System.Net.Http;
+using System.Net.Http.Headers;
+using System.Net.Security;
+using System.Net.Sockets;
+using System.Security.Cryptography.X509Certificates;
+using System.Text;
+using System.Text.RegularExpressions;
+using System.Threading.Tasks;
+using System.Web;
+using System.Xml;
+using WebDAVClient.Helpers;
+using WebDAVClient.Model;
+
+namespace WebDAVClient
+{
+ public class Client : IClient
+ {
+ private static readonly HttpMethod PropFind = new HttpMethod("PROPFIND");
+ private static readonly HttpMethod MoveMethod = new HttpMethod("MOVE");
+ private static readonly HttpMethod CopyMethod = new HttpMethod("COPY");
+
+ private static readonly HttpMethod MkCol = new HttpMethod(WebRequestMethods.Http.MkCol);
+
+ private const int HttpStatusCode_MultiStatus = 207;
+
+ // http://webdav.org/specs/rfc4918.html#METHOD_PROPFIND
+ private const string PropFindRequestContent =
+ "" +
+ "" +
+ "" +
+ //" " +
+ //" " +
+ //" " +
+ //" " +
+ //" " +
+ //" " +
+ //" " +
+ //" " +
+ //" " +
+ //" " +
+ "";
+
+ private static readonly string AssemblyVersion = typeof(IClient).Assembly.GetName().Version.ToString();
+
+ private readonly HttpClient _client;
+ private readonly HttpClient _uploadClient;
+ private string _server;
+ private string _basePath = "/";
+ private NetworkCredential _credential;
+ private string _encodedBasePath;
+
+
+
+ #region WebDAV connection parameters
+
+ ///
+ /// Specify the WebDAV hostname (required).
+ ///
+ public string Server
+ {
+ get { return _server; }
+ set
+ {
+ value = value.TrimEnd('/');
+ _server = value;
+ LetMeSupportHttps();
+ }
+ }
+
+
+ ///
+ /// Specify the path of a WebDAV directory to use as 'root' (default: /)
+ ///
+ public string BasePath
+ {
+ get { return _basePath; }
+ set
+ {
+ value = value.Trim('/');
+ if (string.IsNullOrEmpty(value))
+ _basePath = "/";
+ else
+ _basePath = "/" + value + "/";
+ }
+ }
+
+ ///
+ /// Specify an port (default: null = auto-detect)
+ ///
+ public int? Port { get; set; }
+
+ ///
+ /// Specify the UserAgent (and UserAgent version) string to use in requests
+ ///
+ public string UserAgent { get; set; }
+
+ ///
+ /// Specify the UserAgent (and UserAgent version) string to use in requests
+ ///
+ public string UserAgentVersion { get; set; }
+
+ #endregion
+
+
+ public Client(NetworkCredential credential = null, TimeSpan? uploadTimeout = null, IWebProxy proxy = null)
+ {
+ var handler = new HttpClientHandler();
+ if (proxy != null && handler.SupportsProxy)
+ handler.Proxy = proxy;
+ if (handler.SupportsAutomaticDecompression)
+ handler.AutomaticDecompression = DecompressionMethods.Deflate | DecompressionMethods.GZip;
+ if (credential != null)
+ {
+ handler.Credentials = _credential = credential;
+ handler.PreAuthenticate = true;
+ }
+
+ _client = new HttpClient(handler);
+ _client.DefaultRequestHeaders.ExpectContinue = false;
+
+ if (uploadTimeout != null)
+ {
+ _uploadClient = new HttpClient(handler);
+ _uploadClient.DefaultRequestHeaders.ExpectContinue = false;
+ _uploadClient.Timeout = uploadTimeout.Value;
+ }
+ }
+
+ private void LetMeSupportHttps()
+ {
+ var serverUri = new Uri(this.Server);
+ if (serverUri.Scheme.ToLower().Equals("https"))
+ {
+ InitHttpsValidateServer();
+ }
+ }
+
+ private static void InitHttpsValidateServer()
+ {
+ ServicePointManager.ServerCertificateValidationCallback = (RemoteCertificateValidationCallback)
+ Delegate.Combine(ServicePointManager.ServerCertificateValidationCallback,
+ new RemoteCertificateValidationCallback(ValidateServerCertificate));
+ ServicePointManager.Expect100Continue = false;
+ }
+
+ private static bool ValidateServerCertificate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors error)
+ {
+ return true;
+ }
+
+ #region WebDAV operations
+
+ ///
+ /// List all files present on the server.
+ ///
+ /// List only files in this path
+ /// Recursion depth
+ /// A list of files (entries without a trailing slash) and directories (entries with a trailing slash)
+ public async Task> List(string path = "/", int? depth = 1)
+ {
+ var listUri = await GetServerUrl(path, true).ConfigureAwait(false);
+
+ // Depth header: http://webdav.org/specs/rfc4918.html#rfc.section.9.1.4
+ IDictionary headers = new Dictionary();
+ if (depth != null)
+ {
+ headers.Add("Depth", depth.ToString());
+ }
+
+
+ HttpResponseMessage response = null;
+
+ try
+ {
+ response = await HttpRequest(listUri.Uri, PropFind, headers, Encoding.UTF8.GetBytes(PropFindRequestContent)).ConfigureAwait(false);
+
+ if (response.StatusCode != HttpStatusCode.OK &&
+ (int)response.StatusCode != HttpStatusCode_MultiStatus)
+ {
+ throw new WebDAVException((int)response.StatusCode, "Failed retrieving items in folder.");
+ }
+
+ using (var stream = await response.Content.ReadAsStreamAsync().ConfigureAwait(false))
+ {
+ var items = ResponseParser.ParseItems(stream);
+
+ if (items == null)
+ {
+ throw new WebDAVException("Failed deserializing data returned from server.");
+ }
+
+ var listUrl = listUri.ToString();
+
+ var result = new List- (items.Count());
+ foreach (var item in items)
+ {
+ // If it's not a collection, add it to the result
+ if (!item.IsCollection)
+ {
+ result.Add(item);
+ }
+ else
+ {
+ // If it's not the requested parent folder, add it to the result
+ var fullHref = await GetServerUrl(item.Href, true).ConfigureAwait(false);
+ if (!string.Equals(fullHref.ToString(), listUrl, StringComparison.CurrentCultureIgnoreCase))
+ {
+ result.Add(item);
+ }
+ }
+ }
+ return result;
+ }
+
+ }
+ finally
+ {
+ if (response != null)
+ response.Dispose();
+ }
+ }
+
+ ///
+ /// List all files present on the server.
+ ///
+ /// A list of files (entries without a trailing slash) and directories (entries with a trailing slash)
+ public async Task
- GetFolder(string path = "/")
+ {
+ var listUri = await GetServerUrl(path, true).ConfigureAwait(false);
+ return await Get(listUri.Uri, path).ConfigureAwait(false);
+ }
+
+ ///
+ /// List all files present on the server.
+ ///
+ /// A list of files (entries without a trailing slash) and directories (entries with a trailing slash)
+ public async Task
- GetFile(string path = "/")
+ {
+ var listUri = await GetServerUrl(path, false).ConfigureAwait(false);
+ return await Get(listUri.Uri, path).ConfigureAwait(false);
+ }
+
+
+ ///
+ /// List all files present on the server.
+ ///
+ /// A list of files (entries without a trailing slash) and directories (entries with a trailing slash)
+ private async Task
- Get(Uri listUri, string path)
+ {
+
+ // Depth header: http://webdav.org/specs/rfc4918.html#rfc.section.9.1.4
+ IDictionary headers = new Dictionary();
+ headers.Add("Depth", "0");
+
+
+ HttpResponseMessage response = null;
+
+ try
+ {
+ response = await HttpRequest(listUri, PropFind, headers, Encoding.UTF8.GetBytes(PropFindRequestContent)).ConfigureAwait(false);
+
+ if (response.StatusCode != HttpStatusCode.OK &&
+ (int)response.StatusCode != HttpStatusCode_MultiStatus)
+ {
+ throw new WebDAVException((int)response.StatusCode, string.Format("Failed retrieving item/folder (Status Code: {0})", response.StatusCode));
+ }
+
+ using (var stream = await response.Content.ReadAsStreamAsync().ConfigureAwait(false))
+ {
+ var result = ResponseParser.ParseItem(stream);
+
+ if (result == null)
+ {
+ throw new WebDAVException("Failed deserializing data returned from server.");
+ }
+
+ return result;
+ }
+ }
+ finally
+ {
+ if (response != null)
+ response.Dispose();
+ }
+ }
+
+ ///
+ /// Download a file from the server
+ ///
+ /// Source path and filename of the file on the server
+ public async Task Download(string remoteFilePath)
+ {
+ // Should not have a trailing slash.
+ var downloadUri = await GetServerUrl(remoteFilePath, false).ConfigureAwait(false);
+
+ var dictionary = new Dictionary { { "translate", "f" } };
+ var response = await HttpRequest(downloadUri.Uri, HttpMethod.Get, dictionary).ConfigureAwait(false);
+ if (response.StatusCode != HttpStatusCode.OK)
+ {
+ throw new WebDAVException((int)response.StatusCode, "Failed retrieving file.");
+ }
+ return await response.Content.ReadAsStreamAsync().ConfigureAwait(false);
+ }
+
+ ///
+ /// Download a file from the server
+ ///
+ /// Source path and filename of the file on the server
+ ///
+ ///
+ public async Task Upload(string remoteFilePath, Stream content, string name)
+ {
+ // Should not have a trailing slash.
+ var uploadUri = await GetServerUrl(remoteFilePath.TrimEnd('/') + "/" + name.TrimStart('/'), false).ConfigureAwait(false);
+
+ HttpResponseMessage response = null;
+
+ try
+ {
+ response = await HttpUploadRequest(uploadUri.Uri, HttpMethod.Put, content).ConfigureAwait(false);
+
+ if (response.StatusCode != HttpStatusCode.OK &&
+ response.StatusCode != HttpStatusCode.NoContent &&
+ response.StatusCode != HttpStatusCode.Created)
+ {
+ throw new WebDAVException((int)response.StatusCode, "Failed uploading file.");
+ }
+
+ return response.IsSuccessStatusCode;
+ }
+ finally
+ {
+ if (response != null)
+ response.Dispose();
+ }
+
+ }
+
+
+ ///
+ /// Create a directory on the server
+ ///
+ /// Destination path of the directory on the server
+ ///
+ public async Task CreateDir(string remotePath, string name)
+ {
+ // Should not have a trailing slash.
+ var dirUri = await GetServerUrl(remotePath.TrimEnd('/') + "/" + name.TrimStart('/'), false).ConfigureAwait(false);
+
+ HttpResponseMessage response = null;
+ IDictionary headers = new Dictionary();
+ headers.Add("Overwrite", "F");
+
+ try
+ {
+ response = await HttpRequest(dirUri.Uri, MkCol, headers).ConfigureAwait(false);
+
+ if (response.StatusCode == HttpStatusCode.Conflict)
+ throw new WebDAVConflictException((int)response.StatusCode, "Failed creating folder.");
+
+ if (response.StatusCode != HttpStatusCode.OK &&
+ response.StatusCode != HttpStatusCode.NoContent &&
+ response.StatusCode != HttpStatusCode.Created)
+ {
+ throw new WebDAVException((int)response.StatusCode, "Failed creating folder.");
+ }
+
+ return response.IsSuccessStatusCode;
+ }
+ finally
+ {
+ if (response != null)
+ response.Dispose();
+ }
+ }
+
+ public async Task DeleteFolder(string href)
+ {
+ var listUri = await GetServerUrl(href, true).ConfigureAwait(false);
+ await Delete(listUri.Uri).ConfigureAwait(false);
+ }
+
+ public async Task DeleteFile(string href)
+ {
+ var listUri = await GetServerUrl(href, false).ConfigureAwait(false);
+ await Delete(listUri.Uri).ConfigureAwait(false);
+ }
+
+
+ private async Task Delete(Uri listUri)
+ {
+ var response = await HttpRequest(listUri, HttpMethod.Delete).ConfigureAwait(false);
+
+ if (response.StatusCode != HttpStatusCode.OK &&
+ response.StatusCode != HttpStatusCode.NoContent)
+ {
+ throw new WebDAVException((int)response.StatusCode, "Failed deleting item.");
+ }
+ }
+
+ public async Task MoveFolder(string srcFolderPath, string dstFolderPath)
+ {
+ // Should have a trailing slash.
+ var srcUri = await GetServerUrl(srcFolderPath, true).ConfigureAwait(false);
+ var dstUri = await GetServerUrl(dstFolderPath, true).ConfigureAwait(false);
+
+ return await Move(srcUri.Uri, dstUri.Uri).ConfigureAwait(false);
+
+ }
+
+ public async Task MoveFile(string srcFilePath, string dstFilePath)
+ {
+ // Should not have a trailing slash.
+ var srcUri = await GetServerUrl(srcFilePath, false).ConfigureAwait(false);
+ var dstUri = await GetServerUrl(dstFilePath, false).ConfigureAwait(false);
+
+ return await Move(srcUri.Uri, dstUri.Uri).ConfigureAwait(false);
+ }
+
+
+ private async Task Move(Uri srcUri, Uri dstUri, bool overwrite = false)
+ {
+ const string requestContent = "MOVE";
+
+ IDictionary headers = new Dictionary();
+
+ headers.Add("Destination", string.Format("{0}://{1}:{2}{3}", dstUri.Scheme, dstUri.Host, dstUri.Port, dstUri.AbsolutePath));
+ headers.Add("Overwrite", overwrite ? "T" : "F");
+
+ var response = await HttpRequest(srcUri, MoveMethod, headers, Encoding.UTF8.GetBytes(requestContent)).ConfigureAwait(false);
+
+ if (response.StatusCode != HttpStatusCode.OK &&
+ response.StatusCode != HttpStatusCode.Created)
+ {
+ throw new WebDAVException((int)response.StatusCode, "Failed moving file.");
+ }
+
+ return response.IsSuccessStatusCode;
+ }
+
+ public async Task CopyFolder(string srcFolderPath, string dstFolderPath)
+ {
+ // Should have a trailing slash.
+ var srcUri = await GetServerUrl(srcFolderPath, true).ConfigureAwait(false);
+ var dstUri = await GetServerUrl(dstFolderPath, true).ConfigureAwait(false);
+
+ return await Copy(srcUri.Uri, dstUri.Uri).ConfigureAwait(false);
+
+ }
+
+ public async Task CopyFile(string srcFilePath, string dstFilePath)
+ {
+ // Should not have a trailing slash.
+ var srcUri = await GetServerUrl(srcFilePath, false).ConfigureAwait(false);
+ var dstUri = await GetServerUrl(dstFilePath, false).ConfigureAwait(false);
+
+ return await Copy(srcUri.Uri, dstUri.Uri).ConfigureAwait(false);
+ }
+
+
+ public async Task Copy(Uri srcUri, Uri dstUri, bool overwrite = false)
+ {
+ const string requestContent = "COPY";
+
+ IDictionary headers = new Dictionary();
+
+ headers.Add("Destination", string.Format("{0}://{1}:{2}{3}", dstUri.Scheme, dstUri.Host, dstUri.Port, dstUri.AbsolutePath));
+ headers.Add("Overwrite", overwrite ? "T" : "F");
+
+ var response = await HttpRequest(srcUri, CopyMethod, headers, Encoding.UTF8.GetBytes(requestContent)).ConfigureAwait(false);
+
+ if (response.StatusCode != HttpStatusCode.OK &&
+ response.StatusCode != HttpStatusCode.Created)
+ {
+ throw new WebDAVException((int)response.StatusCode, "Failed moving file.");
+ }
+
+ return response.IsSuccessStatusCode;
+ }
+
+
+ #endregion
+
+ #region Server communication
+
+ ///
+ /// Perform the WebDAV call and fire the callback when finished.
+ ///
+ ///
+ ///
+ ///
+ ///
+ private async Task HttpRequest(Uri uri, HttpMethod method, IDictionary headers = null, byte[] content = null)
+ {
+ using (var request = new HttpRequestMessage(method, uri))
+ {
+ request.Headers.Connection.Add("Keep-Alive");
+ if (!string.IsNullOrWhiteSpace(UserAgent))
+ request.Headers.UserAgent.Add(new ProductInfoHeaderValue(UserAgent, UserAgentVersion));
+ else
+ request.Headers.UserAgent.Add(new ProductInfoHeaderValue("WebDAVClient", AssemblyVersion));
+
+ if (headers != null)
+ {
+ foreach (string key in headers.Keys)
+ {
+ request.Headers.Add(key, headers[key]);
+ }
+ }
+
+ // Need to send along content?
+ if (content != null)
+ {
+ request.Content = new ByteArrayContent(content);
+ request.Content.Headers.ContentType = new MediaTypeHeaderValue("text/xml");
+ }
+
+ return await _client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead).ConfigureAwait(false);
+ }
+ }
+
+ ///
+ /// Perform the WebDAV call and fire the callback when finished.
+ ///
+ ///
+ ///
+ ///
+ ///
+ private async Task HttpUploadRequest(Uri uri, HttpMethod method, Stream content, IDictionary headers = null)
+ {
+ using (var request = new HttpRequestMessage(method, uri))
+ {
+ request.Headers.Connection.Add("Keep-Alive");
+ if (!string.IsNullOrWhiteSpace(UserAgent))
+ request.Headers.UserAgent.Add(new ProductInfoHeaderValue(UserAgent, UserAgentVersion));
+ else
+ request.Headers.UserAgent.Add(new ProductInfoHeaderValue("WebDAVClient", AssemblyVersion));
+
+ if (headers != null)
+ {
+ foreach (string key in headers.Keys)
+ {
+ request.Headers.Add(key, headers[key]);
+ }
+ }
+
+ // Need to send along content?
+ if (content != null)
+ {
+ request.Content = new StreamContent(content);
+ }
+
+ var client = _uploadClient ?? _client;
+ return await client.SendAsync(request).ConfigureAwait(false);
+ }
+ }
+
+ ///
+ /// Try to create an Uri with kind UriKind.Absolute
+ /// This particular implementation also works on Mono/Linux
+ /// It seems that on Mono it is expected behaviour that uris
+ /// of kind /a/b are indeed absolute uris since it referes to a file in /a/b.
+ /// https://bugzilla.xamarin.com/show_bug.cgi?id=30854
+ ///
+ ///
+ ///
+ ///
+ private static bool TryCreateAbsolute(string uriString, out Uri uriResult)
+ {
+ return Uri.TryCreate(uriString, UriKind.Absolute, out uriResult) && uriResult.Scheme != Uri.UriSchemeFile;
+ }
+
+ private async Task GetServerUrl(string path, bool appendTrailingSlash)
+ {
+ // Resolve the base path on the server
+ if (_encodedBasePath == null)
+ {
+ var baseUri = new UriBuilder(_server) { Path = _basePath };
+ var root = await Get(baseUri.Uri, null).ConfigureAwait(false);
+
+ _encodedBasePath = root.Href;
+ }
+
+
+ // If we've been asked for the "root" folder
+ if (string.IsNullOrEmpty(path))
+ {
+ // If the resolved base path is an absolute URI, use it
+ Uri absoluteBaseUri;
+ if (TryCreateAbsolute(_encodedBasePath, out absoluteBaseUri))
+ {
+ return new UriBuilder(absoluteBaseUri);
+ }
+
+ // Otherwise, use the resolved base path relatively to the server
+ var baseUri = new UriBuilder(_server) { Path = _encodedBasePath };
+ return baseUri;
+ }
+
+ // If the requested path is absolute, use it
+ Uri absoluteUri;
+ if (TryCreateAbsolute(path, out absoluteUri))
+ {
+ var baseUri = new UriBuilder(absoluteUri);
+ return baseUri;
+ }
+ else
+ {
+ // Otherwise, create a URI relative to the server
+ UriBuilder baseUri;
+ if (TryCreateAbsolute(_encodedBasePath, out absoluteUri))
+ {
+ baseUri = new UriBuilder(absoluteUri);
+
+ baseUri.Path = baseUri.Path.TrimEnd('/') + "/" + path.TrimStart('/');
+
+ if (appendTrailingSlash && !baseUri.Path.EndsWith("/"))
+ baseUri.Path += "/";
+ }
+ else
+ {
+ baseUri = new UriBuilder(_server);
+
+ // Ensure we don't add the base path twice
+ var finalPath = path;
+ if (!finalPath.StartsWith(_encodedBasePath, StringComparison.InvariantCultureIgnoreCase))
+ {
+ finalPath = _encodedBasePath.TrimEnd('/') + "/" + path;
+ }
+ if (appendTrailingSlash)
+ finalPath = finalPath.TrimEnd('/') + "/";
+
+ baseUri.Path = finalPath;
+ }
+
+
+ return baseUri;
+ }
+ }
+
+ #endregion
+
+ #region Tcp Upload&Download
+
+ private readonly int TransferTimeOut = System.Threading.Timeout.Infinite;
+
+
+ public async Task GetWriteStreamAsync(long contentLength, string targetAbsolutePath)
+ {
+ return await Task.Factory.StartNew(() => GetWriteStream(contentLength, targetAbsolutePath)).ConfigureAwait(false);
+ }
+
+ public Stream GetWriteStream(long contentLength, string targetAbsolutePath)
+ {
+ var serverUri = new Uri(this.Server);
+ TcpClient tcpClient = new TcpClient(serverUri.Host, serverUri.Port);
+ if (tcpClient.Connected)
+ {
+ string auth = "Basic " + Convert.ToBase64String(Encoding.Default.GetBytes(this._credential.UserName + ":" + this._credential.Password));
+
+ try
+ {
+ if (this.TransferTimeOut != System.Threading.Timeout.Infinite)
+ {
+ tcpClient.SendTimeout = this.TransferTimeOut;
+ tcpClient.ReceiveTimeout = this.TransferTimeOut;
+ }
+ else
+ {
+ tcpClient.SendTimeout = 0;
+ tcpClient.ReceiveTimeout = 0;
+ }
+ }
+ catch (SocketException e)
+ {
+ Debug.WriteLine("TcpClient.Timeout SocketException: " + e.Message);
+ Debug.WriteLine("TcpClient.Timeout set timeout to default value 0!");
+ tcpClient.SendTimeout = 0;
+ tcpClient.ReceiveTimeout = 0;
+ }
+
+ Stream networkStream;
+
+ if (serverUri.Scheme.ToLower().Equals("https"))
+ {
+ networkStream = new SslStream(tcpClient.GetStream(), false, ValidateServerCertificate, null);
+ ((SslStream)networkStream).AuthenticateAsClient(serverUri.Host);
+ }
+ else
+ networkStream = tcpClient.GetStream();
+
+ if (networkStream.CanTimeout)
+ {
+ try
+ {
+ networkStream.WriteTimeout = this.TransferTimeOut;
+ networkStream.ReadTimeout = this.TransferTimeOut;
+ }
+ catch (Exception e)
+ {
+ Debug.WriteLine("NetworkStream.Timeout Exception: " + e.Message);
+ }
+ }
+ var fullPath = new UriBuilder(serverUri.Scheme, serverUri.Host, serverUri.Port, targetAbsolutePath);
+ byte[] methodBuffer = Encoding.UTF8.GetBytes("PUT " + fullPath.Path + " HTTP/1.1\r\n");
+ byte[] hostBuffer = Encoding.UTF8.GetBytes("Host: " + serverUri.Host + "\r\n");
+ byte[] contentLengthBuffer = Encoding.UTF8.GetBytes("Content-Length: " + contentLength + "\r\n");
+ byte[] authorizationBuffer = Encoding.UTF8.GetBytes("Authorization: " + auth + "\r\n");
+ byte[] connectionBuffer = Encoding.UTF8.GetBytes("Connection: Close\r\n\r\n");
+ networkStream.Write(methodBuffer, 0, methodBuffer.Length);
+ networkStream.Write(hostBuffer, 0, hostBuffer.Length);
+ networkStream.Write(contentLengthBuffer, 0, contentLengthBuffer.Length);
+ networkStream.Write(authorizationBuffer, 0, authorizationBuffer.Length);
+ networkStream.Write(connectionBuffer, 0, connectionBuffer.Length);
+
+ return networkStream;
+ }
+
+ throw new IOException("could not connect to server");
+ }
+
+
+ public async Task GetReadStreamAsync(string resourceHref)
+ {
+ return await Task.Factory.StartNew(() => GetReadStream(resourceHref)).ConfigureAwait(false);
+ }
+
+ public Stream GetReadStream(string resourceHref)
+ {
+ var serverUri = new Uri(this.Server);
+ string auth = "Basic " + Convert.ToBase64String(Encoding.Default.GetBytes(this._credential.UserName + ":" + this._credential.Password));
+ WebClient webClient = new WebClient();
+ webClient.Credentials = this._credential;
+ webClient.Headers.Add("Authorization", auth);
+ var fullPath = new UriBuilder(serverUri.Scheme, serverUri.Host, serverUri.Port, resourceHref);
+ return webClient.OpenRead(fullPath.ToString());
+ }
+
+ #endregion
+
+ public static void ParseResponse(string result)
+ {
+ try
+ {
+ var responseArray = Regex.Split(result, "\r\n");
+ if (responseArray.Length > 0 &&
+ responseArray[responseArray.Length - 1].Contains("http://sabredav.org/ns"))
+ {
+ XmlDocument doc = new XmlDocument();
+ doc.LoadXml(responseArray[responseArray.Length - 1]);
+ XmlNamespaceManager nsmgr = new XmlNamespaceManager(doc.NameTable);
+ nsmgr.AddNamespace("d", "DAV:");
+ nsmgr.AddNamespace("s", "http://sabredav.org/ns");
+ var error = doc.SelectSingleNode("d:error", nsmgr);
+ if (error != null)
+ {
+ var exception = error.SelectSingleNode("s:exception", nsmgr);
+ var message = error.SelectSingleNode("s:message", nsmgr);
+ if (exception != null && message != null)
+ {
+ throw new WebDAVException((int)HttpStatusCode.ExpectationFailed,
+ string.Format("{0}{1}{2}", exception.InnerText,
+ string.IsNullOrEmpty(message.InnerText) ? string.Empty : Environment.NewLine, message.InnerText));
+ }
+ }
+
+ }
+ }
+ catch (WebDAVException e)
+ {
+ throw;
+ }
+ catch { }
+ }
+ }
+}
diff --git a/WebDAVClient/Helpers/ResponseParser.cs b/WebDAVClient/Helpers/ResponseParser.cs
new file mode 100644
index 0000000..790d380
--- /dev/null
+++ b/WebDAVClient/Helpers/ResponseParser.cs
@@ -0,0 +1,170 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Net;
+using System.Xml;
+using WebDAVClient.Model;
+
+namespace WebDAVClient.Helpers
+{
+ ///
+ /// Represents the parser for response's results.
+ ///
+ internal static class ResponseParser
+ {
+ ///
+ /// Parses the disk item.
+ ///
+ /// The response text.
+ /// The parsed item.
+ public static Item ParseItem(Stream stream)
+ {
+ return ParseItems(stream).FirstOrDefault();
+ }
+
+ internal static XmlReaderSettings XmlReaderSettings = new XmlReaderSettings
+ {
+ IgnoreComments = true,
+ IgnoreProcessingInstructions = true,
+ IgnoreWhitespace = true
+ };
+
+ ///
+ /// Parses the disk items.
+ ///
+ /// The response text.
+ /// The list of parsed items.
+ public static IEnumerable
- ParseItems(Stream stream)
+ {
+ var items = new List
- ();
+ using (var reader = XmlReader.Create(stream, XmlReaderSettings))
+ {
+
+ Item itemInfo = null;
+ while (reader.Read())
+ {
+ if (reader.NodeType == XmlNodeType.Element)
+ {
+ switch (reader.LocalName.ToLower())
+ {
+ case "response":
+ itemInfo = new Item();
+ break;
+ case "href":
+ if (!reader.IsEmptyElement)
+ {
+ reader.Read();
+ var value = reader.Value;
+ value = value.Replace("#", "%23");
+ itemInfo.Href = value;
+ }
+ break;
+ case "creationdate":
+ if (!reader.IsEmptyElement)
+ {
+ reader.Read();
+ DateTime creationdate;
+ if (DateTime.TryParse(reader.Value, out creationdate))
+ itemInfo.CreationDate = creationdate;
+ }
+ break;
+ case "getlastmodified":
+ if (!reader.IsEmptyElement)
+ {
+ reader.Read();
+ DateTime lastmodified;
+ if (DateTime.TryParse(reader.Value, out lastmodified))
+ itemInfo.LastModified = lastmodified;
+ }
+ break;
+ case "displayname":
+ if (!reader.IsEmptyElement)
+ {
+ reader.Read();
+ itemInfo.DisplayName = reader.Value;
+ }
+ break;
+ case "getcontentlength":
+ if (!reader.IsEmptyElement)
+ {
+ reader.Read();
+ long contentLength;
+ if (long.TryParse(reader.Value, out contentLength))
+ itemInfo.ContentLength = contentLength;
+ }
+ break;
+ case "getcontenttype":
+ if (!reader.IsEmptyElement)
+ {
+ reader.Read();
+ itemInfo.ContentType = reader.Value;
+ }
+ break;
+ case "getetag":
+ if (!reader.IsEmptyElement)
+ {
+ reader.Read();
+ itemInfo.Etag = reader.Value;
+ }
+ break;
+ case "iscollection":
+ if (!reader.IsEmptyElement)
+ {
+ reader.Read();
+ bool isCollection;
+ if (bool.TryParse(reader.Value, out isCollection))
+ itemInfo.IsCollection = isCollection;
+ int isCollectionInt;
+ if (int.TryParse(reader.Value, out isCollectionInt))
+ itemInfo.IsCollection = isCollectionInt == 1;
+ }
+ break;
+ case "resourcetype":
+ if (!reader.IsEmptyElement)
+ {
+ reader.Read();
+ var resourceType = reader.LocalName.ToLower();
+ if (string.Equals(resourceType, "collection", StringComparison.InvariantCultureIgnoreCase))
+ itemInfo.IsCollection = true;
+ }
+ break;
+ case "hidden":
+ case "ishidden":
+ itemInfo.IsHidden = true;
+ break;
+ case "checked-in":
+ case "version-controlled-configuration":
+ reader.Skip();
+ break;
+ default:
+ {
+ int a = 0;
+ break;
+ }
+ }
+ }
+ else if (reader.NodeType == XmlNodeType.EndElement && reader.LocalName.ToLower() == "response")
+ {
+ // Remove trailing / if the item is not a collection
+ var href = itemInfo.Href.TrimEnd('/');
+ if (!itemInfo.IsCollection)
+ {
+ itemInfo.Href = href;
+ }
+ if (string.IsNullOrEmpty(itemInfo.DisplayName) )
+ {
+ var name = href.Substring(href.LastIndexOf('/') + 1);
+ itemInfo.DisplayName = WebUtility.UrlDecode(name);
+ }
+ items.Add(itemInfo);
+ }
+ }
+ }
+
+ return items;
+ }
+
+
+ }
+}
diff --git a/WebDAVClient/Helpers/WebDAVConflictException.cs b/WebDAVClient/Helpers/WebDAVConflictException.cs
new file mode 100644
index 0000000..c78737a
--- /dev/null
+++ b/WebDAVClient/Helpers/WebDAVConflictException.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Runtime.Serialization;
+
+namespace WebDAVClient.Helpers
+{
+ public class WebDAVConflictException : WebDAVException
+ {
+ public WebDAVConflictException()
+ {
+ }
+
+ public WebDAVConflictException(string message)
+ : base(message)
+ {}
+
+ public WebDAVConflictException(string message, int hr)
+ : base(message, hr)
+ {}
+
+ public WebDAVConflictException(string message, Exception innerException)
+ : base(message, innerException)
+ {}
+
+ public WebDAVConflictException(int httpCode, string message, Exception innerException)
+ : base(httpCode, message, innerException)
+ {}
+
+ public WebDAVConflictException(int httpCode, string message)
+ : base(httpCode, message)
+ {}
+
+ public WebDAVConflictException(int httpCode, string message, int hr)
+ : base(httpCode, message, hr)
+ {}
+
+ protected WebDAVConflictException(SerializationInfo info, StreamingContext context)
+ : base(info, context)
+ {}
+ }
+}
\ No newline at end of file
diff --git a/WebDAVClient/Helpers/WebDAVException.cs b/WebDAVClient/Helpers/WebDAVException.cs
new file mode 100644
index 0000000..6145e2e
--- /dev/null
+++ b/WebDAVClient/Helpers/WebDAVException.cs
@@ -0,0 +1,51 @@
+using System;
+using System.Runtime.Serialization;
+using System.Web;
+
+namespace WebDAVClient.Helpers
+{
+ public class WebDAVException : HttpException
+ {
+ public WebDAVException()
+ {
+ }
+
+ public WebDAVException(string message)
+ : base(message)
+ {}
+
+ public WebDAVException(string message, int hr)
+ : base(message, hr)
+ {}
+
+ public WebDAVException(string message, Exception innerException)
+ : base(message, innerException)
+ {}
+
+ public WebDAVException(int httpCode, string message, Exception innerException)
+ : base(httpCode, message, innerException)
+ {}
+
+ public WebDAVException(int httpCode, string message)
+ : base(httpCode, message)
+ {}
+
+ public WebDAVException(int httpCode, string message, int hr)
+ : base(httpCode, message, hr)
+ {}
+
+ protected WebDAVException(SerializationInfo info, StreamingContext context)
+ : base(info, context)
+ {}
+
+ public override string ToString()
+ {
+ var s = string.Format("HttpStatusCode: {0}", base.GetHttpCode());
+ s += Environment.NewLine + string.Format("ErrorCode: {0}", ErrorCode);
+ s += Environment.NewLine + string.Format("Message: {0}", Message);
+ s += Environment.NewLine + base.ToString();
+
+ return s;
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebDAVClient/IClient.cs b/WebDAVClient/IClient.cs
new file mode 100644
index 0000000..f5c371b
--- /dev/null
+++ b/WebDAVClient/IClient.cs
@@ -0,0 +1,147 @@
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using WebDAVClient.Model;
+
+namespace WebDAVClient
+{
+ public interface IClient
+ {
+ ///
+ /// Specify the WebDAV hostname (required).
+ ///
+ string Server { get; set; }
+
+ ///
+ /// Specify the path of a WebDAV directory to use as 'root' (default: /)
+ ///
+ string BasePath { get; set; }
+
+ ///
+ /// Specify an port (default: null = auto-detect)
+ ///
+ int? Port { get; set; }
+
+ ///
+ /// Specify the UserAgent (and UserAgent version) string to use in requests
+ ///
+ string UserAgent { get; set; }
+ ///
+ /// Specify the UserAgent (and UserAgent version) string to use in requests
+ ///
+ string UserAgentVersion { get; set; }
+
+
+ ///
+ /// List all files present on the server.
+ ///
+ /// List only files in this path
+ /// Recursion depth
+ /// A list of files (entries without a trailing slash) and directories (entries with a trailing slash)
+ Task> List(string path = "/", int? depth = 1);
+
+ ///
+ /// Get folder information from the server.
+ ///
+ /// A list of files (entries without a trailing slash) and directories (entries with a trailing slash)
+ Task
- GetFolder(string path = "/");
+
+ ///
+ /// Get file information from the server.
+ ///
+ /// A list of files (entries without a trailing slash) and directories (entries with a trailing slash)
+ Task
- GetFile(string path = "/");
+
+ ///
+ /// Download a file from the server
+ ///
+ /// Source path and filename of the file on the server
+ Task Download(string remoteFilePath);
+
+ ///
+ /// Download a file from the server
+ ///
+ /// Source path and filename of the file on the server
+ ///
+ ///
+ Task Upload(string remoteFilePath, Stream content, string name);
+
+ ///
+ /// Create a directory on the server
+ ///
+ /// Destination path of the directory on the server
+ ///
+ Task CreateDir(string remotePath, string name);
+
+ ///
+ /// Get folder information from the server.
+ ///
+ /// A list of files (entries without a trailing slash) and directories (entries with a trailing slash)
+ Task DeleteFolder(string path = "/");
+
+ ///
+ /// Get file information from the server.
+ ///
+ /// A list of files (entries without a trailing slash) and directories (entries with a trailing slash)
+ Task DeleteFile(string path = "/");
+
+ ///
+ /// Move a folder on the server
+ ///
+ /// Source path of the folder on the server
+ /// Destination path of the folder on the server
+ Task MoveFolder(string srcFolderPath, string dstFolderPath);
+
+ ///
+ /// Move a file on the server
+ ///
+ /// Source path and filename of the file on the server
+ /// Destination path and filename of the file on the server
+ Task MoveFile(string srcFilePath, string dstFilePath);
+
+ ///
+ /// Copy a folder on the server
+ ///
+ /// Source path of the folder on the server
+ /// Destination path of the folder on the server
+ Task CopyFolder(string srcFolderPath, string dstFolderPath);
+
+ ///
+ /// Copy a file on the server
+ ///
+ /// Source path and filename of the file on the server
+ /// Destination path and filename of the file on the server
+ Task CopyFile(string srcFilePath, string dstFilePath);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ Stream GetWriteStream(long contentLength, string targetAbsolutePath);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ Task GetWriteStreamAsync(long contentLength, string targetAbsolutePath);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ Stream GetReadStream(string resourceHref);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ Task GetReadStreamAsync(string resourceHref);
+
+ }
+}
\ No newline at end of file
diff --git a/WebDAVClient/Model/Item.cs b/WebDAVClient/Model/Item.cs
new file mode 100644
index 0000000..5544ec4
--- /dev/null
+++ b/WebDAVClient/Model/Item.cs
@@ -0,0 +1,17 @@
+using System;
+
+namespace WebDAVClient.Model
+{
+ public class Item
+ {
+ public string Href { get; set; }
+ public DateTime? CreationDate { get; set; }
+ public string Etag { get; set; }
+ public bool IsHidden { get; set; }
+ public bool IsCollection { get; set; }
+ public string ContentType { get; set; }
+ public DateTime? LastModified { get; set; }
+ public string DisplayName { get; set; }
+ public long? ContentLength { get; set; }
+ }
+}
diff --git a/WebDAVClient/Properties/AssemblyInfo.cs b/WebDAVClient/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..04d9616
--- /dev/null
+++ b/WebDAVClient/Properties/AssemblyInfo.cs
@@ -0,0 +1,35 @@
+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("WebDAVClient")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("_")]
+[assembly: AssemblyProduct("Client")]
+[assembly: AssemblyCopyright("Copyright © 2015")]
+[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("74d8d673-b718-4c26-a7fa-9842d8b9a54c")]
+
+// 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.1.2.0")]
+[assembly: AssemblyFileVersion("1.1.2.0")]
diff --git a/WebDAVClient/WebDAVClient.csproj b/WebDAVClient/WebDAVClient.csproj
new file mode 100644
index 0000000..1d0e473
--- /dev/null
+++ b/WebDAVClient/WebDAVClient.csproj
@@ -0,0 +1,95 @@
+
+
+
+ Debug
+ AnyCPU
+ 9.0.30729
+ 2.0
+ {F21EB154-C84E-4390-87CF-271E3DF4F059}
+ Library
+ Properties
+ WebDAVClient
+ WebDAVClient
+ v4.5
+ 512
+
+
+
+
+ 3.5
+
+ ..\
+ true
+ 7dd4e9e5
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+ false
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+ false
+
+
+
+
+ 3.5
+
+
+
+ ..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll
+
+
+ ..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll
+
+
+
+
+ 3.5
+
+
+ 3.5
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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=322105. The missing file is {0}.
+
+
+
+
+
\ No newline at end of file
diff --git a/WebDAVClient/packages.config b/WebDAVClient/packages.config
new file mode 100644
index 0000000..cba8b3a
--- /dev/null
+++ b/WebDAVClient/packages.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/CommonServiceLocator.1.3/CommonServiceLocator.1.3.nupkg b/packages/CommonServiceLocator.1.3/CommonServiceLocator.1.3.nupkg
new file mode 100644
index 0000000..8cdb1fd
Binary files /dev/null and b/packages/CommonServiceLocator.1.3/CommonServiceLocator.1.3.nupkg differ
diff --git a/packages/CommonServiceLocator.1.3/lib/portable-net4+sl5+netcore45+wpa81+wp8/Microsoft.Practices.ServiceLocation.XML b/packages/CommonServiceLocator.1.3/lib/portable-net4+sl5+netcore45+wpa81+wp8/Microsoft.Practices.ServiceLocation.XML
new file mode 100644
index 0000000..dbfa9ae
--- /dev/null
+++ b/packages/CommonServiceLocator.1.3/lib/portable-net4+sl5+netcore45+wpa81+wp8/Microsoft.Practices.ServiceLocation.XML
@@ -0,0 +1,268 @@
+
+
+
+ Microsoft.Practices.ServiceLocation
+
+
+
+
+ The standard exception thrown when a ServiceLocator has an error in resolving an object.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+
+ The error message that explains the reason for the exception.
+
+
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+
+ The generic Service Locator interface. This interface is used
+ to retrieve services (instances identified by type and optional
+ name) from a container.
+
+
+
+
+ Get an instance of the given .
+
+ Type of object requested.
+ if there is an error resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get an instance of the given named .
+
+ Type of object requested.
+ Name the object was registered with.
+ if there is an error resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get all instances of the given currently
+ registered in the container.
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ A sequence of instances of the requested .
+
+
+
+ Get an instance of the given .
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get an instance of the given named .
+
+ Type of object requested.
+ Name the object was registered with.
+ if there is are errors resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get all instances of the given currently
+ registered in the container.
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ A sequence of instances of the requested .
+
+
+
+ This class provides the ambient container for this application. If your
+ framework defines such an ambient container, use ServiceLocator.Current
+ to get it.
+
+
+
+
+ Set the delegate that is used to retrieve the current container.
+
+ Delegate that, when called, will return
+ the current ambient container.
+
+
+
+ The current ambient container.
+
+
+
+
+ This class is a helper that provides a default implementation
+ for most of the methods of .
+
+
+
+
+ Implementation of .
+
+ The requested service.
+ if there is an error in resolving the service instance.
+ The requested object.
+
+
+
+ Get an instance of the given .
+
+ Type of object requested.
+ if there is an error resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get an instance of the given named .
+
+ Type of object requested.
+ Name the object was registered with.
+ if there is an error resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get all instances of the given currently
+ registered in the container.
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ A sequence of instances of the requested .
+
+
+
+ Get an instance of the given .
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get an instance of the given named .
+
+ Type of object requested.
+ Name the object was registered with.
+ if there is are errors resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get all instances of the given currently
+ registered in the container.
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ A sequence of instances of the requested .
+
+
+
+ When implemented by inheriting classes, this method will do the actual work of resolving
+ the requested service instance.
+
+ Type of instance requested.
+ Name of registered service you want. May be null.
+ The requested service instance.
+
+
+
+ When implemented by inheriting classes, this method will do the actual work of
+ resolving all the requested service instances.
+
+ Type of service requested.
+ Sequence of service instance objects.
+
+
+
+ Format the exception message for use in an
+ that occurs while resolving a single service.
+
+ The actual exception thrown by the implementation.
+ Type of service requested.
+ Name requested.
+ The formatted exception message string.
+
+
+
+ Format the exception message for use in an
+ that occurs while resolving multiple service instances.
+
+ The actual exception thrown by the implementation.
+ Type of service requested.
+ The formatted exception message string.
+
+
+
+ This delegate type is used to provide a method that will
+ return the current container. Used with the
+ static accessor class.
+
+ An .
+
+
+
+ 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 Activation error occurred while trying to get all instances of type {0}.
+
+
+
+
+ Looks up a localized string similar to Activation error occurred while trying to get instance of type {0}, key "{1}".
+
+
+
+
+ Looks up a localized string similar to ServiceLocationProvider must be set..
+
+
+
+
diff --git a/packages/CommonServiceLocator.1.3/lib/portable-net4+sl5+netcore45+wpa81+wp8/Microsoft.Practices.ServiceLocation.dll b/packages/CommonServiceLocator.1.3/lib/portable-net4+sl5+netcore45+wpa81+wp8/Microsoft.Practices.ServiceLocation.dll
new file mode 100644
index 0000000..95bbd51
Binary files /dev/null and b/packages/CommonServiceLocator.1.3/lib/portable-net4+sl5+netcore45+wpa81+wp8/Microsoft.Practices.ServiceLocation.dll differ
diff --git a/packages/CommonServiceLocator.1.3/lib/portable-net4+sl5+netcore45+wpa81+wp8/Microsoft.Practices.ServiceLocation.pdb b/packages/CommonServiceLocator.1.3/lib/portable-net4+sl5+netcore45+wpa81+wp8/Microsoft.Practices.ServiceLocation.pdb
new file mode 100644
index 0000000..d5f24e4
Binary files /dev/null and b/packages/CommonServiceLocator.1.3/lib/portable-net4+sl5+netcore45+wpa81+wp8/Microsoft.Practices.ServiceLocation.pdb differ
diff --git a/packages/EnterpriseLibrary.Common.6.0.1304.0/EnterpriseLibrary.Common.6.0.1304.0.nupkg b/packages/EnterpriseLibrary.Common.6.0.1304.0/EnterpriseLibrary.Common.6.0.1304.0.nupkg
new file mode 100644
index 0000000..9679d61
Binary files /dev/null and b/packages/EnterpriseLibrary.Common.6.0.1304.0/EnterpriseLibrary.Common.6.0.1304.0.nupkg differ
diff --git a/packages/EnterpriseLibrary.Common.6.0.1304.0/EnterpriseLibrary.Configuration.xsd b/packages/EnterpriseLibrary.Common.6.0.1304.0/EnterpriseLibrary.Configuration.xsd
new file mode 100644
index 0000000..271bc5a
--- /dev/null
+++ b/packages/EnterpriseLibrary.Common.6.0.1304.0/EnterpriseLibrary.Configuration.xsd
@@ -0,0 +1,608 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/EnterpriseLibrary.Common.6.0.1304.0/Update-EntlibConfiguration.ps1 b/packages/EnterpriseLibrary.Common.6.0.1304.0/Update-EntlibConfiguration.ps1
new file mode 100644
index 0000000..087b7fa
--- /dev/null
+++ b/packages/EnterpriseLibrary.Common.6.0.1304.0/Update-EntlibConfiguration.ps1
@@ -0,0 +1,194 @@
+# ==============================================================================
+# Microsoft patterns & practices Enterprise Library
+# ==============================================================================
+# Copyright © Microsoft Corporation. All rights reserved.
+# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
+# OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
+# LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+# FITNESS FOR A PARTICULAR PURPOSE.
+# ==============================================================================
+
+[CmdletBinding(SupportsShouldProcess=$True)]
+Param(
+ [Parameter(Position=1)]
+ [string]$Path,
+
+ [switch]$Recurse,
+
+ [switch]$Force
+)
+
+# set up the replacements
+$replacements = @()
+$replacements += ,@( '(?Microsoft\.Practices\.EnterpriseLibrary\.[^,]+),\s*Version=\d+\.\d+\.\d+\.\d+', '${assembly}, Version=6.0.0.0' )
+$replacements += ,@( 'Microsoft\.Practices\.EnterpriseLibrary\.WindowsAzure\.TransientFaultHandling\.Configuration\.RetryPolicyConfigurationSettings,\s*Microsoft\.Practices\.EnterpriseLibrary\.WindowsAzure\.TransientFaultHandling', 'Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Configuration.RetryPolicyConfigurationSettings, Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Configuration' )
+$replacements += ,@( 'Microsoft\.Practices\.EnterpriseLibrary\.ExceptionHandling\.PolicyInjection\.ExceptionCallHandler,\s*Microsoft\.Practices\.EnterpriseLibrary\.ExceptionHandling', 'Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.PolicyInjection.ExceptionCallHandler, Microsoft.Practices.EnterpriseLibrary.PolicyInjection' )
+$replacements += ,@( 'Microsoft\.Practices\.EnterpriseLibrary\.Logging\.PolicyInjection\.LogCallHandler,\s*Microsoft\.Practices\.EnterpriseLibrary\.Logging', 'Microsoft.Practices.EnterpriseLibrary.Logging.PolicyInjection.LogCallHandler, Microsoft.Practices.EnterpriseLibrary.PolicyInjection' )
+$replacements += ,@( 'Microsoft\.Practices\.EnterpriseLibrary\.Validation\.PolicyInjection\.ValidationCallHandler,\s*Microsoft\.Practices\.EnterpriseLibrary\.Validation', 'Microsoft.Practices.EnterpriseLibrary.Validation.PolicyInjection.ValidationCallHandler, Microsoft.Practices.EnterpriseLibrary.PolicyInjection' )
+
+$configurationFiles = Get-ChildItem $Path -Include *.config -Recurse:$Recurse
+
+foreach ($configurationFile in $configurationFiles)
+{
+ if($PSCmdlet.ShouldProcess($configurationFile))
+ {
+ Write-Verbose "Updating $configurationFile"
+
+ $content = Get-Content $configurationFile
+
+ foreach ($replacement in $replacements)
+ {
+ $content = $content -replace $replacement[0], $replacement[1]
+ }
+
+ Set-Content -Path $configurationFile -Value $content -Force:$Force -WhatIf:$false -Confirm:$false
+ }
+}
+
+Write-Verbose "Finished"
+
+# SIG # Begin signature block
+# MIIavwYJKoZIhvcNAQcCoIIasDCCGqwCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
+# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
+# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUik71SohPThZ93KvxYc394oKr
+# n0+gghWCMIIEwzCCA6ugAwIBAgITMwAAADQkMUDJoMF5jQAAAAAANDANBgkqhkiG
+# 9w0BAQUFADB3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4G
+# A1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSEw
+# HwYDVQQDExhNaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EwHhcNMTMwMzI3MjAwODI1
+# WhcNMTQwNjI3MjAwODI1WjCBszELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp
+# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw
+# b3JhdGlvbjENMAsGA1UECxMETU9QUjEnMCUGA1UECxMebkNpcGhlciBEU0UgRVNO
+# OkI4RUMtMzBBNC03MTQ0MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBT
+# ZXJ2aWNlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5RoHrQqWLNS2
+# NGTLNCDyvARYgou1CdxS1HCf4lws5/VqpPW2LrGBhlkB7ElsKQQe9TiLVxj1wDIN
+# 7TSQ7MZF5buKCiWq76F7h9jxcGdKzWrc5q8FkT3tBXDrQc+rsSVmu6uitxj5eBN4
+# dc2LM1x97WfE7QP9KKxYYMF7vYCNM5NhYgixj1ESZY9BfsTVJektZkHTQzT6l4H4
+# /Ieh7TlSH/jpPv9egMkGNgfb27lqxzfPhrUaS0rUJfLHyI2vYWeK2lMv80wegyxj
+# yqAQUhG6gVhzQoTjNLLu6pO+TILQfZYLT38vzxBdGkVmqwLxXyQARsHBVdKDckIi
+# hjqkvpNQAQIDAQABo4IBCTCCAQUwHQYDVR0OBBYEFF9LQt4MuTig1GY2jVb7dFlJ
+# ZoErMB8GA1UdIwQYMBaAFCM0+NlSRnAK7UD7dvuzK7DDNbMPMFQGA1UdHwRNMEsw
+# SaBHoEWGQ2h0dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3Rz
+# L01pY3Jvc29mdFRpbWVTdGFtcFBDQS5jcmwwWAYIKwYBBQUHAQEETDBKMEgGCCsG
+# AQUFBzAChjxodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY3Jv
+# c29mdFRpbWVTdGFtcFBDQS5jcnQwEwYDVR0lBAwwCgYIKwYBBQUHAwgwDQYJKoZI
+# hvcNAQEFBQADggEBAA9CUKDVHq0XPx8Kpis3imdYLbEwTzvvwldp7GXTTMVQcvJz
+# JfbkhALFdRxxWEOr8cmqjt/Kb1g8iecvzXo17GbX1V66jp9XhpQQoOtRN61X9id7
+# I08Z2OBtdgQlMGESraWOoya2SOVT8kVOxbiJJxCdqePPI+l5bK6TaDoa8xPEFLZ6
+# Op5B2plWntDT4BaWkHJMrwH3JAb7GSuYslXMep/okjprMXuA8w6eV4u35gW2OSWa
+# l4IpNos4rq6LGqzu5+wuv0supQc1gfMTIOq0SpOev5yDVn+tFS9cKXELlGc4/DC/
+# Zef1Od7qIu2HjKuyO7UBwq3g/I4lFQwivp8M7R0wggTsMIID1KADAgECAhMzAAAA
+# sBGvCovQO5/dAAEAAACwMA0GCSqGSIb3DQEBBQUAMHkxCzAJBgNVBAYTAlVTMRMw
+# EQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVN
+# aWNyb3NvZnQgQ29ycG9yYXRpb24xIzAhBgNVBAMTGk1pY3Jvc29mdCBDb2RlIFNp
+# Z25pbmcgUENBMB4XDTEzMDEyNDIyMzMzOVoXDTE0MDQyNDIyMzMzOVowgYMxCzAJ
+# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k
+# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xDTALBgNVBAsTBE1PUFIx
+# HjAcBgNVBAMTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjCCASIwDQYJKoZIhvcNAQEB
+# BQADggEPADCCAQoCggEBAOivXKIgDfgofLwFe3+t7ut2rChTPzrbQH2zjjPmVz+l
+# URU0VKXPtIupP6g34S1Q7TUWTu9NetsTdoiwLPBZXKnr4dcpdeQbhSeb8/gtnkE2
+# KwtA+747urlcdZMWUkvKM8U3sPPrfqj1QRVcCGUdITfwLLoiCxCxEJ13IoWEfE+5
+# G5Cw9aP+i/QMmk6g9ckKIeKq4wE2R/0vgmqBA/WpNdyUV537S9QOgts4jxL+49Z6
+# dIhk4WLEJS4qrp0YHw4etsKvJLQOULzeHJNcSaZ5tbbbzvlweygBhLgqKc+/qQUF
+# 4eAPcU39rVwjgynrx8VKyOgnhNN+xkMLlQAFsU9lccUCAwEAAaOCAWAwggFcMBMG
+# A1UdJQQMMAoGCCsGAQUFBwMDMB0GA1UdDgQWBBRZcaZaM03amAeA/4Qevof5cjJB
+# 8jBRBgNVHREESjBIpEYwRDENMAsGA1UECxMETU9QUjEzMDEGA1UEBRMqMzE1OTUr
+# NGZhZjBiNzEtYWQzNy00YWEzLWE2NzEtNzZiYzA1MjM0NGFkMB8GA1UdIwQYMBaA
+# FMsR6MrStBZYAck3LjMWFrlMmgofMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9j
+# cmwubWljcm9zb2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY0NvZFNpZ1BDQV8w
+# OC0zMS0yMDEwLmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6
+# Ly93d3cubWljcm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljQ29kU2lnUENBXzA4LTMx
+# LTIwMTAuY3J0MA0GCSqGSIb3DQEBBQUAA4IBAQAx124qElczgdWdxuv5OtRETQie
+# 7l7falu3ec8CnLx2aJ6QoZwLw3+ijPFNupU5+w3g4Zv0XSQPG42IFTp8263Os8ls
+# ujksRX0kEVQmMA0N/0fqAwfl5GZdLHudHakQ+hywdPJPaWueqSSE2u2WoN9zpO9q
+# GqxLYp7xfMAUf0jNTbJE+fA8k21C2Oh85hegm2hoCSj5ApfvEQO6Z1Ktwemzc6bS
+# Y81K4j7k8079/6HguwITO10g3lU/o66QQDE4dSheBKlGbeb1enlAvR/N6EXVruJd
+# PvV1x+ZmY2DM1ZqEh40kMPfvNNBjHbFCZ0oOS786Du+2lTqnOOQlkgimiGaCMIIF
+# vDCCA6SgAwIBAgIKYTMmGgAAAAAAMTANBgkqhkiG9w0BAQUFADBfMRMwEQYKCZIm
+# iZPyLGQBGRYDY29tMRkwFwYKCZImiZPyLGQBGRYJbWljcm9zb2Z0MS0wKwYDVQQD
+# EyRNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMTAwODMx
+# MjIxOTMyWhcNMjAwODMxMjIyOTMyWjB5MQswCQYDVQQGEwJVUzETMBEGA1UECBMK
+# V2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0
+# IENvcnBvcmF0aW9uMSMwIQYDVQQDExpNaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBD
+# QTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJyWVwZMGS/HZpgICBC
+# mXZTbD4b1m/My/Hqa/6XFhDg3zp0gxq3L6Ay7P/ewkJOI9VyANs1VwqJyq4gSfTw
+# aKxNS42lvXlLcZtHB9r9Jd+ddYjPqnNEf9eB2/O98jakyVxF3K+tPeAoaJcap6Vy
+# c1bxF5Tk/TWUcqDWdl8ed0WDhTgW0HNbBbpnUo2lsmkv2hkL/pJ0KeJ2L1TdFDBZ
+# +NKNYv3LyV9GMVC5JxPkQDDPcikQKCLHN049oDI9kM2hOAaFXE5WgigqBTK3S9dP
+# Y+fSLWLxRT3nrAgA9kahntFbjCZT6HqqSvJGzzc8OJ60d1ylF56NyxGPVjzBrAlf
+# A9MCAwEAAaOCAV4wggFaMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFMsR6MrS
+# tBZYAck3LjMWFrlMmgofMAsGA1UdDwQEAwIBhjASBgkrBgEEAYI3FQEEBQIDAQAB
+# MCMGCSsGAQQBgjcVAgQWBBT90TFO0yaKleGYYDuoMW+mPLzYLTAZBgkrBgEEAYI3
+# FAIEDB4KAFMAdQBiAEMAQTAfBgNVHSMEGDAWgBQOrIJgQFYnl+UlE/wq4QpTlVnk
+# pDBQBgNVHR8ESTBHMEWgQ6BBhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtp
+# L2NybC9wcm9kdWN0cy9taWNyb3NvZnRyb290Y2VydC5jcmwwVAYIKwYBBQUHAQEE
+# SDBGMEQGCCsGAQUFBzAChjhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2Nl
+# cnRzL01pY3Jvc29mdFJvb3RDZXJ0LmNydDANBgkqhkiG9w0BAQUFAAOCAgEAWTk+
+# fyZGr+tvQLEytWrrDi9uqEn361917Uw7LddDrQv+y+ktMaMjzHxQmIAhXaw9L0y6
+# oqhWnONwu7i0+Hm1SXL3PupBf8rhDBdpy6WcIC36C1DEVs0t40rSvHDnqA2iA6VW
+# 4LiKS1fylUKc8fPv7uOGHzQ8uFaa8FMjhSqkghyT4pQHHfLiTviMocroE6WRTsgb
+# 0o9ylSpxbZsa+BzwU9ZnzCL/XB3Nooy9J7J5Y1ZEolHN+emjWFbdmwJFRC9f9Nqu
+# 1IIybvyklRPk62nnqaIsvsgrEA5ljpnb9aL6EiYJZTiU8XofSrvR4Vbo0HiWGFzJ
+# NRZf3ZMdSY4tvq00RBzuEBUaAF3dNVshzpjHCe6FDoxPbQ4TTj18KUicctHzbMrB
+# 7HCjV5JXfZSNoBtIA1r3z6NnCnSlNu0tLxfI5nI3EvRvsTxngvlSso0zFmUeDord
+# EN5k9G/ORtTTF+l5xAS00/ss3x+KnqwK+xMnQK3k+eGpf0a7B2BHZWBATrBC7E7t
+# s3Z52Ao0CW0cgDEf4g5U3eWh++VHEK1kmP9QFi58vwUheuKVQSdpw5OPlcmN2Jsh
+# rg1cnPCiroZogwxqLbt2awAdlq3yFnv2FoMkuYjPaqhHMS+a3ONxPdcAfmJH0c6I
+# ybgY+g5yjcGjPa8CQGr/aZuW4hCoELQ3UAjWwz0wggYHMIID76ADAgECAgphFmg0
+# AAAAAAAcMA0GCSqGSIb3DQEBBQUAMF8xEzARBgoJkiaJk/IsZAEZFgNjb20xGTAX
+# BgoJkiaJk/IsZAEZFgltaWNyb3NvZnQxLTArBgNVBAMTJE1pY3Jvc29mdCBSb290
+# IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0wNzA0MDMxMjUzMDlaFw0yMTA0MDMx
+# MzAzMDlaMHcxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYD
+# VQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xITAf
+# BgNVBAMTGE1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQTCCASIwDQYJKoZIhvcNAQEB
+# BQADggEPADCCAQoCggEBAJ+hbLHf20iSKnxrLhnhveLjxZlRI1Ctzt0YTiQP7tGn
+# 0UytdDAgEesH1VSVFUmUG0KSrphcMCbaAGvoe73siQcP9w4EmPCJzB/LMySHnfL0
+# Zxws/HvniB3q506jocEjU8qN+kXPCdBer9CwQgSi+aZsk2fXKNxGU7CG0OUoRi4n
+# rIZPVVIM5AMs+2qQkDBuh/NZMJ36ftaXs+ghl3740hPzCLdTbVK0RZCfSABKR2YR
+# JylmqJfk0waBSqL5hKcRRxQJgp+E7VV4/gGaHVAIhQAQMEbtt94jRrvELVSfrx54
+# QTF3zJvfO4OToWECtR0Nsfz3m7IBziJLVP/5BcPCIAsCAwEAAaOCAaswggGnMA8G
+# A1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFCM0+NlSRnAK7UD7dvuzK7DDNbMPMAsG
+# A1UdDwQEAwIBhjAQBgkrBgEEAYI3FQEEAwIBADCBmAYDVR0jBIGQMIGNgBQOrIJg
+# QFYnl+UlE/wq4QpTlVnkpKFjpGEwXzETMBEGCgmSJomT8ixkARkWA2NvbTEZMBcG
+# CgmSJomT8ixkARkWCW1pY3Jvc29mdDEtMCsGA1UEAxMkTWljcm9zb2Z0IFJvb3Qg
+# Q2VydGlmaWNhdGUgQXV0aG9yaXR5ghB5rRahSqClrUxzWPQHEy5lMFAGA1UdHwRJ
+# MEcwRaBDoEGGP2h0dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9wa2kvY3JsL3Byb2R1
+# Y3RzL21pY3Jvc29mdHJvb3RjZXJ0LmNybDBUBggrBgEFBQcBAQRIMEYwRAYIKwYB
+# BQUHMAKGOGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljcm9z
+# b2Z0Um9vdENlcnQuY3J0MBMGA1UdJQQMMAoGCCsGAQUFBwMIMA0GCSqGSIb3DQEB
+# BQUAA4ICAQAQl4rDXANENt3ptK132855UU0BsS50cVttDBOrzr57j7gu1BKijG1i
+# uFcCy04gE1CZ3XpA4le7r1iaHOEdAYasu3jyi9DsOwHu4r6PCgXIjUji8FMV3U+r
+# kuTnjWrVgMHmlPIGL4UD6ZEqJCJw+/b85HiZLg33B+JwvBhOnY5rCnKVuKE5nGct
+# xVEO6mJcPxaYiyA/4gcaMvnMMUp2MT0rcgvI6nA9/4UKE9/CCmGO8Ne4F+tOi3/F
+# NSteo7/rvH0LQnvUU3Ih7jDKu3hlXFsBFwoUDtLaFJj1PLlmWLMtL+f5hYbMUVbo
+# nXCUbKw5TNT2eb+qGHpiKe+imyk0BncaYsk9Hm0fgvALxyy7z0Oz5fnsfbXjpKh0
+# NbhOxXEjEiZ2CzxSjHFaRkMUvLOzsE1nyJ9C/4B5IYCeFTBm6EISXhrIniIh0EPp
+# K+m79EjMLNTYMoBMJipIJF9a6lbvpt6Znco6b72BJ3QGEe52Ib+bgsEnVLaxaj2J
+# oXZhtG6hE6a/qkfwEm/9ijJssv7fUciMI8lmvZ0dhxJkAj0tr1mPuOQh5bWwymO0
+# eFQF1EEuUKyUsKV4q7OglnUa2ZKHE3UiLzKoCG6gW4wlv6DvhMoh1useT8ma7kng
+# 9wFlb4kLfchpyOZu6qeXzjEp/w7FW1zYTRuh2Povnj8uVRZryROj/TGCBKcwggSj
+# AgEBMIGQMHkxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYD
+# VQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xIzAh
+# BgNVBAMTGk1pY3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBAhMzAAAAsBGvCovQO5/d
+# AAEAAACwMAkGBSsOAwIaBQCggcAwGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQw
+# HAYKKwYBBAGCNwIBCzEOMAwGCisGAQQBgjcCARUwIwYJKoZIhvcNAQkEMRYEFC+s
+# 4Twt2UUjPxYE8AsDvn3tSUkSMGAGCisGAQQBgjcCAQwxUjBQoCqAKABFAG4AdABl
+# AHIAcAByAGkAcwBlACAATABpAGIAcgBhAHIAeQAgADahIoAgaHR0cDovL21zZG4u
+# bWljcm9zb2Z0LmNvbS9lbnRsaWIwDQYJKoZIhvcNAQEBBQAEggEAFN5/2MVyJBWL
+# UvCmVO+DUuMHqafoeYEru3AMa37NIixYbwY+WkXygiT2xY4vO94RCaRFm4zk8mg7
+# fklt3TGJXmySdcgXsvxYmNfma5u9a0f6JEq2c00BxyinT+fcPy87YFb/xc9XiKyV
+# IBr+rNT3e1l0r6Razlz230fD+G0e8el5N5DJ8QOVGfYG5Ovdkyf7P61OzKUM0XLb
+# KOT4Hvi9rii1qKjjXy6lwl4L8Nt1HkcC6pEhXqyrFaELhdQEmeUuVCYqlppqyKHs
+# BEB/a0FBEWv5/i/g35lII+h/Vkbmrc4Pm0nuH0lD89Xeo2NzVAnZ2BJYIfg26j4S
+# 9wBLKoiUYqGCAigwggIkBgkqhkiG9w0BCQYxggIVMIICEQIBATCBjjB3MQswCQYD
+# VQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEe
+# MBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSEwHwYDVQQDExhNaWNyb3Nv
+# ZnQgVGltZS1TdGFtcCBQQ0ECEzMAAAA0JDFAyaDBeY0AAAAAADQwCQYFKw4DAhoF
+# AKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEz
+# MDQyNDIzMTkyMVowIwYJKoZIhvcNAQkEMRYEFN7VBxnV7xc4OfxGJDX7Qhj5eT1I
+# MA0GCSqGSIb3DQEBBQUABIIBAGEx2Jwho9j0fuVHXif+xwvkfy8d070/EfKsmT0Z
+# +nmYiKzZWQqX6A+Dyd3j6uzQHoWZ9esJgmpECdYdQY9+3TYqKl0rJ4vwEBGb12K7
+# HgMENUQLu/iiQj81PPC2r1yIoJd7IKVgu9r2mdJXispkSTC5MLsGoKjKYbPKElOv
+# 47SXjMYB5EvttoDPLyNPtiOOT7vE5JrKu93rcSKqTvp85/EFTZkByHEBmcoX3LCd
+# XPvQlTayL25UryuIlP/+Z08kn6Kj7AnMCDpkmcHBufSsC7BcLGMocV7Uol3g/9de
+# 6/g0xaVwwoad4OhrJHWFRx2CsHM3rys1RkzfuenZatvX1UI=
+# SIG # End signature block
diff --git a/packages/EnterpriseLibrary.Common.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.Common.dll b/packages/EnterpriseLibrary.Common.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.Common.dll
new file mode 100644
index 0000000..7471c30
Binary files /dev/null and b/packages/EnterpriseLibrary.Common.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.Common.dll differ
diff --git a/packages/EnterpriseLibrary.Common.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.Common.xml b/packages/EnterpriseLibrary.Common.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.Common.xml
new file mode 100644
index 0000000..9178156
--- /dev/null
+++ b/packages/EnterpriseLibrary.Common.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.Common.xml
@@ -0,0 +1,5332 @@
+
+
+
+ Microsoft.Practices.EnterpriseLibrary.Common
+
+
+
+
+ Converts a expressed in as formatted string or as a standard infinite timeout.
+
+
+
+
+ The string representation of an infinite timeout.
+
+
+
+
+ Converts the given object to a .
+
+ An that provides a format context.
+ An optional . If not supplied, the current culture is assumed.
+ The to convert.
+
+ An that represents the converted value.
+
+
+
+
+ Converts the given object to another type.
+
+ A formatter context.
+ The culture into which will be converted.
+ The object to convert.
+ The type to convert the object to.
+
+ The converted object.
+
+
+
+
+ Provides validation for a object allowing non-negative spans and
+ the value for .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Determines whether the value of an object is valid.
+
+ The value of an object.
+
+
+
+ Declaratively instructs the .NET Framework to perform time validation on a configuration property. This class cannot be inherited.
+
+
+
+
+ Gets the validator attribute instance.
+
+ The current .
+
+
+
+ Provides the friendly name of the application domain as the prefix in formatting a
+ particular instance of a performance counter.
+
+
+
+
+ Provides a pluggable way to format the name given to a particular instance of a performance counter.
+ Each instance of a performance counter in Enterprise Library is given a name of the format
+ "Name prefix - counter name"
+
+
+
+
+ Creates the formatted instance name for a performance counter, providing the prefix for the
+ instance.
+
+ Performance counter name, as defined during installation of the counter
+ Formatted instance name in form of "prefix - nameSuffix"
+
+
+
+ Creates an instance of the
+
+
+
+
+ Creates an instance of the with an Application Instance Name
+
+
+
+
+
+ Creates the formatted instance name for a performance counter, providing the Application
+ Domain friendly name for the prefix for the instance.
+
+ Performance counter name, as defined during installation of the counter
+ Formatted instance name in form of "appDomainFriendlyName - nameSuffix"
+
+
+
+ Provides a virtual performance counter interface that enables an application to maintain both individually
+ named counter instances and a single counter total instance.
+
+
+
+
+ Initializes a single performance counter instance named "Total".
+
+ Performance counter category name, as defined during installation.
+ Performance counter name, as defined during installation.
+
+
+
+ Initializes multiple instances of performance counters to be managed by this object.
+
+ Performance counter category name, as defined during installation.
+ Performance counter name, as defined during installation.
+ Instance names to be managed.
+
+
+
+ Initializes this object with performance counters that are created externally. It is the responsibility of the external
+ counter factory to create an instance for the "Total" counter.
+
+ Array of already initialized objects to be managed
+ by this instance.
+
+
+
+ Clears the raw count associated with all managed performance counters
+
+
+
+
+ Increments each performance counter managed by this instance.
+
+
+
+
+ Increments each performance counter managed by this instance by the given .
+
+ Amount by which to increment each counter.
+
+
+
+ Gets the current value of the given performance counter instance.
+
+ Instance name of counter whose value will be retrieved.
+ Value of the given performance counter.
+
+
+
+ Sets the value of the given performance counter instance.
+
+ Instance name of counter whose value will be set.
+ Value to set the given instance to.
+
+
+
+ Initializes a performance counter, giving it the specified .
+
+ Instance name to be given to the instantiated .
+ An initialized .
+
+
+
+ Increments the associated performance counters by one.
+
+ The instance to be incremented.
+
+
+
+ Gets the list of performance counter instances managed by this object.
+
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ Defines those classes and structs that have some sort of resources that need to be installed.
+
+
+
+
+ Defines a . Used by the reflection-based installers to
+ prepare a performance counter for installation.
+
+
+
+
+ Initializes this object with all data needed to install a .
+
+ Performance counter name.
+ Name of Help resource string. This is not the help text itself,
+ but is the resource name used to look up the internationalized help text at install-time.
+ Performance Counter type.
+
+
+
+ Used to determine if the counter being installed has a base counter associated with it.
+
+ True if counter being installed has a base counter associated with it.
+
+
+
+ Gets the type.
+
+
+
+
+ Get the name of Help resource string. This is not the help text itself,
+ but is the resource name used to look up the internationalized help text at install-time.
+
+
+
+
+ Gets the name.
+
+
+
+
+ Gets and sets the base type. This is an optional
+ property used when the counter being defined requires a base counter to operate, such as for
+ averages.
+
+
+
+
+ Gets and sets the base help resource name.
+ This is not the help text itself,
+ but is the resource name used to look up the internationalized help text at install-time.
+ This is an optional
+ property used when the counter being defined requires a base counter to operate, such as for
+ averages.
+
+
+
+
+ Gets and sets the base name. This is an optional
+ property used when the counter being defined requires a base counter to operate, such as for
+ averages.
+
+
+
+
+ Provides a pluggable way to format the name given to a particular instance of a performance counter.
+ This class does no formatting, returning the provided name suffix as the counter name.
+
+
+
+
+ Returns the given as the created name.
+
+ Performance counter name, as defined during installation of the counter
+ Formatted instance name in form of ""
+
+
+
+ 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 Cannot create design source for rootSource other than DesignConfigurationSource..
+
+
+
+
+ Looks up a localized string similar to The type '{0}' defined in the '{1}' configuration source is invalid.
+
+
+
+
+ Looks up a localized string similar to The exception that occured was: {0}.
+
+
+
+
+ Looks up a localized string similar to An error occurred in application {0} in the {1}..
+
+
+
+
+ Looks up a localized string similar to The type '{0}' does not derive from IDictionary..
+
+
+
+
+ Looks up a localized string similar to The type '{0}' does not derive from IList..
+
+
+
+
+ Looks up a localized string similar to The [Assembler] attribute is not set in the configuration object type {0}..
+
+
+
+
+ Looks up a localized string similar to The assembler configured for type {0} has type {2} which is not compatible with type {1}..
+
+
+
+
+ Looks up a localized string similar to The base ConfigurationSourceElement configuration type can not be used as a concrete configuration element..
+
+
+
+
+ Looks up a localized string similar to Cannot add new paramters after Finish() or Dispose()..
+
+
+
+
+ Looks up a localized string similar to The AssemblyQualifiedTypeNameConverter can only convert values of type '{0}'..
+
+
+
+
+ Looks up a localized string similar to Builder has already added policies..
+
+
+
+
+ Looks up a localized string similar to The section {0} could not be saved because the file does not exist..
+
+
+
+
+ Looks up a localized string similar to The configuration file {0} could not be found..
+
+
+
+
+ Looks up a localized string similar to The configuration object for type '{0}' with name '{1}' has type '{2}' which is does not implement ICustomProviderData..
+
+
+
+
+ Looks up a localized string similar to The concrete type for polymorphic object named '{1}' in hierarchy {2} is not defined in configuration object {0}..
+
+
+
+
+ Looks up a localized string similar to The configuration section '{0}' specifies Source '{1}', which is not declared in the configuration sources section..
+
+
+
+
+ Looks up a localized string similar to A configuration source named '{0}' was not found in the {1} section..
+
+
+
+
+ Looks up a localized string similar to The configuration source section is not found in the application configuration file..
+
+
+
+
+ Looks up a localized string similar to The required "ContainerPolicyCreatorAttribute" is not present in the supplied type "{0}"..
+
+
+
+
+ Looks up a localized string similar to The [CustomFactory] attribute was not found on type {0} while processing request for id '{1}'..
+
+
+
+
+ Looks up a localized string similar to Type '{0}' specified as a custom provider does not have the required public constructor with a single NameValueCollection parameter..
+
+
+
+
+ Looks up a localized string similar to There was an error raising an event in .
+
+
+
+
+ Looks up a localized string similar to The method with signature {0} is not a valid factory method to build type {1}..
+
+
+
+
+ Looks up a localized string similar to Cannot merge the configuration element.
+ The local elements type '{0}' is incompatible with the parent elements type '{1}'..
+
+
+
+
+ Looks up a localized string similar to The type '{0}' cannot be resolved. Please verify the spelling is correct or that the full type name is provided..
+
+
+
+
+ Looks up a localized string similar to The supplied configuration object has type '{0}', which is not a descendant of 'NameTypeConfigurationElement' as required..
+
+
+
+
+ Looks up a localized string similar to The required zero argument constructor is not available for the supplied type "{0}"..
+
+
+
+
+ Looks up a localized string similar to The required interface "IContainerPolicyCreator" is not implemented by the supplied type "{0}"..
+
+
+
+
+ Looks up a localized string similar to The configuration could not be found for name '{0}' in factory {1}..
+
+
+
+
+ Looks up a localized string similar to The type {0} does not contain the ConfigurationElementTypeAttribute..
+
+
+
+
+ Looks up a localized string similar to No policy specifying the configuration source for the container has been set. The EnterpriseLibraryCoreExtension is probably missing..
+
+
+
+
+ Looks up a localized string similar to No public constructor with {1} arguments was found for type "{0}"..
+
+
+
+
+ Looks up a localized string similar to The type {0} does not have a public method annotated as an injection target as required by the use of injection..
+
+
+
+
+ Looks up a localized string similar to The type {0} does not have a static method with a TargetConstructorAttribuite suitable to create an object of type {1}..
+
+
+
+
+ Looks up a localized string similar to The type attribute does not exist on the element {0}..
+
+
+
+
+ Looks up a localized string similar to The parameter '{0}' for injection target '{1}' in type '{2}' is missing the injection interpretation attribute..
+
+
+
+
+ Looks up a localized string similar to The performance counter '{0}' in category '{1}' is redefined in type {2} with a different configuration..
+
+
+
+
+ Looks up a localized string similar to Attempt to continue working with a PolicyBuilder after the policies have been added to a policy list for type '{1}' with key '{0}'..
+
+
+
+
+ Looks up a localized string similar to The specified policies cannot be added: a property policy mapping is still taking place..
+
+
+
+
+ Looks up a localized string similar to The supplied expression is not a valid property access expression: '{0}'..
+
+
+
+
+ Looks up a localized string similar to e {2}..
+
+
+
+
+ Looks up a localized string similar to Unable to find the redirected section {0} in the specified configuration source {1}..
+
+
+
+
+ Looks up a localized string similar to Service type of {0} is not compatible with supplied expression type of {1}.
+
+
+
+
+ Looks up a localized string similar to Lambda expression must construct a new instance of a type..
+
+
+
+
+ Looks up a localized string similar to The type {0} does not contain the ConfigurationDataRetrievalAttribute required to resolve named references..
+
+
+
+
+ Looks up a localized string similar to Method must be overriden by subclass..
+
+
+
+
+ Looks up a localized string similar to Could not retrieve parameter value. The property {0} does not exist for type {1}..
+
+
+
+
+ Looks up a localized string similar to The argument cannot be empty..
+
+
+
+
+ Looks up a localized string similar to The value can not be null or string or empty..
+
+
+
+
+ Looks up a localized string similar to A creation expression must be a constructor call, but the supplied expression was '{0}'..
+
+
+
+
+ Looks up a localized string similar to The system configuration source is not defined in the configuration file..
+
+
+
+
+ Looks up a localized string similar to The configuration object for default provider named '{0}' for type '{1}' was not found in the supplied list..
+
+
+
+
+ Looks up a localized string similar to The type {0} from configuration could not be created..
+
+
+
+
+ Looks up a localized string similar to Type does not provide a constructor taking a single parameter type of NameValueCollection.
+
+
+
+
+ Looks up a localized string similar to Type must be derived from '{0}'..
+
+
+
+
+ Looks up a localized string similar to Type must implement interface '{0}'..
+
+
+
+
+ Looks up a localized string similar to Type {0} is not an implementation of ICustomFactory for CustomFactoryAttribute..
+
+
+
+
+ Looks up a localized string similar to Type {0} is not an implementation of IConfigurationNameMapper for ConfigurationNameMapperAttribute..
+
+
+
+
+ Looks up a localized string similar to Type {0} is not an implementation of IConfigurationDataRetriever for ConfigurationDataRetrievalAttribute..
+
+
+
+
+ Looks up a localized string similar to Default policy creation failed: The properties in the supplied configuration object of type {0} cannot be matched to any constructor on type {1}..
+
+
+
+
+ Looks up a localized string similar to The expected type '{0}' was not provided..
+
+
+
+
+ Looks up a localized string similar to An call to an unknown method named '{0}' in the Resolve class was found in the supplied argument expression: '{1}'. Cannot create policies for this expression..
+
+
+
+
+ Looks up a localized string similar to Unrecognized Container marker method..
+
+
+
+
+ Looks up a localized string similar to Unrecognized DependencyParameter type: {0}.
+
+
+
+
+ Looks up a localized string similar to The initialization expression for property {0} is not supported: only simple bindings are supported..
+
+
+
+
+ Looks up a localized string similar to File Configuration Source.
+
+
+
+
+ Looks up a localized string similar to System Configuration Source.
+
+
+
+
+ Clones a .
+
+
+ This will perform a clone of a by evaluating each element in
+ the . If these properties are themselves they will
+ be cloned as well.
+
+ As items do not expose the ability to add and remove, any configuration collections
+ must implement to be cloned. If they do not implement this, they will be skipped
+ during cloning. The enterprise library collections implement this interface and the cloner will properly handle the cloning
+ of and with an internal wrapper that
+ implements for these collections.
+
+
+
+
+ Clones a
+
+ The to clone.
+ A new, cloned .
+
+
+
+
+
+
+
+
+
+
+
+ Implements common behavior for classes that add extended functionality to implementations.
+ This class can create subordinate sources based on the configuration and propagates change events
+ From these sources to the main source.
+
+
+
+
+
+
+
+ Creates a new instance of passing the implementation
+ That contains the configuration.
+
+ The implementation that should be extended.
+
+
+
+ Checks whether a call to should be extended.
+ If the call should be extended performs the extended behavior and returns the modified intance.
+ If the call should not be extended returns .
+
+ The name of the section that was retrieved from configuration.
+ The section that was retrieved from configuration.
+ The resulting instance.
+
+
+
+
+ When overridden in a derived class, checks whether a call to should be extended.
+ If the call should be extended performs the extended behavior and returns the modified intance.
+ If the call should not be extended returns .
+
+ The name of the section that was retrieved from configuration.
+ The section that was retrieved from configuration.
+ The instance passed as .
+
+
+
+
+ Checks whether a call to should be extended.
+ If the call should be extended performs the extended behavior.
+
+ The name of the section that should be stored in configuration.
+ The section that should be stored in configuration.
+ if the call to was handled by the extension.
+
+
+
+
+ When overridden in a derived class, checks whether a call to should be extended.
+ If the call should be extended performs the extended behavior.
+
+ The name of the section that should be stored in configuration.
+ The section that should be stored in configuration.
+
+
+
+
+
+ Checks whether a call to should be extended.
+ If the call should be extended performs the extended behavior.
+
+ The name of the section that should be removed from configuration.
+ if the call to was handled by the extension.
+
+
+
+
+ When overridden in a derived class, checks whether a call to should be extended.
+ If the call should be extended performs the extended behavior.
+
+ The name of the section that should be removed from configuration.
+
+
+
+
+
+ Performs intialization logic for this .
+
+
+
+
+ Performs re-intialization logic for this .
+
+
+
+
+ Perform required refresh actions as needed when source changes.
+
+ Sequence of changed sections
+
+
+
+ Raises the event.
+
+ The names of the sections that are changed.
+
+
+
+ Raises the event.
+
+ The name of the section that was changed.
+
+
+
+ Adds a subordinate to the .
+ This will not be refreshed or disposed.
+
+ The name under which the will be added.
+ The that will be added.
+
+
+
+ Returns a subordinate with the specified name.
+ Throws if the source was not found.
+
+ The name of the source that should be returned.
+ The instance.
+
+
+
+ Ensures events are raised for
+ Changes in a subordinate section.
+
+ The name of the subordinate configuration source that contains the section.
+ The name of the section events should be propagated for.
+
+
+
+ Stops raising events for
+ Changes in a subordinate section.
+
+ The name of the section events are propagated for.
+
+
+
+ Releases resources managed by this instance.
+
+
+
+
+ Releases unmanaged and - optionally - managed resources.
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Indicate that a mapped section from one of the subordinate 's was changed.
+
+
+
+
+ Indicate a subordinate 's was changed.
+
+
+
+
+ Implements compositional merge behavior to implementations.
+
+
+
+
+
+
+ Creates a new instance of .
+
+ The instance that should be extended.
+
+
+
+ Performs intialization logic for this .
+
+
+
+
+ Performs re-intialization logic for this .
+
+
+
+
+ Checks whether the result of a call to should be deferred to a subordinate source.
+ If the call should be deferred, returns the intance from the approriate source.
+ If the call should not be deferred returns .
+
+ The name of the section that was retrieved from configuration.
+ The section that was retrieved from configuration.
+ The resulting instance.
+
+ Thrown if a section does not exist in a registered source.
+
+
+
+ Checks whether a call to should be deferred to a subordinate source.
+ If the call should be deferred, adds the to the appropriate source and returns .
+ If the call should not be deferred returns .
+
+ The name of the section that should be added to configuration.
+ The section that should be added to configuration.
+ if the section was added in a subordinate source, otherwise .
+
+
+
+
+ Checks whether a call to should be deferred to a subordinate source.
+ If the call should be deferred, removes the section from the appropriate source and returns .
+ If the call should not be deferred returns .
+
+ The name of the section that should be removed from configuration.
+ if the section was removed from a subordinate source, otherwise .
+
+
+
+
+ Entry point that is used for programatically building up a configution source.
+
+
+
+
+ Defines a configuration source builder.
+
+
+
+
+ Interface that is used to build fluent interfaces and hides methods declared by from IntelliSense.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Adds a to the builder.
+
+ Name of section to add.
+ Configuration section to add.
+
+
+
+
+ Determines if a section name is contained in the builder.
+
+
+ True if contained in the builder, false otherwise.
+
+
+
+ Returns a configuration section with the given name, if present in the builder.
+
+ Name of section to return.
+ A valid configuration section or null.
+
+
+
+ Returns a configuration section of type , if present in the builder.
+
+ Section name to retrieve
+ type to return.
+
+
+
+
+ Updates a configuration source replacing any existing sections with those
+ built up with the builder.
+
+
+
+
+
+ Adds a to the builder.
+
+ Name of section to add.
+ Configuration section to add.
+
+
+
+
+ Determines if a section name is contained in the builder.
+
+
+ True if contained in the builder, false otherwise.
+
+
+
+ Returns a configuration section with the given name, if present in the builder.
+
+ Name of section to return.
+ A valid configuration section or null.
+
+
+
+ Returns a configuration section of type , if present in the builder.
+
+ Section name to retrieve
+ type to return.
+
+
+
+
+ Updates a configuration source replacing any existing sections with those
+ built up with the builder.
+
+
+
+
+
+
+
+
+ Represents a collection of objects.
+
+ The type of object this collection contains.
+ The type used for Custom configuration elements in this collection.
+
+
+
+ Represents a collection of objects.
+
+ The type of object this collection contains.
+ The type used for Custom configuration elements in this collection.
+
+
+
+ Represents the base class from which all implementations of polymorphic configuration collections must derive.
+
+ The type contained in the collection.
+
+
+
+ Represents a collection of objects.
+
+ A newable object that inherits from .
+
+
+
+ Interface that allows a to be merged.
+
+
+
+
+ Resets the elements in the to the s passed as .
+
+ The new contents of this .
+
+
+
+ Creates a new for the specifies .
+
+ The type of that should be created.
+
+
+
+ Performs the specified action on each element of the collection.
+
+ The action to perform.
+
+
+
+ Gets the configuration element at the specified index location.
+
+ The index location of the to return.
+ The at the specified index.
+
+
+
+ Add an instance of to the collection.
+
+ An instance of .
+
+
+
+ Gets the named instance of from the collection.
+
+ The name of the instance to retrieve.
+ The instance of with the specified key; otherwise, .
+
+
+
+ Determines if the name exists in the collection.
+
+ The name to search.
+ if the name is contained in the collection; otherwise, .
+
+
+
+ Remove the named element from the collection.
+
+ The name of the element to remove.
+
+
+
+ Clear the collection.
+
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+ An enumerator that iterates through the collection.
+
+
+
+ Creates a new instance of a object.
+
+ A new .
+
+
+
+ Gets the element key for a specified configuration element when overridden in a derived class.
+
+ The to return the key for.
+ An that acts as the key for the specified .
+
+
+
+ Resets the internal state of the object, including the locks and the properties collections.
+
+ The parent node of the configuration element.
+
+
+
+ Called when an unknown element is encountered while deserializing the object.
+
+ The name of the element.
+ The used to deserialize the element.
+ if the element was handled; otherwise, .
+
+
+
+ When overriden in a class, get the configuration object for each object in the collection.
+
+ The that is deserializing the element.
+
+
+
+ Creates a new .
+
+ A new .
+
+
+
+ Creates a new named .
+
+ The name of the element to create.
+ A new .
+
+
+
+ Reverses the effect of merging configuration information from different levels of the configuration hierarchy.
+
+ A object at the current level containing a merged view of the properties.
+ The parent object of the current element, or a reference (Nothing in Visual Basic) if this is the top level.
+ One of the values.
+
+
+
+ Get the configuration object for each object in the collection.
+
+ The that is deserializing the element.
+
+
+
+ Get the configuration object for each object in the collection.
+
+ The that is deserializing the element.
+
+
+
+ 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 Add Application Settings.
+
+
+
+
+ Looks up a localized string similar to Add Configuration Settings.
+
+
+
+
+ Looks up a localized string similar to Add Instrumentation Settings.
+
+
+
+
+ Looks up a localized string similar to Application Settings .
+
+
+
+
+ Looks up a localized string similar to Application Settings.
+
+
+
+
+ Looks up a localized string similar to General.
+
+
+
+
+ Looks up a localized string similar to Localization.
+
+
+
+
+ Looks up a localized string similar to (name).
+
+
+
+
+ Looks up a localized string similar to A manageability provider for a configuration element..
+
+
+
+
+ Looks up a localized string similar to Configuration Element Manageability Provider.
+
+
+
+
+ Looks up a localized string similar to The name of the Configuration Element Manageability Provider..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The type that is managed by the manageability provider..
+
+
+
+
+ Looks up a localized string similar to Target Type.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Configuration Element Manageability Provider..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A manageability provider for a configuration section..
+
+
+
+
+ Looks up a localized string similar to Configuration Section Manageability Provider.
+
+
+
+
+ Looks up a localized string similar to A collection of Manageability Providers that the receiver might require to provide
+ manageability to configuration elements..
+
+
+
+
+ Looks up a localized string similar to Manageability Providers.
+
+
+
+
+ Looks up a localized string similar to The name of the Manageability Provider..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Manageability Provider..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to The element that represents a configuration source ..
+
+
+
+
+ Looks up a localized string similar to An element that contains configurtain information..
+
+
+
+
+ Looks up a localized string similar to The name of the Configuration Source Element..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Configuration Source Element..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to Configuration settings that determine the sources of configuration information for an application..
+
+
+
+
+ Looks up a localized string similar to Configuration Sources.
+
+
+
+
+ Looks up a localized string similar to The name of the Configuration Source containing the section that this Redirected Section will override..
+
+
+
+
+ Looks up a localized string similar to Parent Source.
+
+
+
+
+ Looks up a localized string similar to The list of Redirected Sections for this application configuration..
+
+
+
+
+ Looks up a localized string similar to Redirected Sections.
+
+
+
+
+ Looks up a localized string similar to The name of the default Configuration Source..
+
+
+
+
+ Looks up a localized string similar to Selected Source.
+
+
+
+
+ Looks up a localized string similar to The collection of defined configuration sources..
+
+
+
+
+ Looks up a localized string similar to Sources.
+
+
+
+
+ Looks up a localized string similar to A Configuration Source that reads configuration information from a disk file.
+ The file must contain XML data in the standard .NET configuration format..
+
+
+
+
+ Looks up a localized string similar to File-based Configuration Source.
+
+
+
+
+ Looks up a localized string similar to The full path and name of the configuration file..
+
+
+
+
+ Looks up a localized string similar to File Path.
+
+
+
+
+ Looks up a localized string similar to Configuration files (*.config)|*.config|All Files (*.*)|*.*.
+
+
+
+
+ Looks up a localized string similar to The name of the File-based Configuration Source..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the File-based Configuration Source..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to The unique name for the Application Instance to be used by the Instrumentation providers..
+
+
+
+
+ Looks up a localized string similar to Application Instance Name.
+
+
+
+
+ Looks up a localized string similar to Configuration settings for Instrumentation for the entire application..
+
+
+
+
+ Looks up a localized string similar to Instrumentation Settings.
+
+
+
+
+ Looks up a localized string similar to Specifies if logging to Windows Event Log will take place when instrumented
+ events occur within Enterprise Library..
+
+
+
+
+ Looks up a localized string similar to Event Logging Enabled.
+
+
+
+
+ Looks up a localized string similar to Specifies if the Enterprise Library Performance Counters will be exposed and updated
+ when instrumented events occur within Enterprise Library..
+
+
+
+
+ Looks up a localized string similar to Performance Counters Enabled.
+
+
+
+
+ Looks up a localized string similar to Settings.
+
+
+
+
+ Looks up a localized string similar to Settings.
+
+
+
+
+ Looks up a localized string similar to A custom application settings, such as file paths or XML Web service URLs..
+
+
+
+
+ Looks up a localized string similar to Setting.
+
+
+
+
+ Looks up a localized string similar to Key.
+
+
+
+
+ Looks up a localized string similar to Key.
+
+
+
+
+ Looks up a localized string similar to Value.
+
+
+
+
+ Looks up a localized string similar to Value.
+
+
+
+
+ Looks up a localized string similar to The name of the application.
+ This used to determine the Registry path for the configuration information.
+ This value is required..
+
+
+
+
+ Looks up a localized string similar to Application Name.
+
+
+
+
+ Looks up a localized string similar to The collection of registered types necessary to provide manageability by the configuration source..
+
+
+
+
+ Looks up a localized string similar to Configuration Manageability Providers.
+
+
+
+
+ Looks up a localized string similar to A configuration source that integrates with Group Policy to apply domain-wide or
+ local machine policy overrides to provide centralized configuration management capabilities..
+
+
+
+
+ Looks up a localized string similar to Manageable Configuration Source.
+
+
+
+
+ Looks up a localized string similar to Specifies if the configuration source will take account of domain-wide or
+ local machine policy overrides configured in the Registry through Group Policy settings..
+
+
+
+
+ Looks up a localized string similar to Group Policy Enabled.
+
+
+
+
+ Looks up a localized string similar to The full path and name of the configuration file..
+
+
+
+
+ Looks up a localized string similar to File Path.
+
+
+
+
+ Looks up a localized string similar to The name of the Manageable Configuration Source..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Manageable Configuration Source..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A configuration element in a collection that is keyed by the name..
+
+
+
+
+ Looks up a localized string similar to Named Configuration Element.
+
+
+
+
+ Looks up a localized string similar to The name used to identify this item..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to A collection of Named Configuration elements..
+
+
+
+
+ Looks up a localized string similar to Named Element Collection.
+
+
+
+
+ Looks up a localized string similar to A collection of Name Type Configuration elements..
+
+
+
+
+ Looks up a localized string similar to Name Type Configuration Element Collection.
+
+
+
+
+ Looks up a localized string similar to A configuration element in a collection that contains both a type and a name..
+
+
+
+
+ Looks up a localized string similar to Name Type Configuration Element.
+
+
+
+
+ Looks up a localized string similar to The name of the Name Type Configuration Element..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Name Type Configuration Element..
+
+
+
+
+ Looks up a localized string similar to Type Name.
+
+
+
+
+ Looks up a localized string similar to A base class from which all implementations of polymorphic configuration collections derive..
+
+
+
+
+ Looks up a localized string similar to Polymorphic Configuration Element Collection.
+
+
+
+
+ Looks up a localized string similar to A redirected section for the application configuration.
+ Each section of the configuration can be loaded from a different configuration source if required.
+ Each Redirected Section configured in this list will override the same entire section in
+ the default Configuration Source..
+
+
+
+
+ Looks up a localized string similar to Redirected Section.
+
+
+
+
+ Looks up a localized string similar to The name of the Redirected Section..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The name of the Configuration Source that will handle the redirected section.
+ Must be one of the Configuration Sources defined for the application..
+
+
+
+
+ Looks up a localized string similar to Configuration Source.
+
+
+
+
+ Looks up a localized string similar to Represents a configuration section that can be serialized and deserialized to XML..
+
+
+
+
+ Looks up a localized string similar to Serializable Configuration Section.
+
+
+
+
+ Looks up a localized string similar to A configuration source that reads configuration data from the default configuration file.
+ Typically this is App.config or Web.config, depending on the application type..
+
+
+
+
+ Looks up a localized string similar to System Configuration Source.
+
+
+
+
+ Looks up a localized string similar to The name of the System Configuration Source..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the System Configuration Source..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A collection of Type Registration Provider elements..
+
+
+
+
+ Looks up a localized string similar to Type Registration Provider Element Collection.
+
+
+
+
+ Looks up a localized string similar to A provider for registering types..
+
+
+
+
+ Looks up a localized string similar to Type Registration Provider Element.
+
+
+
+
+ Looks up a localized string similar to The name of the Type Registration Provider Element..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The name of the type that implements the Type Registration Provider Element..
+
+
+
+
+ Looks up a localized string similar to Provider Type Name.
+
+
+
+
+ Looks up a localized string similar to The name of the configuration section within the configuration file..
+
+
+
+
+ Looks up a localized string similar to Section Name.
+
+
+
+
+ Looks up a localized string similar to The section of the configuration that specifies the Type Registration Providers for the application..
+
+
+
+
+ Looks up a localized string similar to Type Registration Providers Configuration Section.
+
+
+
+
+ Looks up a localized string similar to A collection of Type Registration providers..
+
+
+
+
+ Looks up a localized string similar to Type Registration Providers.
+
+
+
+
+ Attribute class used to decorate the design time view model with a Add Application Block command.
+ Add Application Block commands are added to the configuration tools main menu, underneath the 'Blocks' menu item.
+
+
+
+
+ Attribute used to decorate a designtime View Model element with an executable command. E.g. a context menu item that allows
+ the user to perform an action in the elements context.
+
+
+
+
+ Initializes a new instance of the class, specifying the Command Model Type.
+
+
+ The Command Model Type should derive from the CommandModel class in the Configuration.Design assembly.
+ As this attribute can be applied to the configuration directly and we dont want to force a dependency on the Configuration.Design assembly
+ You can specify the Command Model Type in a loosy coupled fashion.
+
+ The fully qualified name of the Command Model Type.
+
+
+
+ Initializes a new instance of the class, specifying the Command Model Type.
+
+
+ The Command Model Type should derive from the CommandModel class in the Configuration.Design assmbly.
+ As this attribute can be applied to the configuration directly and we dont want to force a dependency on the Configuration.Design assembly
+ You can specify the Command Model Type in a loosy coupled fashion.
+
+ The Command Model Type.
+
+
+
+ Gets or sets the name of the resource, used to return a localized title that will be shown for this command in the UI (User Interface).
+
+
+
+
+ Gets or sets the type of the resource, used to return a localized title that will be shown for this command in the UI (User Interface).
+
+
+
+
+ Gets the title that will be shown for this command in the UI (User Interface).
+
+
+
+
+ Gets or sets the options for this command.
+
+
+
+
+ Gets or sets the options for this command.
+
+
+
+
+ Gets or Sets the Command Model Type Name for this command.
+ The Command Model Type will be used at runtime to display and execute the command.
+ Command Model Types should derive from the CommandModel class in the Configuration.Design assembly.
+
+
+
+
+ Gets the Command Model Type for this command.
+ The Command Model Type will be used at runtime to display and execute the command.
+ Command Model Types should derive from the CommandModel class in the Configuration.Design assembly.
+
+
+
+
+ Defines the keyboard gesture for this command.
+
+
+ command.KeyGesture = "Ctrl+1";
+
+
+
+
+ When implemented in a derived class, gets a unique identifier for this .
+
+
+ An that is a unique identifier for the attribute.
+
+ 2
+
+
+
+ Initializes a new instance of the class.
+
+ The name of the configuration section that belongs to the application block that will be added.
+ The type of the configuration section that belongs to the application block that will be added.
+
+
+
+ Gets the name of the configuration section that belongs to the application block that will be added.
+
+
+
+
+ Gets the type of the configuration section that belongs to the application block that will be added.
+
+
+
+
+ Attribute used to overwrite the Add Command for providers that depend on the availability of another block (Sattelite Providers).
+
+
+
+
+ Initializes a new instance of the specifying the block dependency by its configuration section name.
+
+ The name of the configuran section, used to identify the block dependency.
+
+
+
+ Initializes a new instance of the specifying the block dependency by its configuration section name and will assign the value of a default provider to the added element.
+
+ The name of the configuran section, used to identify the block dependency.
+ The configuration type of the element that declares the default proviiders name.
+ The property that will be used to determine the name of the default provider.
+ The property on the created element that will be assigned the name of the default provider.
+
+
+
+ Gets the section name of the block dependency.
+
+
+
+
+ If a configuration element exists that specifies a default property, gets the configuration type of the declaring element.
+
+
+
+
+ If a configuration element exists that specifies a default property, gets the property that contains the name of the default value.
+
+
+
+
+ If the provider has a property that should be assigned the name of the default provider, gets the name of the property.
+
+
+
+
+ Container class for types and identifiers used to decorate the appSettings configuration schema with designtime information.
+
+
+
+
+ Name of appSettings section.
+
+
+
+
+ Container class for View Model Types used to decorate the appSettings configuration schema with designtime information.
+
+
+
+
+ Type Name of the Section View Model used to display application settings.
+
+
+
+
+ This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ Indicates the base class or interface that must be assignable from the type specified in the property that this attribute decorates.
+
+
+
+
+ Initializes a new instance of the class with the specified object.
+
+
+ The to filter selections.
+
+
+
+
+ Initializes a new instance of the class with the specified base object and configuration .
+
+ The base to filter.
+ The configuration object .
+
+
+
+ Initializes a new instance of the class with the specified object and .
+
+
+ The to filter selections.
+
+
+ One of the values.
+
+
+
+
+ Initializes a new instance of the class with the specified base object and configuration .
+
+
+ One of the values.
+
+ The base to filter.
+ The configuration object .
+
+
+
+ Gets the includes for the type selector.
+
+
+ The includes for the type selector.
+
+
+
+
+ Gets the to filter selections.
+
+
+ The to filter selections.
+
+
+
+
+ Gets the configuration object .
+
+
+ The configuration object .
+
+
+
+
+ Attribute class used to associate a class with an implementation.
+
+
+
+
+
+ Creates a new instance of the class.
+
+ The type of that should be associated with the target class.
+
+
+
+ Gets the type of that should be associated with the target class.
+
+
+ The type of that should be associated with the target class.
+
+
+
+
+ Specifies a default value for a configuration property.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The default value is a string representation which will be converted using .
+
+ The string representation of the default value.
+
+
+
+ Gets the string reprentation of the default value.
+
+
+ The string reprentation of the default value.
+
+
+
+
+ This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ configuration source to support design-time configuration of
+
+
+
+
+ Represents a configuration source that retrieves configuration information from an arbitrary file.
+
+
+ This configuration source uses a object to deserialize
+ configuration, so the configuration file must be a valid .NET Framework configuration file.
+
+
+
+
+ Represents the implementation details for file-based configuration sources.
+
+
+ This implementation deals with setting up the watcher over the configuration files to detect changes and update
+ the configuration representation. It also manages the change notification features provided by the file based
+ configuration sources.
+
+
+
+
+ This interface supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Augmented version of the interface intended to be used by unit tests.
+
+
+
+
+ Represents a source for getting configuration information.
+
+
+
+
+ Retrieves the specified .
+
+ The name of the section to be retrieved.
+ The specified , or (Nothing in Visual Basic)
+ if a section by that name is not found.
+
+
+
+ Adds a to the configuration source and saves the configuration source.
+
+
+ If a configuration section with the specified name already exists it will be replaced.
+
+ The name by which the should be added.
+ The configuration section to add.
+
+
+
+ Removes a from the configuration source.
+
+ The name of the section to remove.
+
+
+
+ Adds a handler to be called when changes to the section named are detected.
+
+ The name of the section to watch for.
+ The handler for the change event to add.
+
+
+
+ Removes a handler to be called when changes to section sectionName
are detected.
+
+ The name of the watched section.
+ The handler for the change event to remove.
+
+
+
+ Event raised when any section in this configuration source changes.
+
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ ConfigSource value for sections that existed in configuration but were later removed.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The path for the main configuration file.
+ trueif runtime changes should be refreshed, false otherwise.
+ The poll interval in milliseconds.
+
+
+
+ Retrieves the specified from the configuration file, and starts watching for
+ its changes if not watching already.
+
+ The section name.
+ The section, or if it doesn't exist.
+
+
+
+ Adds a handler to be called when changes to section sectionName
are detected.
+
+ The name of the section to watch for.
+ The handler.
+
+
+
+ Remove a handler to be called when changes to section sectionName
are detected.
+
+ The name of the section to watch for.
+ The handler.
+
+
+
+ Adds a to the configuration and saves the configuration source.
+
+
+ If a configuration section with the specified name already exists it will be replaced.
+ If a configuration section was retrieved from an instance of , a will be thrown.
+
+ The name by which the should be added.
+ The configuration section to add.
+ The configuration section was retrieved from an instance of or and cannot be added to the current source.
+
+
+
+ When implemented in a derived class, adds a to the configuration and saves the configuration source.
+
+
+ If a configuration section with the specified name already exists it should be replaced.
+
+ The name by which the should be added.
+ The configuration section to add.
+
+
+
+ Removes a from the configuration and saves the configuration source.
+
+ The name of the section to remove.
+
+
+
+ When implemented in a derived class, removes a from the configuration and saves the configuration source.
+
+ The name of the section to remove.
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+ The name of the updated configuration source.
+
+ Only needs to deal with concurrency to get the current sections and to update the watchers.
+
+ Rationale:
+ - Sections' are only added or updated.
+ - For this notification, all sections in the configuration file must be updated, and sections in external
+ files must be refreshed only if the config source changed.
+ - why not check after the original set of sections is retrieved?
+ -- Sections might have been added to the listener set after the original set is retrieved, but...
+ -- If they were added after the original set was retrieved, then they are up to date.
+ --- For this to happen, they couldn't have been read before the o.s., otherwise they would be a listener for them.
+ --- So, the retrieved information must be fresh (checked this with a test).
+ -- What about other changes?
+ --- Erased sections: only tested in the configuration file watching thread, because the meta configuration
+ is kept in the configuration file.
+ ---- Even if the external file an external is deleted because of the deletion, and this change is processed
+ before the configuration file change, the refresh for the external section will refresh all the sections for the file and
+ notify a change, without need for checking the change. The change would later be picked up by the configuration file watcher
+ which will notify again. This shouldn't be a problem.
+ --- External sections with changed sources. If they existed before, they must have been in the configuration file and there
+ was an entry in the bookeeping data structures.
+ - Concurrent updates for sections values should be handled by the system.config fx
+
+
+
+
+ Releases the resources used by the change watchers.
+
+
+
+
+ Releases the resources used by the change watchers.
+
+
+
+
+
+
+
+ Retrieves the specified from the configuration file.
+
+ The section name.
+ The section, or if it doesn't exist.
+
+
+
+ Raises the event.
+
+ The argument for the raised event.
+
+
+
+ Refreshes the configuration sections from the main configuration file and determines which sections have suffered notifications
+ and should be notified to registered handlers.
+
+ A dictionary with the configuration sections residing in the main configuration file that must be refreshed.
+ A dictionary with the configuration sections residing in external files that must be refreshed.
+ A new collection with the names of the sections that suffered changes and should be notified.
+ A new dictionary with the names and file names of the sections that have changed their location.
+
+
+
+ Refreshes the configuration sections from an external configuration file.
+
+ A collection with the names of the sections that suffered changes and should be refreshed.
+
+
+
+ Validates the parameters required to save a configuration section.
+
+
+
+
+ Event raised when any section in this configuration source has changed.
+
+
+
+
+ Gets the path of the configuration file for the configuration source.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Initializes a new instance of the class.
+
+ The configuration file path. The path can be absolute or relative.
+
+
+
+ Initializes a new instance of the class that will refresh changes
+ according to the value of the parameter.
+
+ The configuration file path. The path can be absolute or relative.
+ if changes to the configuration file should be notified.
+
+
+
+ Initializes a new instance of the that will refresh changes
+ according to the value of the parameter, polling every
+ milliseconds.
+
+ The configuration file path. The path can be absolute or relative.
+ if changes to the configuration file should be notified.
+ The poll interval in milliseconds.
+
+
+
+ Adds a to the configuration and saves the configuration source.
+
+
+ If a configuration section with the specified name already exists it will be replaced.
+
+ The name by which the should be added.
+ The configuration section to add.
+
+
+
+ Removes a from the configuration and saves the configuration source.
+
+ The name of the section to remove.
+
+
+
+ Adds a to the configuration and saves the configuration source using encryption.
+
+
+ If a configuration section with the specified name already exists it will be replaced.
+ If a configuration section was retrieved from an instance of , a will be thrown.
+
+ The name by which the should be added.
+ The configuration section to add.
+ The name of the protection provider to use when encrypting the section.
+ The configuration section was retrieved from an instance of or and cannot be added to the current source.
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Adds or replaces under name in the configuration and saves the configuration file.
+
+ The name for the section.
+ The configuration section to add or replace.
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Adds or replaces under name in the configuration
+ file and saves the configuration file using encryption.
+
+ The name for the section.
+ The configuration section to add or replace.
+ The name of the protection provider to use when encrypting the section.
+
+
+
+ Retrieves the specified from the configuration file.
+
+ The section name.
+ The section, or if it doesn't exist.
+
+
+
+ Refreshes the configuration sections from the main configuration file and determines which sections have
+ suffered notifications and should be notified to registered handlers.
+
+ A dictionary with the configuration sections residing in the main
+ configuration file that must be refreshed.
+ A dictionary with the configuration sections residing in external
+ files that must be refreshed.
+ A new collection with the names of the sections that suffered changes and
+ should be notified.
+ A new dictionary with the names and file names of the sections
+ that have changed their location.
+
+
+
+ Refreshes the configuration sections from an external configuration file.
+
+ A collection with the names of the sections that suffered changes and should
+ be refreshed.
+
+
+
+ Supports Enterprise Library design-time by providing ability to
+ retrieve, add, and remove sections.
+
+
+
+
+ Retrieves a local section from the configuration source.
+
+
+ The configuration section or null if it does not contain the section.
+
+
+
+ Adds a local section to the configuration source.
+
+
+
+
+
+
+ Removes a local section from the configuration source.
+
+
+
+
+
+ Initializes a new instance of based on file path.
+
+
+
+
+
+ Retrieves a local section from the configuration source.
+
+
+ The configuration section or null if it does not contain the section.
+
+
+
+ Adds a local section to the configuration source.
+
+
+
+
+
+
+ Removes a local section from the configuration source.
+
+
+
+
+
+ Creates a new instance of based on and .
+
+ The source that was used to open the main conifguration file.
+ An absolute of relative path to the file to which the source should be created.
+ A new instance of .
+
+
+
+ Gets the path of the configuration file for the configuration source.
+
+
+
+
+ Attribute class used to associate a class with an implementation.
+
+
+
+
+
+ Creates a new instance of the class.
+
+ The type of that should be associated with the target class.
+
+
+
+ Gets the type of that should be associated with the target class.
+
+
+ The type of that should be associated with the target class.
+
+
+
+
+ Attribute class that allows to specify a property that should be used as the Element View Model's name.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The reflection name of the property that will be used as the Element View Model's name.
+
+
+
+ Gets the reflection name of the property that will be used as the Element View Model's name.
+
+
+
+
+ Gets the Display Format that will be used to display the name property.
+ The Display Format should be a Format-string with 1 argument:
+ The token '{0}' will be replaced with the Name Properties value.
+
+
+
+
+ This attribute supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ Attribute class that can be oved to offer a properties add-commands to the containing Element View Model.
+ This can be usefull for properties that contain a collection of providers, of which the Element Collection View Model is not shown in the UI (User Interface).
+
+
+
+
+ Attribute that instructs the designtime to make the textbox for a property readonly.
+ This property can is used together with an , in which the created text box is readonly,
+ though the property can be edited by the editor.
+
+
+
+
+ Creates a new instance of .
+
+ if the textbox created for this property should be readonly, otherwise .
+
+
+
+ Returns if the textbox created for this property should be readonly, otherwise .
+
+
+
+
+ Registers a class as a metadata body class for another class.
+
+
+ When applying metadata attributes to classes, the target class might not always allow itself to be anotated.
+ This attribute can be used to nominate another class to contain the metadata attributes.
+ The metadata type should follow the same structure as the target type and its members cab be decorated with the metadata attributes.
+
+
+
+
+ Creates a new instance of .
+
+ The type for which this class should contain metadata attributes.
+
+
+
+ Gets the type for which this class should contain metadata attributes.
+
+
+ The type for which this class should contain metadata attributes.
+
+
+
+
+ Attribute class that is used to add a custom add command for a Element View Model.
+ The Type Picking Command displays a type picker prior to adding the target element and can use its result to initialize the added element.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The clr-name of the property to which the selected type should be assigned. This property is expected to be of type .
+
+
+
+ Gets the clr-name of the property to which the selected type should be assigned.
+
+
+ The clr-name of the property to which the selected type should be assigned.
+
+
+
+
+ Specifies whether a command replaces a default command.
+
+
+
+
+ Specifies that the command should be used to replace the default add command.
+
+
+
+
+ Specifies that the command should be used to replace the default delete command.
+
+
+
+
+ Specifies that the command should not be used to replace any default command.
+
+
+
+
+ Specifies the placement of a command. This can be either a top level menu, e.g.: or or
+ a context menu, e.g.: , .
+
+
+
+
+ Specifies placement of the command in the top level file menu.
+
+
+
+
+ Specifies placement of the command in the top level blocks menu.
+
+
+
+
+ Specifies placement of the command in the top level wizards menu.
+
+
+
+
+ Specifies placement of the command in the contextual add menu for an configuration element.
+
+
+
+
+ Specifies placement of the command in the custom commands menu for an configuration element.
+
+
+
+
+ Specifies placement of the command in the delete commands menu for an configuration element.
+
+
+
+
+ Determines if the corresponding property is read-only at designtime.
+
+
+ This attribute is used to mark properties that should be presented as read-only, but underlying code may change the value on.
+
+
+
+
+ Initializes a new instance of the class.
+
+ if the property should be read-only at designtime.
+
+
+
+ Determines if the property is read-only by design-time.
+ Returns if the property is read-only at design-time
+ and otherwise.
+
+
+
+
+ Attribute class used to indicate whether a property can be overwritten per environment.
+ The default behavior is that any property can be overwritten.
+
+
+
+
+ Initializes a new instance of the class.
+
+ to specify the property can be overwritten per environment. Otherwise .
+
+
+
+ if the property can be overwritten per environment. Otherwise .
+
+
+
+
+ Specifies a custom property type for the overrides property.
+
+
+
+
+ Specifies a that should be used to serialize the overriden value to the delta configuration file.
+ This can be used to overwrite a property that doesnt implement .
+
+
+
+
+ Specifies additional metadata for the FilteredFileNameEditor editor.
+
+
+
+
+ Initialize a new instance of the class with the containing the resources and the resource key.
+
+ The containing the resources.
+ The resource key.
+
+
+
+ Gets the filter for the dialog.
+
+
+ The filter for the dialog.
+
+
+
+
+ Gets or sets whether the Open File Dialog should only allow existing files to be selected.
+
+
+ if the Open File Dialog is used to open existing files. Otherwise .
+
+
+
+
+ Represents a localized .
+
+
+
+
+ Initialize a new instance of the class with the containing the resources and the resource name.
+
+ The resources string name.
+ The containing the resource strings.
+
+
+
+ Gets the localized string based on the key.
+
+ The key to the string resources.
+ The localized string.
+
+
+
+ Gets the type that contains the resources.
+
+
+ The type that contains the resources.
+
+
+
+
+ Returns a localized for the General category.
+
+
+
+
+ Class that contains common type names and metadata used by the designtime.
+
+
+
+
+ Class that contains common command types used by the designtime.
+
+
+
+
+ Type name of the AddSatelliteProviderCommand class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the AddApplicationBlockCommand class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the TypePickingCollectionElementAddCommand class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the ExportAdmTemplateCommand class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the HiddenCommand class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the AddInstrumentationBlockCommand class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the WizardCommand class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Class that contains common editor types used by the designtime.
+
+
+
+
+ Type name of the DatePickerEditor class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the ElementCollectionEditor, declared class in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the UITypeEditor class, declared in the System.Drawing Assembly.
+
+
+
+
+ Type name of the TypeSelectionEditor, declared class in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the FilteredFileNameEditor, declared class in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the FrameworkElement, declared class in the PresentationFramework Assembly.
+
+
+
+
+ Type name of the MultilineTextEditor class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the PopupTextEditor class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the FlagsEditor class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the RegexTypeEditor class, declared in the System.Design Assembly.
+
+
+
+
+ Type name of the ConnectionStringEditor class, declared in the System.Design Assembly.
+
+
+
+
+ Type name of the TemplateEditor class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the IEnvironmentalOverridesEditor interface, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Class that contains common view model types used by the designtime.
+
+
+
+
+ Type name of the TypeNameProperty class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the ConfigurationProperty class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the SectionViewModel class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the CollectionEditorContainedElementProperty class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the CollectionEditorContainedElementReferenceProperty class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the RedirectedSectionSourceProperty class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Class that contains common converter types used by the designtime runtime.
+
+
+
+
+ Type name of the RedirectedSectionNameConverter class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Class that contains common metadata classes used by the designtime.
+ This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+ This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+ This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+ Class that contains common validation types used by the designtime.
+
+
+
+
+ Type name of the FileWritableValidator class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the FilePathValidator class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the FilePathExistsValidator class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the RequiredFieldValidator class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the TypeValidator class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the SelectedSourceValidator class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type name of the NameValueCollectionValidator class, declared in the Configuration.DesignTime Assembly.
+
+
+
+
+ Type names for well known Enterprise Library elements.
+
+
+
+
+ Type name for the LoggingSettings section.
+
+
+
+
+ Type name for the DatabaseSettings section.
+
+
+
+
+ Type name for the ExceptionHandlingSettings section.
+
+
+
+
+ Attribute class used to indicate that the property is a reference to provider.
+ Reference properties will show an editable dropdown that allows the referred element to be selected.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The configuration type name of the provider that used as a reference.
+
+
+
+ Initializes a new instance of the class.
+
+ The name of a configuration type that contains the references.
+ The configuration type name of the provider that used as a reference.
+
+
+
+ Initializes a new instance of the class.
+
+ The configuration type of the provider that used as a reference.
+
+
+
+ Initializes a new instance of the class.
+
+ The configuration type that contains the references.
+ The configuration type of the provider that used as a reference.
+
+
+
+ Gets the configuration type that contains the references.
+
+
+
+
+ Gets or sets a boolean indicating whether only providers can be used that are contained in the current Element View Model.
+
+
+ if only providers can be used that are contained in the current Element View Model. Otherwise .
+
+
+
+
+ Gets the configuration type of the provider that used as a reference.
+
+
+
+
+ A customized version of that can
+ load the string from assembly resources instead of just a hard-wired
+ string.
+
+
+
+
+ Create a new instance of where
+ the type and name of the resource is set via properties.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type used to locate the assembly containing the resources.
+ Name of the entry in the resource table.
+
+
+
+ A type contained in the assembly we want to get our display name from.
+
+
+
+
+ Name of the string resource containing our display name.
+
+
+
+
+ Gets the description for a property, event, or public void method that takes no arguments stored in this attribute.
+
+
+ The display name.
+
+
+
+
+ A customized version of that can
+ load the string from assembly resources instead of just a hard-wired
+ string.
+
+
+
+
+ Create a new instance of where
+ the type and name of the resource is set via properties.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type used to locate the assembly containing the resources.
+ Name of the entry in the resource table.
+
+
+
+ A type contained in the assembly we want to get our display name from.
+
+
+
+
+ Name of the string resource containing our display name.
+
+
+
+
+ Gets the display name for a property, event, or public void method that takes no arguments stored in this attribute.
+
+
+ The display name.
+
+
+
+
+ Indicates that this assembly handles the .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+
+ Name of the section handled by this assembly.
+
+
+
+
+ Indicates this section should be cleared during save, but there is no
+ direct handler for it.
+
+
+
+
+ Provides attributes for the filter of types.
+
+
+
+
+ No filter are applied to types.
+
+
+
+
+ Inclue abstract types in the filter.
+
+
+
+
+ Inclue interfaces in the filter.
+
+
+
+
+ Inclue base types in the filter.
+
+
+
+
+ Inclue non public types in the filter.
+
+
+
+
+ Include all types in the filter.
+
+
+
+
+ Defines the type of attribute to apply this configuration property or field.
+
+
+ This attribute is applied to create validators for use in the configuration design-time.
+
+
+
+
+ Creates an instance of ValidationAttribute with the validator type specified by .
+
+
+
+
+ Creates an instance of the ValidationAttribute with the validator type specified by
+
+
+
+
+ Creates a validator objects. This is expected to return a Validator type from
+ the Microsoft.Practices.EnterpriseLibrary.Configuration.Design namespace.
+
+
+
+
+
+ Retrieves the validator .
+
+
+
+
+ When implemented in a derived class, gets a unique identifier for this .
+
+
+ An that is a unique identifier for the attribute.
+
+ 2
+
+
+
+ Indicates an element level validator.
+
+
+
+
+ Creates an instance of ElementValidationAttribute with the validator type specified by .
+
+
+
+
+
+ Creates an instance of the ElementValidationAttribute with the validator type specified by
+
+
+
+
+
+ Creates a validator objects. This is expected to return a Validator type from
+ the Microsoft.Practices.EnterpriseLibrary.Configuration.Design namespace.
+
+
+
+
+
+ Retrieves the validator .
+
+
+
+
+ When implemented in a derived class, gets a unique identifier for this .
+
+
+ An that is a unique identifier for the attribute.
+
+ 2
+
+
+
+ Attribute class used to specify a specific View Model derivement or visual representation to be used on the target element.
+
+
+
+ The View Model Type should derive from the ElementViewModel or Property class in the Configuration.Design assembly.
+ As this attribute can be applied to the configuration directly and we dont want to force a dependency on the Configuration.Design assembly
+ You can specify the View Model Type in a loosy coupled fashion, passing a qualified name of the type.
+
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type of the View Model that should be used for the annotated element.
+
+
+
+ Initializes a new instance of the class.
+
+ The type name of the View Model that should be used for the annotated element.
+
+
+
+ Gets the View Model Type that should be used to bind the annotated element to its view.
+
+
+
+
+ Marks the annotated class as a configuration wizard that can be found
+ by the configuration design time tools.
+
+
+
+
+ Initializes a new instance of the
+ with the default wizard command model type specified.
+
+
+
+
+ Initializes a new instance of the
+ with the command model type specified as a string.
+
+
+
+
+
+ Initializes a new instance of the with
+ the command model type specified by .
+
+
+
+
+
+ The type of the wizard to instantiate must derive from WizardModel or will result on an error at runtime.
+
+
+
+
+ The name of the type of the wizard to instantiate.
+
+
+
+
+ Type converter used to work around enums with enums wrongly marked as "flags".
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Indicates where the standard values are exclusive.
+
+
+
+
+ Exception class for exceptions that occur when reading configuration metadata from a .
+
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ A message that describes why this exception was thrown.
+
+
+
+ Initializes a new instance of the class.
+
+ A message that describes why this exception was thrown.
+ The inner exception that caused this exception to be thrown.
+
+
+
+ Initializes a new instance of the class.
+
+ A message that describes why this exception was thrown.
+ The inner exception that caused this exception to be thrown.
+ The path to the configuration file that caused this exception to be thrown.
+ The line number within the configuration file at which this exception was thrown.
+
+
+
+ Initializes a new instance of the class.
+
+ The object that holds the information to be serialized.
+ The contextual information about the source or destination.
+
+
+
+ Implements hierarchical merge behavior to implementations.
+
+
+
+
+
+
+ Creates a new instance of .
+
+ The instance that should be extended.
+
+
+
+ Creates a new instance of .
+
+ The instance that should be extended.
+ An instance the should be merged with.
+
+
+
+ Performs intialization logic for this .
+
+
+
+
+ Performs re-intialization logic for this .
+
+
+
+
+ Checks whether the result of a call to should be merged.
+ If the call should be merged, performs the merge behavior and returns the resulting intance.
+ If the call should not be merged returns .
+
+ The name of the section that was retrieved from configuration.
+ The section that was retrieved from configuration.
+ The resulting instance.
+
+
+
+
+ Interface used to implement custom clone behavior for a .
+
+
+
+
+
+ Creates a deep clone of the current instance.
+
+
+ A deep clone of the current instance.
+
+
+
+
+ Factory for creating s.
+
+
+
+
+ Creates a based on a ConfigurationElementCollection type.
+
+
+
+
+
+
+ Configuration element for a redirected section.
+ The property is used to identify the redireced section, based on its section name.
+
+
+
+
+
+ Represents a named where the name is the key to a collection.
+
+
+ This class is used in conjunction with a .
+
+
+
+
+ Represents the abstraction of an object with a name.
+
+
+
+
+ Gets the name.
+
+
+
+
+ Name of the property that holds the name of .
+
+
+
+
+ Initialize a new instance of a class.
+
+
+
+
+ Intialize a new instance of a class with a name.
+
+ The name of the element.
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Updates the configuration properties of the receiver with the information in the current element in the .
+
+ The reader over the configuration file.
+
+
+
+ Gets or sets the name of the element.
+
+
+ The name of the element.
+
+
+
+
+ Gets the name of the which contains the configuration section.
+
+
+ The name of the which contains the configuration section.
+
+
+
+
+ Represents a configuration converter that converts a string to based on a fully qualified name.
+
+
+
+
+ Returns the assembly qualified name for the passed in Type.
+
+ The container representing this System.ComponentModel.TypeDescriptor.
+ Culture info for assembly
+ Value to convert.
+ Type to convert to.
+ Assembly Qualified Name as a string
+
+
+
+ Returns a type based on the assembly qualified name passed in as data.
+
+ The container representing this System.ComponentModel.TypeDescriptor.
+ Culture info for assembly.
+ Data to convert.
+ Type of the data
+
+
+
+ A set of string constants listing the names of the configuration
+ sections used by the standard set of Entlib blocks.
+
+
+
+
+ Data Access Application Block custom settings
+
+
+
+
+ Logging Application Block section name
+
+
+
+
+ Exception Handling Application Block section name
+
+
+
+
+ Policy injection section name
+
+
+
+
+ Validation section name
+
+
+
+
+ Represents a configuration converter that converts a byte array to and from a string representation by using base64 encoding.
+
+
+
+
+ Returns whether this converter can convert an object of the given type to the type of this converter.
+
+ An object.
+ A that represents the type you want to convert from.
+ if this converter can perform the conversion; otherwise, .
+
+
+
+ Converts the given value to the type of this converter.
+
+ An object.
+ A object.
+ An that represents the converted value.
+ An that represents the converted value.
+
+
+
+ Returns whether this converter can convert the object to the specified type.
+
+ An object.
+ A that represents the type you want to convert to..
+ true if the converter can convert to the specified type, false otherwise.
+
+
+
+ Converts the given value object to the specified type, using the arguments.
+
+ An object.
+ A object.
+ The to convert.
+ The to convert the value parameter to.
+ The converted value.
+
+
+
+ Watcher for configuration sections in configuration files.
+
+
+ This implementation uses a to watch for changes
+ in the configuration files.
+
+
+
+
+ Reacts to changes on the medium on which a set of configuration sections are serialized.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The identification of the medium.
+ true if changes should be notified, false otherwise.
+ The callback for changes notification.
+
+
+
+ Starts watching for changes on the serialization medium.
+
+
+
+
+ Stops watching for changes on the serialization medium.
+
+
+
+
+ Gets or sets the identification of the medium where the watched set of configuration sections is stored.
+
+
+
+
+ Gets or sets the collection of watched sections.
+
+
+
+
+ Gets the watcher over the serialization medium.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The path for the configuration file to watch.
+ The identification of the configuration source.
+ true if changes should be notified, false otherwise.
+ The poll interval in milliseconds.
+ The callback for changes notification.
+
+
+
+ Gets the full file name associated to the configuration source.
+
+ The path for the main configuration file.
+ The configuration source to watch.
+ The path to the configuration file to watch. It will be the same as
+ if is empty, or the full path for considered as a
+ file name relative to the main configuration file.
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Releases unmanaged and - optionally - managed resources.
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Gets the watcher over the serialization medium.
+
+
+
+
+ Event arguments describing which sections have changed in a configuration source.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration source that changed.
+ Sequence of the section names in
+ that have changed.
+
+
+
+ The configuration source that has changed.
+
+
+
+
+ The set of section names that have changed.
+
+
+
+
+ Represents the configuration settings that describe an .
+
+
+
+
+ Represents a that has a name and type.
+
+
+
+
+ Represents the abstraction of an object with a name and a type.
+
+
+
+
+ Gets the type.
+
+
+
+
+ Name of the property that holds the type of .
+
+
+
+
+ Intialzie an instance of the class.
+
+
+
+
+ Initialize an instance of the class
+
+ The name of the element.
+ The that this element is the configuration for.
+
+
+
+ Gets or sets the the element is the configuration for.
+
+
+ The the element is the configuration for.
+
+
+
+
+ Gets or sets the fully qualified name of the the element is the configuration for.
+
+
+ the fully qualified name of the the element is the configuration for.
+
+
+
+
+ Initializes a new instance of the class with default values.
+
+
+
+
+ Initializes a new instance of the class with a name and an type.
+
+ The instance name.
+ The type for the represented .
+
+
+
+ Returns a new configured with the receiver's settings.
+
+ A new configuration source.
+
+
+
+ Returns a new configured based on this configuration element.
+
+ Returns a new or null if this source does not have design-time support.
+
+
+
+ Contains factory methods to create configuration sources.
+
+
+
+
+ Creates a new configuration sources based on the configuration information from the application's default
+ configuration file.
+
+ The name for the desired configuration source.
+ The new configuration source instance described in the configuration file.
+ when no configuration information is found for name .
+ when is null or empty.
+
+
+
+ Creates a new configuration sources based on the default configuration information from the
+ application's default configuration file.
+
+ The new configuration source instance described as the default in the configuration file,
+ or a new instance of if the is no configuration sources configuration.
+ when there is a configuration section but it does not define
+ a default configurtion source, or when the configuration for the defined default configuration source is not found.
+
+
+
+ Configuration section for the configuration sources.
+
+
+ This configuration must reside in the application's default configuration file.
+
+
+
+
+ Represents a configuration section that can be serialized and deserialized to XML.
+
+
+
+
+ Returns the XML schema for the configuration section.
+
+ A string with the XML schema, or (Nothing
+ in Visual Basic) if there is no schema.
+
+
+
+ Updates the configuration section with the values from an .
+
+ The that reads the configuration source located at the element that describes the configuration section.
+
+
+
+ Writes the configuration section values as an XML element to an .
+
+ The that writes to the configuration store.
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ Returns the from the application's default configuration file.
+
+ The section from the configuration file, or (Nothing in Visual Basic) if the section is not present in the configuration file.
+
+
+
+ Gets or sets the name for the default configuration source.
+
+
+
+
+ Gets or sets the name for the parent configuration source.
+
+
+
+
+ Gets the collection of defined configuration sources.
+
+
+
+
+ Gets the collection of redirected sections.
+
+
+
+
+ Event handler called after a configuration has changed.
+
+
+ The source of the event.
+
+
+ A that contains the event data.
+
+
+
+
+
+
+
+
+ Initialize a new instance of the class with the section name
+
+ The section name of the changes.
+
+
+
+ Gets the section name where the changes occurred.
+
+
+ The section name where the changes occurred.
+
+
+
+
+ Indicates the configuration object type that is used for the attributed object.
+
+
+
+
+ Initialize a new instance of the class.
+
+
+
+
+ Initialize a new instance of the class with the configuration object type.
+
+ The of the configuration object.
+
+
+
+ Initialize a new instance of the class with the configuration object type.
+
+ The name of the configuration object.
+
+
+
+ Gets the of the configuration object.
+
+
+ The of the configuration object.
+
+
+
+
+ Gets name of the configuration object.
+
+
+
+
+
+
+
+
+ Initialize a new instance of the class with the
+ configuration file and the section name.
+
+ The configuration file where the change occured.
+ The section name of the changes.
+
+
+
+ Gets the configuration file of the data that changed.
+
+
+ The configuration file of the data that changed.
+
+
+
+
+ Generic helper class for custom provider configuration objects.
+
+
+ The helper class encapsulates the logic to manage an unknown set of properties in s.
+ This logic cannot be inherited by the configuration objects because these objects must inherit from the base configuration
+ object type for the hierarchy of providers the configuration object represents.
+
+ The type of the custom provider configuration object.
+
+
+
+ Collection of managed properties
+
+
+
+
+ Initializes a new instance of the class for a configuration object.
+
+
+
+
+ Concrete implementation of .
+
+ true if the managed element has been modified.
+
+
+
+ Concrete implementation of .
+
+ The name of the unrecognized attribute.
+ The value of the unrecognized attribute.
+ true
when an unknown attribute is encountered while deserializing.
+
+
+
+ Concrete implementation of .
+
+ The parent node of the configuration element.
+
+
+
+ Sets the value to the specified attribute and updates the properties collection.
+
+ The key of the attribute to set.
+ The value to set for the attribute.
+
+
+
+ Concrete implementation of .
+
+ A object at the current level containing a merged view of the properties.
+ The parent object, or a reference if this is the top level.
+ A object that determines which property values to include.
+
+
+
+ Returns whether the property name is known in advance, i.e. it is not a dynamic property.
+
+ The property name.
+ true if the property is known in advance, false otherwise.
+
+
+
+ Gets the collection of custom attributes.
+
+
+
+
+ Gets a of the properties that are defined for this configuration element when implemented in a derived class.
+
+
+ A of the properties that are defined for this configuration element when implemented in a derived class.
+
+
+
+
+ Represents a configuration source that is backed by a dictionary of named objects.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Retrieves the specified .
+
+ The name of the section to be retrieved.
+ The specified , or (Nothing in Visual Basic)
+ if a section by that name is not found.
+
+
+
+ Adds a to the configuration source.
+
+
+ If a configuration section with the specified name already exists it will be replaced.
+
+ The name by which the should be added.
+ The configuration section to add.
+
+
+
+ Removes a from the configuration source.
+
+ The name of the section to remove.
+
+
+
+ Determines if a section name exists in the source.
+
+ The section name to find.
+ true if the section exists; otherwise, false.
+
+
+
+ Adds a handler to be called when changes to the section named are detected.
+
+ The name of the section to watch for.
+ The handler for the change event to add.
+
+
+
+ Removes a handler to be called when changes to section sectionName
are detected.
+
+ The name of the watched section.
+ The handler for the change event to remove.
+
+
+
+ Raises the event.
+
+ Event arguments
+
+
+
+ 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.
+
+
+
+ Raised when anything in the source changes.
+
+
+ does not report any
+ configuration change events.
+
+
+
+
+ Represents the configuration settings that describe a .
+
+
+
+
+ Initializes a new instance of the class with a default name and an empty path.
+
+
+
+
+ Initializes a new instance of the class with a name and an path.
+
+ The instance name.
+ The file path.
+
+
+
+ Returns a new configured with the receiver's settings.
+
+ A new configuration source.
+
+
+
+ Returns a new configured based on this configuration element.
+
+ Returns a new or null if this source does not have design-time support.
+
+
+
+ Gets or sets the file path. This is a required field.
+
+
+
+
+ Represents a genereic enumerator for the NamedElementCollection.
+
+
+
+
+ Represents the configuration settings for a custom provider.
+
+
+
+
+ Gets the name for the represented provider.
+
+
+
+
+ Gets the attributes for the represented provider.
+
+
+
+
+ This interface must be implemented by configuration objects for custom providers that rely
+ on a to perform the dynamic properties management.
+
+
+ This interface is generic so that the helper can be strongly-typed.
+
+ The configuration object type. It must match the type implementing the interface.
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Returns the value for the specified property using the inherited implementation.
+
+ The property to get the value from.
+ The value for the property.
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Returns the modification status using the inherited implementation.
+
+ true if the configuration element has been modified, false otherwise.
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Resets the internal state of the configuration object using the inherited implementation.
+
+ The parent node of the configuration element.
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Sets the value for the specified property using the inherited implementation.
+
+ The property to set the value to.
+ The new value for the property.
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Modifies the ConfigurationElement object to remove all values that should not be saved using the inherited implementation.
+
+ A object at the current level containing a merged view of the properties.
+ The parent ConfigurationElement object, or a null reference (Nothing in Visual Basic) if this is the top level.
+ A object that determines which property values to include.
+
+
+
+ Gets the helper that manages the configuration information.
+
+
+
+
+ Represents a null configuration source that always returns null for a section.
+
+
+
+
+ Returns null for the section.
+
+ The section name to retrieve.
+ Always .
+
+
+
+ Null implementation of that
+ ignores the request.
+
+ The name by which the should be added.
+ The configuration section to add.
+
+
+
+ Null implementation of that
+ ignores the request.
+
+ The name of the section to remove.
+
+
+
+ Adds a handler to be called when changes to section sectionName
are detected.
+
+ The name of the section to watch for.
+ The handler.
+
+
+
+ Remove a handler to be called when changes to section sectionName
are detected.
+
+ The name of the section to watch for.
+ The handler.
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Event raised when configuration source contents have changed.
+
+ This class never raises this event.
+
+
+
+ Represents an that watches a file.
+
+
+
+
+ Represents an that watches a file.
+
+
+
+
+ Provides a way to watch for changes to configuration in storage.
+
+
+
+
+ When implemented by a subclass, starts the object watching for configuration changes
+
+
+
+
+ When implemented by a subclass, stops the object from watching for configuration changes
+
+
+
+
+ Event raised when the underlying persistence mechanism for configuration notices that
+ the persistent representation of configuration information has changed.
+
+
+
+
+ When implemented by a subclass, returns the section name that is being watched.
+
+
+
+
+ Sets the default poll delay.
+
+ The new default poll.
+
+
+
+ Reset the default to 15000 millisecond.
+
+
+
+
+ Sets the poll delay in milliseconds.
+
+
+ The poll delay in milliseconds.
+
+
+
+
+ Initialize a new class
+
+
+
+
+
+ Allows an to attempt to free
+ resources and perform other cleanup operations before the
+ is reclaimed by garbage collection.
+
+
+
+
+
+ Starts watching the configuration file.
+
+
+
+
+ Stops watching the configuration file.
+
+
+
+
+ Releases the unmanaged resources used by the and optionally releases the managed resources.
+
+
+
+
+ Releases the unmanaged resources used by the and optionally releases the managed resources.
+
+
+ to release both managed and unmanaged resources; to release only unmanaged resources.
+
+
+
+
+ Releases the unmanaged resources used by the and optionally releases the managed resources.
+
+
+ to release both managed and unmanaged resources; to release only unmanaged resources.
+
+
+
+
+ Raises the event.
+
+
+
+
+ Returns the of the last change of the information watched
+
+ The of the last modificaiton, or DateTime.MinValue
if the information can't be retrieved
+
+
+
+ Builds the change event data, in a suitable way for the specific watcher implementation
+
+ The change event information
+
+
+
+ Returns the source name to use when logging events
+
+ The event source name
+
+
+
+ Event raised when the underlying persistence mechanism for configuration notices that
+ the persistent representation of configuration information has changed.
+
+
+
+
+ Gets the name of the configuration section being watched.
+
+
+ The name of the configuration section being watched.
+
+
+
+
+ Initialize a new class with the path to the configuration file and the name of the section
+
+
+ The full path to the configuration file.
+
+
+ The name of the configuration section to watch.
+
+
+
+
+ Returns the of the last change of the information watched
+ The information is retrieved using the watched file modification timestamp
+
+ The of the last modificaiton, or DateTime.MinValue
if the information can't be retrieved
+
+
+
+ Builds the change event data, including the full path of the watched file
+
+ The change event information
+
+
+
+ Returns the source name to use when logging events
+
+ The event source name
+
+
+
+ Gets the name of the configuration section being watched.
+
+
+ The name of the configuration section being watched.
+
+
+
+
+ Represents an that retrieves the configuration information from the
+ application's default configuration file using the API.
+
+
+
+ The is a wrapper over the static configuration access API provided by
+ and watches for changes in the configuration files to refresh the
+ configuration when a change is detected.
+
+
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class that will refresh changes
+ according to the value of the parameter.
+
+ if changes to the configuration file should be notified.
+
+
+
+ Initializes a new instance of the class that will refresh changes
+ according to the value of the parameter, polling every
+ milliseconds.
+
+ if changes to the configuration file should be notified.
+ The poll interval in milliseconds.
+
+
+
+ Adds a to the configuration and saves the configuration source.
+
+
+ If a configuration section with the specified name already exists it will be replaced.
+
+ The name by which the should be added.
+ The configuration section to add.
+
+
+
+ Removes a from the configuration and saves the configuration source.
+
+ The name of the section to remove.
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Adds or replaces under name in the configuration
+ and saves the configuration file.
+
+ The name for the section.
+ The configuration section to add or replace.
+
+
+
+ Retrieves the specified from the configuration file.
+
+ The section name.
+ The section, or if it doesn't exist.
+
+
+
+ Refreshes the configuration sections from the main configuration file and determines which sections have
+ suffered notifications and should be notified to registered handlers.
+
+ A dictionary with the configuration sections residing in the main
+ configuration file that must be refreshed.
+ A dictionary with the configuration sections residing in external
+ files that must be refreshed.
+ A new collection with the names of the sections that suffered changes and
+ should be notified.
+ A new dictionary with the names and file names of the sections
+ that have changed their location.
+
+
+
+ Refreshes the configuration sections from an external configuration file.
+
+ A collection with the names of the sections that suffered changes and should
+ be refreshed.
+
+
+
+ Represents the configuration settings that describe an .
+
+
+
+
+ Initializes a new instance of the class with default values.
+
+
+
+
+ Initializes a new instance of the class with a name and an type.
+
+ The instance name.
+
+
+
+ Returns a new .
+
+ A new configuration source.
+
+
+
+ Base class for the reflection-based installers. These reflection-based installers
+ search through assemblies looking for the appropriate kinds of installable resources and
+ arrange for them to be registered with the appropriate installer
+
+
+
+
+ Fills the given installer with other, more specific kinds of installers that have been
+ filled with the appropriate kinds of installable resources
+
+ Outer installer to be filled with nested installers for specific resources
+
+
+
+ Initializes object by giving it access to an array of all available types and a specification of
+ the more specific resource type that will be installed.
+
+ Array of available types through which installer should look
+ Attribute specifying the more specific resource type to search for
+
+
+
+ Helper method to determine if the given type is annotated with the required attribute.
+
+ Type in question
+ More specific attribute used to match resource being installed
+ True if the attributes on the given matches
+
+
+
+ Helper method to determine if the attributes for a given type match the attributes used to
+ specify a specific kind of installable resource. The type should be attributed with
+ and the attribute passed to this method call.
+
+ Type in question
+ More specific attribute used to match resource being installed
+ true if the type specifies intallable resources.
+
+
+
+ Creates one or more installers after iterating over the .
+ The number of iterators returned depends on the specific needs of the particular installable type.
+
+ Collection of installers created through iterating over included types
+
+
+
+ Gets or sets a list of all instrumentented types found in a given assembly. Types are instrumented if they are
+ attributed with and another attribute specifying
+ another, more specific resource type.
+
+
+
+
+ Factory for s. Individual
+ instances are cached to prevent the same instance from being created multiple times.
+
+
+
+
+ Creates an initialized with individual
+ instances. Instances are named according to passed to this method.
+
+ Performance counter category name, as defined during installation.
+ Performance counter name, as defined during installation.
+ Param array of instance names for which individual counters should be created.
+ The new counter instance.
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ Defines an event source to be installed by the reflection based installer system. Each field
+ in this attribute is a placeholder for the same field as defined in the .
+
+
+
+
+ Initializes this object with the event log name and source to be installed.
+
+ Event log name to which the source should be added.
+ Event log source to be added.
+
+
+
+ Gets the event log name.
+
+
+
+
+ Gets the event source name.
+
+
+
+
+ Gets and sets the category count.
+
+
+
+
+ Gets the category resource file name.
+
+
+
+
+ Gets and sets the message resource file name.
+
+
+
+
+ Gets and sets the parameter resource file name.
+
+
+
+
+ Formats an event log entry to the defined format.
+
+
+
+
+ Formats an event log entry for logging to event log.
+
+
+
+
+ Creates a formatted message, suitable for logging to the event log.
+
+
+ Creates a formatted message, suitable for logging to the event log.
+
+ Message to be formatted, with format tags embedded.
+ Extra strings to be matched up with the format tags provided in .
+ Formatted message, suitable for logging to the event log.
+
+
+
+ Creates a formatted message, suitable for logging to the event log.
+
+ Message to be formatted, with format tags embedded.
+ Exception containing message text to be added to event log message produced by this method
+ Extra strings to be matched up with the format tags provided in .
+ Formatted message, suitable for logging to the event log.
+
+
+
+ Initializes this object with the specified information.
+
+
+ Initializes this object with the name of the specific block using this class.
+
+ Name of block using this functionality.
+
+
+
+ Initializes this object with the given application and block names.
+
+ Name of the application.
+ Name of the block using this functionality.
+
+
+
+ Creates a formatted message, suitable for logging to the event log.
+
+
+ Creates a formatted message, suitable for logging to the event log.
+
+ Message to be formatted, with format tags embedded.
+ Extra strings to be matched up with the format tags provided in .
+ Formatted message, suitable for logging to the event log.
+
+
+
+ Creates a formatted message, suitable for logging to the event log.
+
+ Message to be formatted, with format tags embedded.
+ Exception containing message text to be added to event log message produced by this method
+ Extra strings to be matched up with the format tags provided in .
+ Formatted message, suitable for logging to the event log.
+
+
+
+ Add event log source definitions for classes that have been attributed
+ with HasInstallableResourceAttribute and EventLogDefinition attributes to EventLogInstallers.
+ One installer is created for each unique event log source that is found.
+
+
+
+
+ Initializes this object with a list of types that may potentially be attributed appropriately.
+
+ Array of types to inspect check for event log sources needing installation
+
+
+
+ Creates instances for each separate event log source needing installation.
+
+ Collection of s that represent types defining
+ event log sources to be installed.
+ Collection of installers containing event log sources to be installed.
+
+
+
+ Add event log source definitions for classes that have been attributed
+ with HasInstallableResourceAttribute and EventLogDefinition attributes to EventLogInstallers.
+ One installer is created for each unique performance counter category that is found.
+
+
+
+
+ Initializes this object with a list of s that may potentially be attributed appropriately.
+
+ Array of types to inspect check for performance counter definitions needing installation
+
+
+
+ Creates instances for each separate performance counter definition needing installation.
+
+ Collection of s that represent types defining
+ performance counter definitions to be installed.
+ Collection of installers containing performance counter definitions to be installed.
+
+
+
+ Gets the category help for a performance counter.
+
+ The performance counter attribute.
+ The assembly where the help is defined.
+ The help for the performance counter.
+
+
+
+ Gets the counter help for a performance counter.
+
+ The resource name.
+ The assembly where the help is defined.
+ The help for the performance counter.
+
+
+
+ Constructs an instance name for a following embedded
+ formatting rules.
+
+
+
+
+ Initializes this object with information needed to construct a \
+ instance name.
+
+
+ Initializes this object with information needed to construct a \
+ instance name.
+
+ Counter name prefix.
+ Counter name suffix.
+
+
+
+ Initializes this object with information needed to construct a \
+ instance name.
+
+
+ Initializes this object with information needed to construct a \
+ instance name.
+
+ Counter name prefix.
+ Counter name suffix.
+ Max prefix length.
+ Max suffix length.
+
+
+
+ Returns properly formatted counter name as a string.
+
+ Formatted counter name.
+
+
+
+ Defines information needed to install a .
+
+
+
+
+ Initializes this attribute with information needed to install this performance counter category.
+
+
+ Initializes this attribute with information needed to install this performance counter category.
+
+ Performance counter category name
+ Counter category help resource name.
+ This is not the help text itself,
+ but is the resource name used to look up the internationalized help text at install-time.
+
+
+
+
+ Initializes this attribute with information needed to install this performance counter category.
+
+ Performance counter category name
+ Counter category help resource name.
+ This is not the help text itself,
+ but is the resource name used to look up the internationalized help text at install-time.
+
+ Performance counter category type.
+
+
+
+ Gets the category type.
+
+
+
+
+ Gets the category name.
+
+
+
+
+ Gets the category help resource name.
+ This is not the help text itself,
+ but is the resource name used to look up the internationalized help text at install-time.
+
+
+
+
+ Generic installer wrapper around installer builder. Used to find and install
+ given type of installable resource.
+
+ Specific type of installer builder to instantiate
+
+
+
+ Installs the instrumentation resources
+
+ An used to save information needed to perform a commit, rollback, or uninstall operation.
+
+
+
+ Uninstalls the instrumentation resources
+
+ An that contains the state of the computer after the installation was complete.
+
+
+
+ This class provides an engine to process a string that contains
+ replacement tokens of the form "{token}" and replace them with
+ calculated value later.
+
+
+
+
+ Create a new .
+
+
+
+
+ Create a new .
+
+ List of tokens to replace.
+
+
+
+ Create a new .
+
+ List of tokens to replace.
+
+
+
+ Add a new set of replacement tokens.
+
+ Tokens to add to the list.
+
+
+
+ Add new tokens to the set of replacements.
+
+ Tokens to add to the list.
+
+
+
+ Format the given template, replacing any tokens present.
+
+ The string to format, containing the replacement tokens.
+ The formatted string, with tokens replaced.
+
+
+
+ A single replacement token used by the . A
+ token consists of two things:
+
+ - The actual text of the token (including the {})
+ - A delegate to retrieve the value to replace the token.
+
+
+
+
+
+ Create a new .
+
+ The string marking where the token should be replaced.
+ Delegate to return the value that replaces the token.
+
+
+
+ Replace this token in the given stringbuilder.
+
+ holding the template to perform the token replacement on.
+
+
+
+ The token string.
+
+ The token string.
+
+
+
+ The text to replace this token with.
+
+ Replacement text.
+
+
+
+ Delegate type giving a function that returns the replacement text for a token.
+
+ The replacement text.
+
+
+
+ Helper class to load resources strings.
+
+
+
+
+ Load a resource string.
+
+ The base name of the resource.
+ The resource name.
+ The string from the resource.
+
+
+
+ Load a resource string.
+
+ The base name of the resource.
+ The resource name.
+ The assembly to load the resource from.
+ The string from the resource.
+
+
+
+ Resolves strings by returning a constant value.
+
+
+
+
+ Resolves string objects.
+
+
+
+
+ Returns a string represented by the receiver.
+
+ The string object.
+
+
+
+ Initializes a new instance of with a constant value.
+
+
+
+
+ Resolves strings by invoking a delegate and returning the resulting value.
+
+
+
+
+ Initializes a new instance of with a delegate.
+
+ The delegate to invoke when resolving a string.
+
+
+
+ Some utility extensions on to suppliment
+ those available from Linq.
+
+
+
+
+ Execute for each element of .
+
+ Type of items in .
+ Sequence of items to act on.
+ Action to invoke for each item.
+
+
+
+ Given a sequence, combine it with another sequence, passing the corresponding
+ elements of each sequence to the action to create
+ a new single value from the two sequence elements. "Zip" here refers to a zipper,
+ not the compression algorithm. The resulting sequence will have the same number
+ of elements as the shorter of sequence1 and sequence2.
+
+ Type of the elments in the first sequence.
+ Type of the elements in the second sequence.
+ Type of the resulting sequence elements.
+ The first sequence to combine.
+ The second sequence to combine.
+ Func used to calculate the resulting values.
+ The result sequence.
+
+
+
+ Take two sequences and return a new sequence of objects.
+
+ Type of objects in sequence1.
+ Type of objects in sequence2.
+ First sequence.
+ Second sequence.
+ The sequence of objects.
+
+
+
+ Take two sequences and return a with the first sequence
+ holding the keys and the corresponding elements of the second sequence containing the values.
+
+ Type of keys in the dictionary.
+ Type of values in the dictionary.
+ Sequence of dictionary keys.
+ Sequence of dictionary values.
+ The constructed dictionary.
+
+
+
+ A static helper class that includes various parameter checking routines.
+
+
+
+
+ Throws if the given argument is null.
+
+ The value is null.
+ The argument value to test.
+ The name of the argument to test.
+
+
+
+ Throws an exception if the tested string argument is null or an empty string.
+
+ The string value is null.
+ The string is empty.
+ The argument value to test.
+ The name of the argument to test.
+
+
+
+ Resolves strings by retrieving them from assembly resources, falling back to a specified
+ value.
+
+
+ If both the resource type and the resource name are available, a resource lookup will be
+ performed; otherwise, the default value will be returned.
+
+
+
+
+ Initializes a new instance of
+ for a resource type, a resource name and a fallback value.
+
+ The type that identifies the resources file.
+ The name of the resource.
+ The fallback value, to use when any of the resource
+ identifiers is not available.
+
+
+
+ Initializes a new instance of
+ for a resource type name, a resource name and a fallback value.
+
+ The name of the type that identifies the resources file.
+ The name of the resource.
+ The fallback value, to use when any of the resource
+ identifiers is not available.
+
+
+
+ Provides a set of helper methods that retrieve
+ objects for the methods described in lambda expressions.
+
+
+
+
+ Retrieves a object from an expression in the form
+ () => SomeClass.SomeMethod().
+
+ The expression that describes the method to call.
+ The object for the specified method.
+
+
+
+ Retrieves a object from an expression in the form
+ x => x.SomeMethod().
+
+ The type where the method is defined.
+ The expression that describes the method to call.
+ The object for the specified method.
+
+
+
+ Retrieves a object for the get method from an expression in the form
+ x => x.SomeProperty.
+
+ The type where the method is defined.
+ The type of the property.
+ The expression that describes the property for which the get method is to be extracted.
+ The object for the get method.
+
+
+
+ Retrieves a object for the set method from an expression in the form
+ x => x.SomeProperty.
+
+ The type where the method is defined.
+ The type of the property.
+ The expression that describes the property for which the set method is to be extracted.
+ The object for the set method.
+
+
+
+ Retrieves a object for the set method from an expression in the form
+ x => x.SomeProperty.
+
+ The type where the method is defined.
+ The type of the property.
+ The expression that describes the property for which the property informationis to be extracted.
+ The object for the property.
+
+
+
+ Retrieves a object from an expression in the form () => new SomeType().
+
+ The type where the constructor is defined.
+ The expression that calls the desired constructor.
+ The object for the constructor.
+
+
+
+ Extensios to
+
+
+
+
+ Locates the generic parent of the type
+
+ Type to begin search from.
+ Open generic type to seek
+ The found parent that is a closed generic of the or null
+
+
+
+ A helper class that provides the code needed to wrap an existing
+ asynchronous operation and return a different implementation of
+ .
+
+
+
+
+ Start an asyncronous operation that wraps a lower-level
+ async operation.
+
+ Type that implements IAsyncResult
+ that will be returned from this method.
+ The user's callback method to be called when
+ the async operation completes.
+ A delegate that invokes the underlying
+ async operation that we're wrapping.
+ A delegate that takes the inner
+ async result and returns the wrapping instance of .
+
+ The .
+
+
+
diff --git a/packages/EnterpriseLibrary.Common.6.0.1304.0/tools/Utils.psm1 b/packages/EnterpriseLibrary.Common.6.0.1304.0/tools/Utils.psm1
new file mode 100644
index 0000000..37fdb65
Binary files /dev/null and b/packages/EnterpriseLibrary.Common.6.0.1304.0/tools/Utils.psm1 differ
diff --git a/packages/EnterpriseLibrary.Common.6.0.1304.0/tools/install.ps1 b/packages/EnterpriseLibrary.Common.6.0.1304.0/tools/install.ps1
new file mode 100644
index 0000000..153090b
Binary files /dev/null and b/packages/EnterpriseLibrary.Common.6.0.1304.0/tools/install.ps1 differ
diff --git a/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/EnterpriseLibrary.ExceptionHandling.6.0.1304.0.nupkg b/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/EnterpriseLibrary.ExceptionHandling.6.0.1304.0.nupkg
new file mode 100644
index 0000000..f34fd2a
Binary files /dev/null and b/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/EnterpriseLibrary.ExceptionHandling.6.0.1304.0.nupkg differ
diff --git a/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/Readme.txt b/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/Readme.txt
new file mode 100644
index 0000000..c5360b3
--- /dev/null
+++ b/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/Readme.txt
@@ -0,0 +1,12 @@
+MICROSOFT ENTERPRISE LIBRARY
+EXCEPTION HANDLING APPLICATION BLOCK
+6.0.1304.0
+
+Summary: The Exception Handling Application Block helps developers, architects and policy makers implement common design patterns and create a consistent strategy for processing exceptions that occur in an application or at layer boundaries. It provides a selection of plug-in exception handlers and formatters that you can use, and is extensible so you can even create your own custom implementations. You can use the block when you want to implement exception shielding, modify exceptions in various ways, or chain exceptions (for example, by logging an exception and then passing it to another layer of your application). The configurable approach means that administrators can change the behavior of the exception management mechanism simply by editing the application configuration without requiring any changes to the code, recompiling, or redeployment.
+
+The most up-to-date version of the release notes and known issues is available online:
+http://aka.ms/el6release
+
+
+Microsoft patterns & practices
+http://microsoft.com/practices
diff --git a/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll b/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll
new file mode 100644
index 0000000..9cefea4
Binary files /dev/null and b/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll differ
diff --git a/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.xml b/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.xml
new file mode 100644
index 0000000..7b4bb13
--- /dev/null
+++ b/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.xml
@@ -0,0 +1,2269 @@
+
+
+
+ Microsoft.Practices.EnterpriseLibrary.ExceptionHandling
+
+
+
+
+ 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 Add Exception Handling Settings.
+
+
+
+
+ Looks up a localized string similar to Custom Handler (using type picker).
+
+
+
+
+ Looks up a localized string similar to An Exception Handler implemented as a custom class added to Enterprise Library..
+
+
+
+
+ Looks up a localized string similar to Custom Exception Handler.
+
+
+
+
+ Looks up a localized string similar to The name of the Custom Exception Handler..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Custom Exception Handler..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to Handles an exception passed to the block and performs an action on it, such as wrapping or logging it,
+ and then passes it on to the next exception handler or returns it to the caller..
+
+
+
+
+ Looks up a localized string similar to Exception Handler.
+
+
+
+
+ Looks up a localized string similar to The name of the Exception Handler..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Exception Handler..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to Configuration settings for the Exception Handling Application Block..
+
+
+
+
+ Looks up a localized string similar to Exception Handling Settings.
+
+
+
+
+ Looks up a localized string similar to Configuration settings for all Exception Handling Policies..
+
+
+
+
+ Looks up a localized string similar to Policies.
+
+
+
+
+ Looks up a localized string similar to A policy defines the exceptions it will handle, and the set of Exception Handlers that it will execute when
+ one of the specified exceptions is passed to the block..
+
+
+
+
+ Looks up a localized string similar to Policy.
+
+
+
+
+ Looks up a localized string similar to The Exception types configured for the Exception Handling Block..
+
+
+
+
+ Looks up a localized string similar to Exception Types.
+
+
+
+
+ Looks up a localized string similar to The name of the Exception Handling Policy..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to Each Exception Type configured for a policy can specify a series of Exception Handlers that will
+ execute when an exception of the specified type is sent to the block for handling by this policy..
+
+
+
+
+ Looks up a localized string similar to Exception Type.
+
+
+
+
+ Looks up a localized string similar to The Exception Handlers configured for this Exception type..
+
+
+
+
+ Looks up a localized string similar to Handlers.
+
+
+
+
+ Looks up a localized string similar to The name of the Exception..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The action the Exception Handling Block will take after executing all of the handlers for this Exception type.
+ None means that the block will return false to the application allowing it to resume execution.
+ NotifyRethrow means that the block will return true to the application, which should re-throw the original exception.
+ ThrowNewException means that the block will throw the exception that exists after the final handler runs.
+ However, if you use the overload of the HandleException method that takes [rest of string was truncated]";.
+
+
+
+
+ Looks up a localized string similar to Post handling action.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Exception..
+
+
+
+
+ Looks up a localized string similar to Type name.
+
+
+
+
+ Looks up a localized string similar to Replaces the exception sent to the block with another exception type.
+ The message can be specified for the replacement exception type..
+
+
+
+
+ Looks up a localized string similar to Replace Handler.
+
+
+
+
+ Looks up a localized string similar to The message for the replacement exception..
+
+
+
+
+ Looks up a localized string similar to Exception Message.
+
+
+
+
+ Looks up a localized string similar to The key in an external resource file for the localized string to use as the message for the replacement exception. .
+
+
+
+
+ Looks up a localized string similar to Message Resource Name.
+
+
+
+
+ Looks up a localized string similar to The type of the external resource file containing the localized string to use as the message for the replacement exception. .
+
+
+
+
+ Looks up a localized string similar to Message Resource Type.
+
+
+
+
+ Looks up a localized string similar to The name of the Replace Exception Handler..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the replacement exception..
+
+
+
+
+ Looks up a localized string similar to Replace Exception Type .
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Replace Exception Handler..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to Wraps the exception sent to the block as the inner exception of a new exception type.
+ The message can be specified for the wrapping exception type..
+
+
+
+
+ Looks up a localized string similar to Wrap Handler.
+
+
+
+
+ Looks up a localized string similar to The message for the wrapping exception..
+
+
+
+
+ Looks up a localized string similar to Exception Message.
+
+
+
+
+ Looks up a localized string similar to The key in an external resource file for the localized string to use as the message for the wrapping exception. .
+
+
+
+
+ Looks up a localized string similar to Message Resource Name.
+
+
+
+
+ Looks up a localized string similar to The type of the external resource file containing the localized string to use as the message for the wrapping exception. .
+
+
+
+
+ Looks up a localized string similar to Message Resource Type.
+
+
+
+
+ Looks up a localized string similar to The name of the Wrap Exception Handler..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Wrap Exception Handler..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the wrapping exception..
+
+
+
+
+ Looks up a localized string similar to Wrap Exception Type.
+
+
+
+
+ extensions to support creation of exception handling configuration sections.
+
+
+
+
+ Main entry point to configuration a section.
+
+ The builder interface to extend.
+
+
+
+
+ Defines an exception policy with a given name.
+
+
+
+
+ Defines new policy with a given name.
+
+ Name of policy
+
+
+
+
+ Fluent interface extensions for configuring an exception type on a
+
+
+
+
+ The handled under the .
+
+ The type of handled for this policy.
+
+
+
+
+ The handled under the .
+
+ The type of handled for this policy.
+
+
+
+
+ This interface provides the extension point for handlers that provide a fluent configuration interface.
+
+
+ Handlers providing a fluent interface should provide extension methods to this interface.
+
+ public static class ReplaceWithHandlerLoggingConfigurationSourceBuilderExtensions
+ {
+ public static IExceptionConfigurationReplaceWithProvider ReplaceWith(this IExceptionConfigurationAddExceptionHandlers context, Type replacingExceptionType)
+ { }
+ }
+
+
+ The context implementer offers additional interfaces that are useful in continuing the configuration of Exception Handling (
+ or in adding your custom handler information to the currently building exception type (). In lieu of casting to these
+ interfaces directly, consider using the as a base class for your custom handler builder.
+
+
+
+
+ This interface supports the fluent configuration of the Exception Handling Application Block.
+
+
+
+
+ End the current exception handling chain by doing nothing more.
+
+
+
+
+
+ End the current exception handling chain by notifying the caller that an exception should be rethrown.
+
+
+
+
+
+ End the current exception handling chain by throwing a new exception.
+
+
+
+
+
+ This interface supports the configuration of the Exception Handling Application Block.
+
+
+
+
+ Used to provide context to extensions of the Exception Handling fluent configuration interface.
+
+
+
+
+ Retrieves data about the currently built up ExceptionTypeData. Exception handler configuration extensions will use this to
+ add their handler information to the exception.
+
+
+
+
+
+
+
+
+
+ Configuration object for Custom Providers.
+
+
+
+
+ Represents the configuration for an .
+
+
+
+
+ Initializes an instance of a class.
+
+
+
+
+ Initializes an instance of an class with a name and an type.
+
+
+ The configured type.
+
+
+
+
+ Initializes an instance of an class with a name and an type.
+
+
+ The name of the configured .
+
+
+ The configured type.
+
+
+
+
+ Builds the exception handler represented by this configuration object.
+
+ An .
+
+
+
+ Initializes with default values.
+
+
+
+
+ Initializes with name and provider type.
+
+
+
+
+ Initializes with name and provider type.
+
+
+
+
+ Sets the attribute value for a key.
+
+ The attribute name.
+ The attribute value.
+
+
+
+ Modifies the object to remove all values that should not be saved.
+
+ A object at the current level containing a merged view of the properties.
+ A parent object or if this is the top level.
+ One of the values.
+
+
+
+ Resets the internal state of the object,
+ including the locks and the properties collection.
+
+ The parent element.
+
+
+
+ Indicates whether this configuration element has been modified since it was last
+ saved or loaded when implemented in a derived class.
+
+ if the element has been modified; otherwise, .
+
+
+
+ Called when an unknown attribute is encountered while deserializing the object.
+
+ The name of the unrecognized attribute.
+ The value of the unrecognized attribute.
+ if the processing of the element should continue; otherwise, .
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+
+ Builds the exception handler represented by this configuration object.
+
+ An .
+
+
+
+ Gets or sets the fully qualified name of the the element is the configuration for.
+
+
+ the fully qualified name of the the element is the configuration for.
+
+
+
+
+ Gets the custom configuration attributes.
+
+
+
+
+ Gets a of the properties that are defined for
+ this configuration element when implemented in a derived class.
+
+
+ A of the properties that are defined for this
+ configuration element when implemented in a derived class.
+
+
+
+
+ Gets the helper.
+
+
+
+
+ Defines configuration extensions to for
+ configuration.
+
+
+
+
+ Handle the with a custom exception handler.
+
+ Interface to extend to add custom handler options.
+ The of the custom handler.
+ This must derive from
+
+
+
+
+ Handle the with a custom exception handler.
+
+ Interface to extend to add custom handler options.
+ The Type of the custom handler.
+
+
+
+
+ Handle the with a custom exception handler.
+
+ Interface to extend to add custom handler options.
+ The of the custom handler.
+ Name-Value collection of attributes the custom handler can use to initialize itself.
+
+
+
+
+ Provides a base extensible class for handler configuration extensions. This class eases the handling
+ of the that is the typical entry point
+ for most exception handler's fluent configuration interface.
+
+
+
+
+ Initializes a new instance of the ExceptoinHandlerConfigurationExtensions
+
+ The context for configuration.
+
+ This constructor expects to the find the implementor of provide
+ the and interfaces.
+
+
+
+
+ The context for the extending handler in the fluent interface. The extension interface
+ is expected to return this context to enable continuation of configuring ExceptionHandling.
+
+
+
+
+ The current exception type being built in the fluent interface. Inheritors genereally should
+ add their to this during construction.
+
+
+
+
+ Represents the Exception Handling Application Block configuration section in a configuration file.
+
+
+
+
+ Gets the configuration section name for the library.
+
+
+
+
+ Gets the section in the configuration source.
+
+ The to get the section from.
+ The exception handling section.
+
+
+
+ Initializes a new instance of an class.
+
+
+
+
+ Builds a based on the configuration.
+
+ An .
+
+
+
+ Builds an based on the configuration.
+
+ The policy name.
+ The policy instance.
+
+
+
+ Gets a collection of objects.
+
+
+ A collection of objects.
+
+
+
+
+ Represents the configuration for an .
+
+
+
+
+ Creates a new instance of ExceptionPolicyData.
+
+
+
+
+ Initializes a new instance of the class with a name.
+
+
+ The name of the .
+
+
+
+
+ Builds an based on the configuration.
+
+ The policy instance.
+
+
+
+ Gets a collection of objects.
+
+
+ A collection of objects.
+
+
+
+
+ Represents the configuration for an
+ that will be handled by an exception policy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a name, the type and a .
+
+ The name of the configured exception.
+ The type.
+ One of the values that specifies the action that should occur after the exception is handled.
+
+
+
+ Initializes a new instance of the class with a name, the fully qualified type name of the and a .
+
+ The name of the configured exception.
+ The fully qualified type name of the type.
+ One of the values that specifies the action that should occur after the exception is handled.
+
+
+
+ Builds an based on the configuration.
+
+ The policy entry.
+
+
+
+ Gets or sets the name of the element.
+
+
+ The name of the element.
+
+
+
+
+ Gets or sets the type.
+
+
+ The type
+
+
+
+
+ Gets or sets the fully qualified type name of the type.
+
+
+ The fully qualified type name of the type.
+
+
+
+
+ Gets or sets the for the exception.
+
+
+ One of the values.
+
+
+
+
+ Gets a collection of objects.
+
+
+ A collection of objects.
+
+
+
+
+ This interface supports the fluent configuration of
+
+
+
+
+ Defines interface for adding messages when configuring a for an exception.
+
+
+
+
+
+ Use the provided message as part of the new exception.
+
+ Message to use when providing an alternative exception, typically through wrapping or replacing.
+
+
+
+
+ Use the message in the specified resource file and name.
+
+ The type from the assembly with the resource to use for a message
+ The name of the resource.
+
+
+
+
+ This interface supports the fluent configuration of
+
+
+
+
+ Represents the configuration data for a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a name, exception message, and replace exception type name.
+
+
+ The name of the .
+
+
+ The exception message replacement.
+
+
+ The fully qualified assembly name the type of the replacement exception.
+
+
+
+
+ Builds the exception handler represented by this configuration object.
+
+ An .
+
+
+
+ Gets or sets the message for the replacement exception.
+
+
+
+
+
+
+
+
+
+
+ Gets or sets the type of the replacement exception.
+
+
+
+
+ Gets or sets the fully qualified type name of the replacement exception.
+
+
+ The fully qualified type name of the replacement exception.
+
+
+
+
+ Defines configuration extensions to for
+ configuration.
+
+
+
+
+ Replace exception with new exception type.
+
+ Replacement type.
+
+
+
+
+ Replace exception with new exception type.
+
+ Interface to extend to add ReplaceWith options.
+ Replacement type.
+
+
+
+
+ Represents the configuration data for a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a name, an exception message, and the fully qualified assembly name of the type of the wrapping exception.
+
+
+ The name of the .
+
+
+ The exception message replacement.
+
+
+ The fully qualified assembly name of type of the wrapping exception
+
+
+
+
+ Builds the exception handler represented by this configuration object.
+
+ An .
+
+
+
+ Gets or sets the message for the replacement exception.
+
+
+
+
+
+
+
+
+
+
+ Gets or sets the type of the replacement exception.
+
+
+
+
+ Gets or sets the fully qualified type name of the replacement exception.
+
+
+ The fully qualified type name of the replacement exception.
+
+
+
+
+ Provides configuration extensions to the ExceptionHandling fluent configuration interface.
+
+
+
+
+ Wrap exception with the new exception type.
+
+ Type of to wrap existing exception with.
+
+
+
+
+ Wrap exception with the new exception type.
+
+ The extension context for this handler extension.
+ Type of to wrap existing exception with.
+
+
+
+
+ Represents the base class from which all implementations of exception formatters must derive. The formatter provides functionality for formatting objects.
+
+
+
+
+ Initializes a new instance of the class with an to format.
+
+ The object to format.
+ The id of the handling chain.
+
+
+
+ Formats the into the underlying stream.
+
+
+
+
+ Formats the exception and all nested inner exceptions.
+
+ The exception to format.
+ The outer exception. This
+ value will be null when writing the outer-most exception.
+
+ This method calls itself recursively until it reaches
+ an exception that does not have an inner exception.
+
+ This is a template method which calls the following
+ methods in order
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+ If the specified exception has an inner exception
+ then it makes a recursive call.
+
+
+
+
+
+
+
+ Formats an using reflection to get the information.
+
+
+ The to be formatted.
+
+
+ This method reflects over the public, instance properties
+ and public, instance fields
+ of the specified exception and prints them to the formatter.
+ Certain property names are ignored
+ because they are handled explicitly in other places.
+
+
+
+
+ When overridden by a class, writes a description of the caught exception.
+
+
+
+
+ When overridden by a class, writes the current time.
+
+ The current time.
+
+
+
+ When overridden by a class, writes the of the current exception.
+
+ The of the exception.
+
+
+
+ When overridden by a class, writes the .
+
+ The message to write.
+
+
+
+ When overridden by a class, writes the value of the property.
+
+ The source of the exception.
+
+
+
+ When overridden by a class, writes the value of the property.
+
+ The help link for the exception.
+
+
+
+ When overridden by a class, writes the value of the property.
+
+ The stack trace of the exception.
+
+
+
+ When overridden by a class, writes the value of a object.
+
+ The reflected object.
+ The value of the object.
+
+
+
+ When overridden by a class, writes the value of a object.
+
+ The reflected object.
+ The value of the object.
+
+
+
+ When overridden by a class, writes additional properties if available.
+
+ Additional information to be included with the exception report
+
+
+
+ Gets the to format.
+
+
+ The to format.
+
+
+
+
+ Gets the id of the handling chain requesting a formatting.
+
+
+ The id of the handling chain requesting a formatting, or if no such id is available.
+
+
+
+
+ Gets additional information related to the but not
+ stored in the exception (eg: the time in which the was
+ thrown).
+
+
+ Additional information related to the but not
+ stored in the exception (for example, the time when the was
+ thrown).
+
+
+
+
+ An exception that occurred during the exception handling process.
+
+
+
+
+ Initializes with defaults.
+
+
+
+
+ Initializes with a specified error message.
+
+ A message that describes the error.
+
+
+
+ Initializes with a specified error
+ message and a reference to the inner exception that is the 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 innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
+
+
+
+
+ Initializes with serialized data.
+
+ The object that holds the serialized object data.
+ The contextual information about the source or destination.
+
+
+
+
+ Non-static entry point to the exception handling functionality.
+
+
+ Instances of can be used to replace references to the static
+ facade.
+
+
+
+
+
+ Initializes a new instance of the class with one or more exception policies.
+
+ The exception policies.
+
+
+
+ Initializes a new instance of the class with a set of exception policies.
+
+ The complete set of exception policies.
+
+
+
+ Initializes a new instance of the class with a set of policies.
+
+ The complete set of exception policies.
+
+
+
+ Handles the specified
+ object according to the rules configured for .
+
+ An object.
+ The name of the policy to handle.
+ if rethrowing an exception is recommended; otherwise, .
+
+ The following code shows the usage of the
+ exception handling framework.
+
+ try
+ {
+ DoWork();
+ }
+ catch (Exception e)
+ {
+ if (exceptionManager.HandleException(e, name)) throw;
+ }
+
+
+
+
+
+
+ Handles the specified
+ object according to the rules configured for .
+
+ An object.
+ The name of the policy to handle.
+ The new to throw, if any.
+
+ If a rethrow is recommended and is ,
+ then the original exception should be rethrown; otherwise,
+ the exception returned in should be thrown.
+
+ if rethrowing an exception is recommended; otherwise, .
+
+ The following code shows the usage of the
+ exception handling framework.
+
+ try
+ {
+ DoWork();
+ }
+ catch (Exception e)
+ {
+ Exception exceptionToThrow;
+ if (exceptionManager.HandleException(e, name, out exceptionToThrow))
+ {
+ if(exceptionToThrow == null)
+ throw;
+ else
+ throw exceptionToThrow;
+ }
+ }
+
+
+
+
+
+
+ Excecutes the supplied delegate and handles
+ any thrown exception according to the rules configured for .
+
+ The delegate to execute.
+ The name of the policy to handle.
+
+ The following code shows the usage of this method.
+
+ exceptionManager.Process(() => { DoWork(); }, "policy");
+
+
+
+
+
+
+ Executes the supplied delegate , and handles
+ any thrown exception according to the rules configured for .
+
+ Type of return value from .
+ The delegate to execute.
+ The value to return if an exception is thrown and the
+ exception policy swallows it instead of rethrowing.
+ The name of the policy to handle.
+ If no exception occurs, returns the result from executing . If
+ an exception occurs and the policy does not re-throw, returns .
+
+
+
+ Executes the supplied delegate , and handles
+ any thrown exception according to the rules configured for .
+
+ Type of return value from .
+ The delegate to execute.
+ The name of the policy to handle.
+ If no exception occurs, returns the result from executing . If
+ an exception occurs and the policy does not re-throw, returns the default value for .
+
+
+
+ Gets the policies for the exception manager.
+
+
+
+
+ Factory for objects. This class is responsible for creating all the internal
+ classes needed to implement a .
+
+
+
+
+ Initializes a new instance of the class with the default instance.
+
+
+
+
+ Initializes a new instance of the class with the specified instance.
+
+ The source for configuration information.
+
+
+
+ Initializes a new instance of the class with a configuration accessor.
+
+ The source for configuration information.
+
+
+
+ Creates a new instance of the class based on the information in the configuration section.
+
+ The name of the required instance.
+ The created object.
+ is .
+ The configuration section does not exist or cannot be deserialized, or there are no settings for .
+
+
+
+ Creates a new instance of the class based on the information in the configuration section.
+
+ The created object.
+ The configuration section does not exist or cannot be deserialized.
+
+
+
+ Initializes the class with a new instance created based on the information in the configuration section.
+
+
+
+
+ Represents a policy with exception types and
+ exception handlers.
+
+
+
+
+ The main entry point into the Exception Handling Application Block.
+ Handles the specified
+ object according to the given .
+
+ An object.
+ The name of the policy to handle.
+ if rethrowing an exception is recommended; otherwise, .
+
+ The following code shows the usage of the
+ exception handling framework.
+
+ try
+ {
+ DoWork();
+ }
+ catch (Exception e)
+ {
+ if (ExceptionPolicy.HandleException(e, name)) throw;
+ }
+
+
+
+
+
+ Handles the specified
+ object according to the rules configured for .
+
+ An object.
+ The name of the policy to handle.
+ The new to throw, if any.
+
+ If a rethrow is recommended and is ,
+ then the original exception should be rethrown; otherwise,
+ the exception returned in should be thrown.
+
+ if rethrowing an exception is recommended; otherwise, .
+
+ The following code shows the usage of the
+ exception handling framework.
+
+ try
+ {
+ DoWork();
+ }
+ catch (Exception e)
+ {
+ Exception exceptionToThrow;
+ if (ExceptionPolicy.HandleException(e, name, out exceptionToThrow))
+ {
+ if(exceptionToThrow == null)
+ throw;
+ else
+ throw exceptionToThrow;
+ }
+ }
+
+
+
+
+
+
+ Sets the global exception manager.
+
+ The exception manager.
+ to throw an exception if the manager is already set; otherwise, . Defaults to .
+ The manager is already set and is .
+
+
+
+ Resets the global exception manager.
+
+
+
+
+ Represents an entry in an containing
+ an exception type as the key and a list of
+ objects as the value.
+
+
+
+
+ Initializes a new instance of the
+ class.
+
+ Type of exception this policy refers to.
+ What to do after the exception is handled.
+ Handlers to execute on the exception.
+
+
+
+ Handles all exceptions in the chain.
+
+ The Exception to handle.
+ Whether or not a rethrow is recommended.
+
+
+
+ Rethrows the given exception. Placed in a seperate method for
+ easier viewing in the stack trace.
+
+
+
+
+ The type of to match this policy entry to.
+
+
+
+
+ Represents a policy for handling exceptions.
+
+
+
+
+ Initializes a new instance of the class with the policy name and a set of policy entries.
+
+ The policy name.
+ A set of objects.
+
+
+
+
+ Initializes a new instance of the class with the policy name and a dictionary of policy entries.
+
+ The policy name.
+ A set of objects.
+
+
+
+ Checks if there is a policy entry that matches
+ the type of the exception object specified by the
+ parameter,
+ and if so, invokes the handlers associated with that entry.
+
+ The Exception to handle.
+ if rethrowing an exception is recommended; otherwise, .
+
+ The algorithm for matching the exception object to a
+ set of handlers mimics that of a standard .NET Framework exception policy.
+ The specified exception object will be matched to a single
+ exception policy entry by traversing its inheritance hierarchy.
+ This means that if a FileNotFoundException, for example, is
+ caught, but the only exception type that the exception policy
+ knows how to handle is System.Exception, the event handlers
+ for System.Exception will be invoked because
+ FileNotFoundException ultimately derives from System.Exception.
+
+
+
+
+ Gets the policy entry associated with the specified key.
+
+ Type of the exception.
+ The corresponding to this exception type.
+
+
+
+ Traverses the specified type's inheritance hiearchy.
+
+
+
+
+ Name of this exception policy.
+
+
+
+
+ Provides common functions for the Exception Handling Application Block classes. Cannot inherit from this class.
+
+
+
+
+ Formats a message by replacing the token "{handlingInstanceID}" with the handlingInstanceID.
+
+ The original message.
+ The handlingInststanceID passed into the exceptionHandlerData.
+ The formatted message.
+
+
+
+ Formats an exception message so that it can be sent to the event log later, by someone else.
+
+ The policy that is running.
+ The exception that occured in the chain.
+ The exception when the chain failed.
+ The original exception.
+
+
+
+ Defines the contract for an ExceptionHandler. An ExceptionHandler contains specific handling
+ logic (i.e. logging the exception, replacing the exception, and so forth.) that is executed in a chain of multiple
+ ExceptionHandlers. A chain of one or more ExceptionHandlers is executed based on the exception type being
+ handled, as well as the .
+
+
+
+
+ When implemented by a class, handles an .
+
+ The exception to handle.
+
+ The unique ID attached to the handling chain for this handling instance.
+
+ Modified exception to pass to the next exceptionHandlerData in the chain.
+
+
+
+ Determines what action should occur after an exception is handled by the configured exception handling chain.
+
+
+
+
+ Indicates that no rethrow should occur.
+
+
+
+
+ Notify the caller that a rethrow is recommended.
+
+
+
+
+ Throws the exception after the exception has been handled by all handlers in the chain.
+
+
+
+
+ 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 Custom.
+
+
+
+
+ Looks up a localized string similar to Exception Type.
+
+
+
+
+ Looks up a localized string similar to Add a new exception type that is handled by this exception policy..
+
+
+
+
+ Looks up a localized string similar to Additional Info:.
+
+
+
+
+ Looks up a localized string similar to Add a new policy..
+
+
+
+
+ Looks up a localized string similar to Policy.
+
+
+
+
+ Looks up a localized string similar to Replace Handler.
+
+
+
+
+ Looks up a localized string similar to Replace the exception with another exception..
+
+
+
+
+ Looks up a localized string similar to Wrap Handler.
+
+
+
+
+ Looks up a localized string similar to Wrap the exception within another exception..
+
+
+
+
+ Looks up a localized string similar to Attributes.
+
+
+
+
+ Looks up a localized string similar to Attributes.
+
+
+
+
+ Looks up a localized string similar to AuthorizationProviderTypeDescription.
+
+
+
+
+ Looks up a localized string similar to Enterprise Library Exception Handling Application Block.
+
+
+
+
+ Looks up a localized string similar to Cannot swallow exceptions for methods with non-null return type..
+
+
+
+
+ Looks up a localized string similar to HANDLING CHAIN EXCEPTION:.
+
+
+
+
+ Looks up a localized string similar to A configuration failure occurred while creating policy ‘{0}’..
+
+
+
+
+ Looks up a localized string similar to The type '{3}' for custom exception handler with name '{2}' is not a valid type ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The type '{3}' for custom exception handler with name '{2}' does not have the expected constructor ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The type '{3}' for custom exception handler with name '{2}' is not a valid handler type ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The custom exception handler with name '{2}' does not have a type specified ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The error occurred while handling an exception for policy "{0}"..
+
+
+
+
+ Looks up a localized string similar to Event id.
+
+
+
+
+ Looks up a localized string similar to Cannot load the exception handling section from the configuration file..
+
+
+
+
+ Looks up a localized string similar to The configuration section for Exception Handling cannot be found in the configuration source..
+
+
+
+
+ Looks up a localized string similar to Handlers.
+
+
+
+
+ Looks up a localized string similar to Custom Handler Type.
+
+
+
+
+ Looks up a localized string similar to Custom Handler Type.
+
+
+
+
+ Looks up a localized string similar to The ExceptionManager for the ExceptionPolicy is already set..
+
+
+
+
+ Looks up a localized string similar to Must set an ExceptionManager in the ExceptionPolicy class using the SetExceptionManager method..
+
+
+
+
+ Looks up a localized string similar to Exception message.
+
+
+
+
+ Looks up a localized string similar to Exception message resource name.
+
+
+
+
+ Looks up a localized string similar to Exception message resource type.
+
+
+
+
+ Looks up a localized string similar to Unable to rethrow exception: The exception to throw is null..
+
+
+
+
+ Looks up a localized string similar to Policies.
+
+
+
+
+ Looks up a localized string similar to Cannot retrieve policy information.
+
+
+
+
+ Looks up a localized string similar to The policy with name '{0}' cannot be found. Exception handling aborted..
+
+
+
+
+ Looks up a localized string similar to The exception handling configuration does not contain a policy with name '{0}'..
+
+
+
+
+ Looks up a localized string similar to The value can not be an empty string or null..
+
+
+
+
+ Looks up a localized string similar to The type must be of type Exception..
+
+
+
+
+ Looks up a localized string similar to Exception Types.
+
+
+
+
+ Looks up a localized string similar to An exception of type '{0}' occurred and was caught..
+
+
+
+
+ Looks up a localized string similar to Access failed.
+
+
+
+
+ Looks up a localized string similar to Formatter type name.
+
+
+
+
+ Looks up a localized string similar to Help link : {0}.
+
+
+
+
+ Looks up a localized string similar to Inner Exception.
+
+
+
+
+ Looks up a localized string similar to Log category.
+
+
+
+
+ Looks up a localized string similar to Message : {0}.
+
+
+
+
+ Looks up a localized string similar to Must be implemented by subclasses.
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to OFFENDING EXCEPTION:.
+
+
+
+
+ Looks up a localized string similar to ORIGINAL EXCEPTION:.
+
+
+
+
+ Looks up a localized string similar to Permission Denied.
+
+
+
+
+ Looks up a localized string similar to POLICY NAME: {0}.
+
+
+
+
+ Looks up a localized string similar to Post handling action.
+
+
+
+
+ Looks up a localized string similar to Priority.
+
+
+
+
+ Looks up a localized string similar to Access failed.
+
+
+
+
+ Looks up a localized string similar to Replace exception type .
+
+
+
+
+ Looks up a localized string similar to Exception Handling Settings.
+
+
+
+
+ Looks up a localized string similar to Severity.
+
+
+
+
+ Looks up a localized string similar to Source : {0}.
+
+
+
+
+ Looks up a localized string similar to Stack Trace.
+
+
+
+
+ Looks up a localized string similar to The stack trace is unavailable..
+
+
+
+
+ Looks up a localized string similar to Title.
+
+
+
+
+ Looks up a localized string similar to Type name.
+
+
+
+
+ Looks up a localized string similar to Type : {0}.
+
+
+
+
+ Looks up a localized string similar to Unable to handle exception: '{0}'..
+
+
+
+
+ Looks up a localized string similar to <undefined value>.
+
+
+
+
+ Looks up a localized string similar to Use default logger.
+
+
+
+
+ Looks up a localized string similar to Wrap exception type.
+
+
+
+
+ Replaces the exception in the chain of handlers with a cleansed exception.
+
+
+
+
+ Initializes a new instance of the class with an exception message and the type of to use.
+
+ The exception message.
+ The type of to use to replace.
+
+
+
+ Initializes a new instance of the class with an exception message
+ resolver and the type of to use.
+
+ The exception message resolver.
+ The type of to use to replace.
+
+
+
+ Replaces the exception with the configured type for the specified policy.
+
+ The original exception.
+ The unique identifier attached to the handling chain for this handling instance.
+ Modified exception to pass to the next exceptionHandlerData in the chain.
+
+
+
+ Replaces an exception with a new exception of a specified type.
+
+ The message for the new exception.
+ The replaced or "cleansed" exception. Returns null if unable to replace the exception.
+
+
+
+ The type of exception to replace.
+
+
+
+
+ Gets the message for the new exception.
+
+
+
+
+ Represents an exception formatter that formats exception objects as text.
+
+
+
+
+ Initializes a new instance of the
+ using the specified
+ and
+ objects.
+
+ The stream to write formatting information to.
+ The exception to format.
+
+
+
+ Initializes a new instance of the
+ using the specified
+ and
+ objects.
+
+ The stream to write formatting information to.
+ The exception to format.
+ The id of the handling chain.
+
+
+
+ Formats the into the underlying stream.
+
+
+
+
+ Writes a generic description to the underlying text stream.
+
+
+
+
+ Writes and formats the exception and all nested inner exceptions to the .
+
+ The exception to format.
+ The outer exception. This
+ value will be null when writing the outer-most exception.
+
+
+
+ Writes the current date and time to the .
+
+ The current time.
+
+
+
+ Writes the value of the
+ property for the specified exception type to the .
+
+ The of the exception.
+
+
+
+ Writes the value of the
+ property to the underyling .
+
+ The message to write.
+
+
+
+ Writes the value of the specified source taken
+ from the value of the
+ property to the .
+
+ The source of the exception.
+
+
+
+ Writes the value of the specified help link taken
+ from the value of the
+ property to the .
+
+ The exception's help link.
+
+
+
+ Writes the name and value of the specified property to the .
+
+ The reflected object.
+ The value of the object.
+
+
+
+ Writes the name and value of the specified field to the .
+
+ The reflected object.
+ The value of the object.
+
+
+
+ Writes the value of the property to the .
+
+ The stack trace of the exception.
+
+ If there is no stack trace available, an appropriate message will be displayed.
+
+
+
+
+ Writes the additional properties to the .
+
+ Additional information to be included with the exception report
+
+
+
+ Indents the .
+
+
+
+
+ Gets the underlying
+ that the current formatter is writing to.
+
+
+
+
+ Wraps the current exception in the handling chain with a new exception of a specified type.
+
+
+
+
+ Initialize a new instance of the class with an exception message and the type of to use.
+
+ The exception message.
+ The type of to use to wrap.
+
+
+
+ Initialize a new instance of the class with an exception message resolver
+ and the type of to use.
+
+ The exception message resolver.
+ The type of to use to wrap.
+
+
+
+ Wraps the with the configuration exception type.
+
+ The exception to handle.
+
+ The unique ID attached to the handling chain for this handling instance.
+
+ Modified exception to pass to the next exceptionHandlerData in the chain.
+
+
+
+ Gets the of exception to wrap the original exception with.
+
+
+ The of exception to wrap the original exception with.
+
+
+
+
+ Gets the message of the wrapped exception.
+
+
+ The message of the wrapped exception.
+
+
+
+
+ Represents an exception formatter that formats exception objects as XML.
+
+
+
+
+ Initializes a new instance of the class using the specified and objects.
+
+ The in which to write the XML.
+ The to format.
+ The id of the handling chain.
+
+
+
+ Initializes a new instance of the class using the specified and objects.
+
+ The in which to write the XML.
+ The to format.
+
+ An with indented formatting is created from the specified .
+
+ The id of the handling chain.
+
+
+
+ Formats the into the underlying stream.
+
+
+
+
+ Writes the current date and time to the .
+
+ The current time.
+
+
+
+ Writes the value of the property to the .
+
+ The message to write.
+
+
+
+ Writes a generic description to the .
+
+
+
+
+ Writes the value of the specified help link taken
+ from the value of the
+ property to the .
+
+ The exception's help link.
+
+
+
+ Writes the value of the specified stack trace taken from the value of the property to the .
+
+ The stack trace of the exception.
+
+
+
+ Writes the value of the specified source taken from the value of the property to the .
+
+ The source of the exception.
+
+
+
+ Writes the value of the
+ property for the specified exception type to the .
+
+ The of the exception.
+
+
+
+ Writes and formats the exception and all nested inner exceptions to the .
+
+ The exception to format.
+ The outer exception. This value will be null when writing the outer-most exception.
+
+
+
+ Writes the name and value of the specified property to the .
+
+ The reflected object.
+ The value of the object.
+
+
+
+ Writes the name and value of the object to the .
+
+ The reflected object.
+ The value of the object.
+
+
+
+ Writes additional information to the .
+
+ Additional information to be included with the exception report
+
+
+
+ Gets the underlying that the formatted exception is written to.
+
+
+ The underlying that the formatted exception is written to.
+
+
+
+
diff --git a/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/tools/Utils.psm1 b/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/tools/Utils.psm1
new file mode 100644
index 0000000..37fdb65
Binary files /dev/null and b/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/tools/Utils.psm1 differ
diff --git a/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/tools/install.ps1 b/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/tools/install.ps1
new file mode 100644
index 0000000..153090b
Binary files /dev/null and b/packages/EnterpriseLibrary.ExceptionHandling.6.0.1304.0/tools/install.ps1 differ
diff --git a/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0.nupkg b/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0.nupkg
new file mode 100644
index 0000000..eae761a
Binary files /dev/null and b/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0.nupkg differ
diff --git a/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/Readme.txt b/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/Readme.txt
new file mode 100644
index 0000000..c5360b3
--- /dev/null
+++ b/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/Readme.txt
@@ -0,0 +1,12 @@
+MICROSOFT ENTERPRISE LIBRARY
+EXCEPTION HANDLING APPLICATION BLOCK
+6.0.1304.0
+
+Summary: The Exception Handling Application Block helps developers, architects and policy makers implement common design patterns and create a consistent strategy for processing exceptions that occur in an application or at layer boundaries. It provides a selection of plug-in exception handlers and formatters that you can use, and is extensible so you can even create your own custom implementations. You can use the block when you want to implement exception shielding, modify exceptions in various ways, or chain exceptions (for example, by logging an exception and then passing it to another layer of your application). The configurable approach means that administrators can change the behavior of the exception management mechanism simply by editing the application configuration without requiring any changes to the code, recompiling, or redeployment.
+
+The most up-to-date version of the release notes and known issues is available online:
+http://aka.ms/el6release
+
+
+Microsoft patterns & practices
+http://microsoft.com/practices
diff --git a/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll b/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll
new file mode 100644
index 0000000..8f6d0f5
Binary files /dev/null and b/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll differ
diff --git a/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.xml b/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.xml
new file mode 100644
index 0000000..2c071ed
--- /dev/null
+++ b/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.xml
@@ -0,0 +1,430 @@
+
+
+
+ Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging
+
+
+
+
+ Extensions to that support logging exceptions.
+
+
+
+
+ Category name to log under. This should align with a category name defined through the extensions.
+
+ Interface to extend to provide this handler fluent interface.
+ Name of the category.
+
+
+
+
+ Defines the fluent configuration extensions for the logging provider.
+
+
+
+
+ Title to use when logging an exception.
+
+
+
+
+
+
+ EventId to use when logging an exception.
+
+
+
+
+
+
+ Type of exception formatter to use when logging.
+
+
+
+
+
+
+ Type of exception formatter to use when logging.
+
+
+
+
+
+
+ Severity to use when logging an exception.
+
+
+
+
+
+
+ Priority to use when logging an 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 Logs details of the exception sent to the block by using the Logging Application Block.
+ Adding this Exception Handler automatically adds the Logging Application Block with the default settings..
+
+
+
+
+ Looks up a localized string similar to Logging Exception Handler.
+
+
+
+
+ Looks up a localized string similar to The Event ID for the logged exception..
+
+
+
+
+ Looks up a localized string similar to Event ID.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Formatter to use when logging the exception..
+
+
+
+
+ Looks up a localized string similar to Formatter Type.
+
+
+
+
+ Looks up a localized string similar to The name of the Logging Category to use when logging exceptions, as configured in the settings of the Logging Application Block..
+
+
+
+
+ Looks up a localized string similar to Logging Category.
+
+
+
+
+ Looks up a localized string similar to The name of the Logging Exception Handler..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The priority of the logged exception message.
+ Messages with a priority below the minimum specified in a Priority Filter in the Logging Application Block are not logged..
+
+
+
+
+ Looks up a localized string similar to Priority.
+
+
+
+
+ Looks up a localized string similar to The severity value of the logged exception. .
+
+
+
+
+ Looks up a localized string similar to Severity.
+
+
+
+
+ Looks up a localized string similar to The title for the logged exception. .
+
+
+
+
+ Looks up a localized string similar to Title.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Logging Exception Handler..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to Obsolete. The Exception Handler will always use the default LogWriter to write the exception message..
+
+
+
+
+ Looks up a localized string similar to Use Default Logger.
+
+
+
+
+ Represents configuration for a .
+
+
+
+
+ Initializes with default values.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The name of the handler.
+
+
+ The default log category.
+
+
+ The default eventID.
+
+
+ The default severity.
+
+
+ The default title.
+
+
+ The formatter type.
+
+
+ The minimum value for messages to be processed. Messages with a priority below the minimum are dropped immediately on the client.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The name of the handler.
+
+
+ The default log category.
+
+
+ The default eventID.
+
+
+ The default severity.
+
+
+ The default title.
+
+
+ The formatter fully qualified assembly type name.
+
+
+ The minimum value for messages to be processed. Messages with a priority below the minimum are dropped immediately on the client.
+
+
+
+
+ Builds the exception handler represented by this configuration object.
+
+ An .
+
+
+
+ Gets or sets the default log category.
+
+
+
+
+ Gets or sets the default event ID.
+
+
+
+
+ Gets or sets the default severity.
+
+
+
+
+ Gets or sets the default title.
+
+
+
+
+ Gets or sets the formatter type.
+
+
+
+
+ Gets or sets the formatter fully qualified assembly type name.
+
+
+ The formatter fully qualified assembly type name
+
+
+
+
+ Gets or sets the minimum value for messages to be processed. Messages with a priority
+ below the minimum are dropped immediately on the client.
+
+
+
+
+ Gets or sets the default logger to be used.
+
+
+
+
+ Represents an that formats
+ the exception into a log message and sends it to
+ the Enterprise Library Logging Application Block.
+
+
+
+
+ Initializes a new instance of the class with the log category, the event ID, the ,
+ the title, minimum priority, the formatter type, and the .
+
+ The default category
+ An event id.
+ The severity.
+ The log title.
+ The minimum priority.
+ The type type.
+ The to use.
+
+ The type specified for the attribute must have a public constructor with
+ parameters of type , and .
+
+
+
+
+ Handles the specified object by formatting it and writing to the configured log.
+
+ The exception to handle.
+
+ The unique ID attached to the handling chain for this handling instance.
+
+ Modified exception to pass to the next handler in the chain.
+
+
+
+ Writes the specified log message using
+ the Logging Application Block's
+ method.
+
+ The message to write to the log.
+ The exception's data.
+
+
+
+ Creates an instance of the
+ class using its default constructor.
+
+ A newly created
+
+
+
+ Creates an
+ object based on the configured ExceptionFormatter
+ type name.
+
+ The stream to write to.
+ The to pass into the formatter.
+ The id of the handling chain.
+ A newly created
+
+
+
+ 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 The type specified for the formatter is not a formatter type..
+
+
+
+
+ Looks up a localized string similar to The formatter type is not set or does not represent a type..
+
+
+
+
+ Looks up a localized string similar to Handler: '{0}'.
+
+
+
+
+ Looks up a localized string similar to Category.
+
+
+
+
+ Looks up a localized string similar to Event ID.
+
+
+
+
+ Looks up a localized string similar to Formatter.
+
+
+
+
+ Looks up a localized string similar to Priority.
+
+
+
+
+ Looks up a localized string similar to Severity.
+
+
+
+
+ Looks up a localized string similar to Title.
+
+
+
+
+ Looks up a localized string similar to The configured exception formatter '{0}' must expose a public constructor that takes a TextWriter object, an Exception object and a GUID instance as parameters..
+
+
+
+
+ Looks up a localized string similar to The Logger.Writer property must be set before building a LoggingExceptionHandler..
+
+
+
+
diff --git a/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/tools/Utils.psm1 b/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/tools/Utils.psm1
new file mode 100644
index 0000000..37fdb65
Binary files /dev/null and b/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/tools/Utils.psm1 differ
diff --git a/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/tools/install.ps1 b/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/tools/install.ps1
new file mode 100644
index 0000000..153090b
Binary files /dev/null and b/packages/EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0/tools/install.ps1 differ
diff --git a/packages/EnterpriseLibrary.Logging.6.0.1304.0/EnterpriseLibrary.Logging.6.0.1304.0.nupkg b/packages/EnterpriseLibrary.Logging.6.0.1304.0/EnterpriseLibrary.Logging.6.0.1304.0.nupkg
new file mode 100644
index 0000000..5ef2e4b
Binary files /dev/null and b/packages/EnterpriseLibrary.Logging.6.0.1304.0/EnterpriseLibrary.Logging.6.0.1304.0.nupkg differ
diff --git a/packages/EnterpriseLibrary.Logging.6.0.1304.0/Readme.txt b/packages/EnterpriseLibrary.Logging.6.0.1304.0/Readme.txt
new file mode 100644
index 0000000..b3ccd57
--- /dev/null
+++ b/packages/EnterpriseLibrary.Logging.6.0.1304.0/Readme.txt
@@ -0,0 +1,12 @@
+MICROSOFT ENTERPRISE LIBRARY
+LOGGING APPLICATION BLOCK
+6.0.1304.0
+
+Summary: The Logging Application Block enables you to decouple your logging functionality from your application code. The block can route log entries synchronously or asynchronously to a Windows Event Log, a database, or a flat file. It can also generate an e-mail message containing the logging information or a message you can route through Windows Message Queuing (using a distributor service provided with the block). You can create a custom provider that sends the log entry to any other location or executes some other action.
+
+The most up-to-date version of the release notes and known issues is available online:
+http://aka.ms/el6release
+
+
+Microsoft patterns & practices
+http://microsoft.com/practices
diff --git a/packages/EnterpriseLibrary.Logging.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.Logging.dll b/packages/EnterpriseLibrary.Logging.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.Logging.dll
new file mode 100644
index 0000000..2b40d7d
Binary files /dev/null and b/packages/EnterpriseLibrary.Logging.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.Logging.dll differ
diff --git a/packages/EnterpriseLibrary.Logging.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.Logging.xml b/packages/EnterpriseLibrary.Logging.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.Logging.xml
new file mode 100644
index 0000000..f9e2ab6
--- /dev/null
+++ b/packages/EnterpriseLibrary.Logging.6.0.1304.0/lib/NET45/Microsoft.Practices.EnterpriseLibrary.Logging.xml
@@ -0,0 +1,9682 @@
+
+
+
+ Microsoft.Practices.EnterpriseLibrary.Logging
+
+
+
+
+ Represents the possible modes for client-side category filtering.
+
+
+
+
+ Allow all categories except those explicitly denied
+
+
+
+
+ Deny all categories except those explicitly allowed
+
+
+
+
+ Represents the configuration settings that describe a .
+
+
+
+
+ Represents the configuration settings for a log formatter. This class is abstract.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a name and a formatter type.
+
+ The name.
+ The type.
+
+
+
+ Builds the object represented by this configuration object.
+
+
+ A formatter.
+
+
+
+
+ Initializes a new instance of the class with default values.
+
+
+
+
+ Initializes a new instance of the class with a name.
+
+ The name for the represented .
+
+
+
+ Builds the object represented by this configuration object.
+
+
+ A formatter.
+
+
+
+
+ Represents a single category filter configuration settings.
+
+
+
+
+ Base class for configuration objects.
+
+
+ This class should be made abstract, but in order to use it in a NameTypeConfigurationElementCollection
+ it must be public and have a no-args constructor.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of with name and type.
+
+ The name.
+ The type.
+
+
+
+ Builds the object represented by this configuration object.
+
+
+ A filter.
+
+
+
+
+ Initialize a new instance of the class.
+
+
+
+
+ Initialize a new instance of the class.
+
+ The collection of category names to filter.
+ The mode of filtering.
+
+
+
+ Initialize a new named instance of the class.
+
+ The name.
+ The collection of category names to filter.
+ The mode of filtering.
+
+
+
+ Builds the object represented by this configuration object.
+
+
+ A .
+
+
+
+
+ One of enumeration.
+
+
+
+
+ Collection of .
+
+
+
+
+ Represents a single configuration settings.
+
+
+
+
+ Initialize a new instance of the class.
+
+
+
+
+ Initialize a new instance of the class with a name.
+
+
+ The name of the .
+
+
+
+
+ Gets or sets the name of the element.
+
+
+ The name of the element.
+
+
+ Overriden in order to annotate with designtime attribute.
+
+
+
+
+ Base configuration object for custom s.
+
+
+
+
+ Represents the configuration for a .
+
+
+ Since trace listeners are not under our control, the building mechanism can't rely
+ on annotations to the trace listeners to determine the concrete subtype
+ when deserializing. Because of this, the schema for includes the actual
+ type of the instance to build.
+
+
+
+
+ Name of the property that holds the type for a .
+
+
+ This property will hold the type of the object it holds it. However, it's used during the
+ deserialization process when the actual type of configuration element to create has to be determined.
+
+
+
+
+ Name of the property that holds the of a .
+
+
+
+
+ Name of the property that holds the Filter of a
+
+
+
+
+ Name of the property that holds the asynchronous flag of a
+
+
+
+
+ Name of the property that holds the asynchronous dispose timeout of a
+
+
+
+
+ Name of the property that holds the asynchronous buffer size of a
+
+
+
+
+ Name of the property that holds the asynchronous max degree of parallelism of a
+
+
+
+
+ Initializes an instance of the class.
+
+
+
+
+ Initializes an instance of for the given .
+
+ Type of trace listener this element represents.
+
+
+
+ Initializes an instance of with a name and for
+ a TraceListenerType.
+
+ The name for the instance.
+ The trace listener type.
+ The trace options.
+
+
+
+ Initializes an instance of with a name, a for
+ a TraceListenerType and a for a Filter.
+
+ The name for the instance.
+ The trace listener type.
+ The trace options.
+ The filter.
+
+
+
+ Builds the object represented by this configuration object.
+
+ The logging configuration settings.
+
+ A trace listener.
+
+
+
+
+ Builds the object represented by this configuration object.
+
+ The logging configuration settings.
+
+ A trace listener.
+
+
+
+
+ Builds the log formatter represented by the name in .
+
+ The logging settings.
+ The formatter name, or a null or empty string.
+ A new formatter if is not null or empty; otherwise, null.
+
+
+
+ Gets or sets the type of the actual type.
+
+
+ Should match the this.GetType().
+
+
+
+
+ Gets or sets the fully qualified name of the actual type.
+
+
+ the fully qualified name of the actual type.
+
+
+
+
+ Gets or sets the for the represented .
+
+
+
+
+ Gets or sets the for the represented
+
+
+
+
+ Gets or sets the asynchronous flag for the represented
+
+
+
+
+ Gets or sets the asynchronous dispose timeout for the represented
+
+
+
+
+ Gets or sets the asynchronous buffer size for the represented
+
+
+
+
+ Gets or sets the asynchronous max degree of parallelism for the represented
+
+
+
+
+ Initializes a new instance of the with default values.
+
+
+
+
+ Initializes a new instance of the with name, type and initial information.
+
+ The name for the represented .
+ The of the represented .
+ The initialization information for the represented .
+
+
+
+ Initializes a new instance of the with name, fully qualified type name and initial information.
+
+ The name for the represented .
+ The fully qualified type name of the represented .
+ The initialization information for the represented .
+
+
+
+ Initializes a new instance of the with name, type, initial information, and output options.
+
+ The name for the represented .
+ The of the represented .
+ The initialization information for the represented .
+ The output options.
+
+
+
+ Initializes a new instance of the with name, fully qualified type name, initial information, and output options.
+
+ The name for the represented .
+ The fully qualified type name of the represented .
+ The initialization information for the represented .
+ The output options.
+
+
+
+ Sets the attribute value for a key.
+
+ The attribute name.
+ The attribute value.
+
+
+
+ Creates the helper that enapsulates the configuration properties management.
+
+
+
+
+
+ Modifies the object to remove all values that should not be saved.
+
+ A object at the current level containing a merged view of the properties.
+ A parent object or if this is the top level.
+ One of the values.
+
+
+
+ Resets the internal state of the object,
+ including the locks and the properties collection.
+
+ The parent element.
+
+
+
+ Indicates whether this configuration element has been modified since it was last
+ saved or loaded when implemented in a derived class.
+
+ if the element has been modified; otherwise, .
+
+
+
+ Called when an unknown attribute is encountered while deserializing the object.
+
+ The name of the unrecognized attribute.
+ The value of the unrecognized attribute.
+ if the processing of the element should continue; otherwise, .
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+
+ Builds the object represented by this configuration object.
+
+ The logging configuration settings.
+
+ A trace listener.
+
+
+
+
+ Gets the custom configuration attributes.
+
+
+
+
+ Gets or sets the initialization data.
+
+
+
+
+ Gets a of the properties that are defined for
+ this configuration element when implemented in a derived class.
+
+
+ A of the properties that are defined for this
+ configuration element when implemented in a derived class.
+
+
+
+
+ Gets the helper.
+
+
+
+
+ Configuration object for custom log formatters.
+
+
+
+
+ Initializes with default values.
+
+
+
+
+ Initializes with name and provider type.
+
+
+
+
+ Initializes with name and provider type.
+
+
+
+
+ Sets the attribute value for a key.
+
+ The attribute name.
+ The attribute value.
+
+
+
+ Modifies the object to remove all values that should not be saved.
+
+ A object at the current level containing a merged view of the properties.
+ A parent object or if this is the top level.
+ One of the values.
+
+
+
+ Resets the internal state of the object,
+ including the locks and the properties collection.
+
+ The parent element.
+
+
+
+ Indicates whether this configuration element has been modified since it was last
+ saved or loaded when implemented in a derived class.
+
+ if the element has been modified; otherwise, .
+
+
+
+ Called when an unknown attribute is encountered while deserializing the object.
+
+ The name of the unrecognized attribute.
+ The value of the unrecognized attribute.
+ if the processing of the element should continue; otherwise, .
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+
+ Builds the object represented by this configuration object.
+
+
+ A formatter.
+
+
+
+
+ Overridden in order to apply .
+
+
+
+
+ Gets or sets custom configuration attributes.
+
+
+
+
+ Gets a of the properties that are defined for
+ this configuration element when implemented in a derived class.
+
+
+ A of the properties that are defined for this
+ configuration element when implemented in a derived class.
+
+
+
+
+ Gets the helper.
+
+
+
+
+ Configuration data for custom log filters.
+
+
+
+
+ Initializes with default values.
+
+
+
+
+ Initializes with name and provider type.
+
+
+
+
+ Initializes with name and fully qualified name of the provider type.
+
+
+
+
+ Sets the attribute value for a key.
+
+ The attribute name.
+ The attribute value.
+
+
+
+ Modifies the object to remove all values that should not be saved.
+
+ A object at the current level containing a merged view of the properties.
+ A parent object or if this is the top level.
+ One of the values.
+
+
+
+ Resets the internal state of the object,
+ including the locks and the properties collection.
+
+ The parent element.
+
+
+
+ Indicates whether this configuration element has been modified since it was last
+ saved or loaded when implemented in a derived class.
+
+ if the element has been modified; otherwise, .
+
+
+
+ Called when an unknown attribute is encountered while deserializing the object.
+
+ The name of the unrecognized attribute.
+ The value of the unrecognized attribute.
+ if the processing of the element should continue; otherwise, .
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+ Invokes the inherited behavior.
+
+
+
+ Builds the object represented by this configuration object.
+
+
+ A filter.
+
+
+
+
+ Overridden in order to apply .
+
+
+
+
+ Gets or sets custom configuration attributes.
+
+
+
+
+ Gets a of the properties that are defined for
+ this configuration element when implemented in a derived class.
+
+
+ A of the properties that are defined for this
+ configuration element when implemented in a derived class.
+
+
+
+
+ Gets the helper.
+
+
+
+
+ Configuration object for custom trace listenrs.
+
+
+
+
+ Initializes with default values.
+
+
+
+
+ Initializes with name and provider type.
+
+
+
+
+ Initializes with name and provider type.
+
+
+
+
+ Initializes with name and fully qualified type name of the provider type.
+
+
+
+
+ Creates the helper that enapsulates the configuration properties management.
+
+
+
+
+
+ Builds the object represented by this configuration object.
+
+ The logging configuration settings.
+
+ A trace listener.
+
+
+
+
+ Gets or sets the name of the formatter. Can be .
+
+
+
+
+
+
+
+
+
+ Represents the configuration settings that describe a object.
+
+
+
+
+ Initializes a new instance of the class with default values.
+
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ The name for the represented object.
+
+
+
+ Builds the object represented by this configuration object.
+
+
+ A formatter.
+
+
+
+
+ Gets or sets the template that contains the tokens to replace.
+
+
+
+
+ Represents the configuration data for a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The name for the configuration object.
+ The trace options.
+
+
+
+
+
+
+
+
+
+
+
+ Initializes a new instance of the class.
+
+ The name for the configuration object.
+ The trace options.
+ The filter to apply.
+
+
+
+
+
+
+
+
+
+
+
+ Builds the object represented by this configuration object.
+
+ The logging configuration settings.
+
+ A trace listener.
+
+
+
+
+ FileName
+
+
+
+
+ Gets and sets the footer.
+
+
+
+
+ Gets and sets the formatter name.
+
+
+
+
+ Gets and sets the header.
+
+
+
+
+ Exists Behavior
+
+
+
+
+ Roll Intervall
+
+
+
+
+ Roll Size KB
+
+
+
+
+ Time stamp
+
+
+
+
+ Max rolled files
+
+
+
+
+ Represents the configuration settings for any trace listener.
+
+
+
+
+ Initializes with default values.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The name.
+ The type.
+ The init data.
+
+
+
+ Initializes a new instance of the class.
+
+ The name.
+ The type.
+ The init data.
+
+
+
+ Initializes a new instance of the class.
+
+ The name.
+ The type.
+ The init data.
+ The trace output options.
+
+
+
+
+
+
+
+
+ Represents a .
+ Encapsulates a System.Net.MailMessage with functions to accept a LogEntry, Formatting, and sending of emails
+
+
+
+
+ Initializes a with email configuration data, logentry, and formatter
+
+ The configuration data
+ that represents how to create the email message
+ The LogEntry to send via email.
+ The Formatter which determines how the
+ email message should be formatted
+
+
+
+ Initializes a with the raw data to create and email, the logentry, and the formatter
+
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+ The LogEntry to send via email.
+ The Formatter which determines how the
+ email message should be formatted
+
+
+
+ Initializes a with the raw data to create and email, the logentry, and the formatter
+
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+ The LogEntry to send via email.
+ The Formatter which determines how the
+ email message should be formatted
+ Authenticate mode to use when connecting to SMTP server.
+ User name to send to SMTP server if using username/password authentication.
+ Password to send to SMTP server if using username/password authentication.
+ Use SSL to connect to STMP server - if true, yes, if false, no.
+
+
+
+ Initializes a with the raw data to create and email, a message, and the formatter
+
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+ Represents the message to send via email.
+ The Formatter which determines how the
+ email message should be formatted
+
+
+
+ Initializes a with the raw data to create and email, a message, and the formatter
+
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+ Represents the message to send via email.
+ The Formatter which determines how the
+ email message should be formatted
+ Authenticate mode to use when connecting to SMTP server.
+ User name to send to SMTP server if using username/password authentication.
+ Password to send to SMTP server if using username/password authentication.
+ Use SSL to connect to STMP server - if true, yes, if false, no.
+
+
+
+ Creates the prefix for the subject line
+
+ string to add as the subject line prefix (plus whitespace) if it is not empty.
+ modified string to use as subject line prefix
+
+
+
+ Creates the suffix for the subject line.
+
+ string to add as the subject line suffix (plus whitespace) if it is not empty.
+ modified string to use as subject line suffix
+
+
+
+ Creates a from the configuration data which was used to create the instance of this object.
+
+ A new .
+
+
+
+ Uses the settings for the SMTP server and SMTP port to send the new mail message
+
+
+
+
+ Uses the settings for the SMTP server and SMTP port to send the MailMessage that it is passed
+
+ MailMessage to send via SMTP
+
+
+
+ Represents the configuration settings that describe a .
+
+
+
+
+ Initializes a .
+
+
+
+
+ Initializes a with a toaddress,
+ fromaddress, subjectLineStarter, subjectLineEnder, smtpServer, and a formatter name.
+ Default value for the SMTP port is 25
+
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The name of the Formatter which determines how the
+ email message should be formatted
+
+
+
+ Initializes a with a toaddress,
+ fromaddress, subjectLineStarter, subjectLineEnder, smtpServer, and a formatter name.
+
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+ The name of the Formatter which determines how the
+ email message should be formatted
+
+
+
+ Initializes a with a toaddress,
+ fromaddress, subjectLineStarter, subjectLineEnder, smtpServer, and a formatter name.
+
+ The name of this listener
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+ The name of the Formatter which determines how the
+ email message should be formatted
+
+
+
+ Initializes a with a toaddress,
+ fromaddress, subjectLineStarter, subjectLineEnder, smtpServer, a formatter name and trace options.
+
+ The name of this listener
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+ The name of the Formatter which determines how the
+ email message should be formatted
+ The trace options.
+
+
+
+ Initializes a with a toaddress,
+ fromaddress, subjectLineStarter, subjectLineEnder, smtpServer, a formatter name and trace options.
+
+ The name of this listener
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+ The name of the Formatter which determines how the
+ email message should be formatted
+ The trace options.
+ The filter to apply.
+
+
+
+ Initializes a with a toaddress,
+ fromaddress, subjectLineStarter, subjectLineEnder, smtpServer, a formatter name, trace options
+ and authentication information.
+
+ The name of this listener
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+ The name of the Formatter which determines how the
+ email message should be formatted
+ The trace options.
+ The filter to apply.
+ Authenticate mode to use.
+ User name to pass to the server if using .
+ Password to pass to the server if using .
+ Connect to the server using SSL?
+
+
+
+ Builds the object represented by this configuration object.
+
+ The logging configuration settings.
+
+ An .
+
+
+
+
+ Gets and sets the ToAddress. One or more email semicolon separated addresses.
+
+
+
+
+ Gets and sets the FromAddress. Email address that messages will be sent from.
+
+
+
+
+ Gets and sets the Subject prefix.
+
+
+
+
+ Gets and sets the Subject suffix.
+
+
+
+
+ Gets and sets the SMTP server to use to send messages.
+
+
+
+
+ Gets and sets the SMTP port.
+
+
+
+
+ Gets and sets the formatter name.
+
+
+
+
+ How do you authenticate against the email server?
+
+
+
+
+ Use SSL to connect to the email server?
+
+
+
+
+ User name when authenticating with user name and password.
+
+
+
+
+ Password when authenticating with user name and password.
+
+
+
+
+ Represents the configuration settings that describe a .
+
+
+
+
+ Initialize a new instance of the class.
+
+
+
+
+ Initialize a new instance of the class.
+
+ True if logging should be enabled.
+
+
+
+ Initialize a new named instance of the class.
+
+ The name.
+ True if logging should be enabled.
+
+
+
+ Builds the object represented by this configuration object.
+
+
+ A .
+
+
+
+
+ Gets or sets the enabled value.
+
+
+
+
+ Represents the configuration settings that describe a .
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ The Priority value for the Priority property.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ The default value for the Recoverable property.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ The default value for the UseAuthentication property.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ The default value for the UseDeadLetter property.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ The default value for the UseEncryption property.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ The default value for the TransactionType property.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ The default value for the TimeToReachQueue property.
+
+
+
+
+ This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ The default value for the TimeToBeReceived property.
+
+
+
+
+ Initializes a new instance of the class with default values.
+
+
+
+
+ Initializes a new instance of the class with name, path and formatter name.
+
+ The name for the represented trace listener.
+ The path name for the represented trace listener.
+ The formatter name for the represented trace listener.
+
+
+
+ Initializes a new instance of the class.
+
+ The name for the represented trace listener.
+ The path name for the represented trace listener.
+ The formatter name for the represented trace listener.
+ The priority for the represented trace listener.
+ The recoverable flag for the represented trace listener.
+ The timeToReachQueue for the represented trace listener.
+ The timeToReachQueue for the represented trace listener.
+ The use authentication flag for the represented trace listener.
+ The use dead letter flag for the represented trace listener.
+ The use encryption flag for the represented trace listener.
+ The transaction type for the represented trace listener.
+
+
+
+ Initializes a new instance of the class.
+
+ The name for the represented trace listener.
+ The path name for the represented trace listener.
+ The formatter name for the represented trace listener.
+ The priority for the represented trace listener.
+ The recoverable flag for the represented trace listener.
+ The timeToReachQueue for the represented trace listener.
+ The timeToReachQueue for the represented trace listener.
+ The use authentication flag for the represented trace listener.
+ The use dead letter flag for the represented trace listener.
+ The use encryption flag for the represented trace listener.
+ The transaction type for the represented trace listener.
+ The trace output options for the represented trace listener.
+ The filter for the represented trace listener.
+
+
+
+ Builds the object represented by this configuration object.
+
+ The logging configuration settings.
+
+ A .
+
+
+
+
+ Gets or sets the message queue path.
+
+
+
+
+ Gets or sets formatter name.
+
+
+
+
+ Gets or sets the message priority.
+
+
+
+
+ Gets or sets the time to reach queue.
+
+
+
+
+ Gets or sets the time to be received.
+
+
+
+
+ Gets or sets the recoverable value.
+
+
+
+
+ Gets or sets the use authentication value.
+
+
+
+
+ Gets or sets the use dead letter value.
+
+
+
+
+ Gets or sets the use encryption value.
+
+
+
+
+ Gets or sets the transaction type.
+
+
+
+
+ Represents the configuration settings that describe a .
+
+
+
+
+ Initializes a .
+
+
+
+
+ Initializes a with a filename and a formatter name.
+
+ The file name.
+ The formatter name.
+
+
+
+ Initializes a named instance of with
+ name, file name and formatter name.
+
+ The name.
+ The file name.
+ The formatter name.
+
+
+
+ Initializes a named instance of .
+
+ The name.
+ The file name.
+ The header.
+ The footer.
+ The formatter name.
+
+
+
+ Initializes a named instance of .
+
+ The name.
+ The file name.
+ The header.
+ The footer.
+ The formatter name.
+ The trace options.
+
+
+
+ Initializes a named instance of .
+
+ The name.
+ The type of the represented
+ The file name.
+ The formatter name.
+
+
+
+ Initializes a named instance of .
+
+ The name.
+ The type of the represented
+ The file name.
+ The formatter name.
+ The trace options.
+
+
+
+ Builds the object represented by this configuration object.
+
+ The logging configuration settings.
+
+ A .
+
+
+
+
+ Gets and sets the file name.
+
+
+
+
+ Gets and sets the header.
+
+
+
+
+ Gets and sets the footer.
+
+
+
+
+ Gets and sets the formatter name.
+
+
+
+
+ Configuration settings for client-side logging applications.
+
+
+
+
+ Configuration section name for logging client settings.
+
+
+
+
+ Initialize a new instance of the with default values.
+
+
+
+
+ Initialize a new instance of the using the given name.
+
+ The name to use for this instance
+
+
+
+ Initialize a new instance of the using the given values.
+
+ The name to use for this instance
+ Should tracing be enabled?
+ The default category to use.
+
+
+
+ Retrieves the section from the configuration source.
+
+ The to get the section from.
+ The logging section.
+
+
+
+ Builds the log writer represented by the section.
+
+ A .
+
+
+
+ Enable or disable trace logging.
+
+
+
+
+ Gets or sets the name of the configuration node.
+
+
+
+
+ Gets or sets the default logging category.
+
+
+
+
+ Gets the collection of configuration elements that define
+ the available s.
+
+
+
+
+ Gets the collection of configuration elements that define
+ the available s.
+
+
+
+
+ Gets the collection of configuration elements that define
+ the available s.
+
+
+
+
+ Gets the collection of configuration elements that define
+ the available s.
+
+
+
+
+ Gets or sets the configuration elements that define the distinguished s:
+ for all events. for missing categories, and for errors and warnings.
+
+
+
+
+ Gets or sets the indication that a warning should be logged when a category is not found while
+ dispatching a log entry.
+
+
+
+
+ Gets or sets the indication that impersonation should be reverted temporarily while logging, if enabled.
+
+
+
+
+ Represents the configuration for a priority filter.
+
+
+
+
+ Initializes a new .
+
+
+
+
+ Initializes a new with a minimum priority.
+
+ The minimum priority.
+
+
+
+ Initializes a new named with a minimum priority.
+
+ The name.
+ The minimum priority.
+
+
+
+ Builds the object represented by this configuration object.
+
+
+ A .
+
+
+
+
+ Gets or sets the minimum value for messages to be processed. Messages with a priority
+ below the minimum are dropped immediately on the client.
+
+
+
+
+ Gets or sets the maximum priority value for messages to be processed. Messages with a priority
+ above the maximum are dropped immediately on the client.
+
+
+
+
+ Represents the configuration settings that describe the "all events", "not processed" and "errors" s
+ for a .
+
+
+
+
+ Initializes a new instance of with default values.
+
+
+
+
+ Initializes a new instance of .
+
+ The configuration for the optional trace source to send all messages received.
+ The configuration for the optional to send messages with unknown categories.
+ The configuration for the mandatory trace source to log processing errors.
+
+
+
+ Gets or sets the configuration for the optional trace source to send all messages received.
+
+
+
+
+ Gets or sets the configuration for the optional to send messages with unknown categories.
+
+
+
+
+ Gets or sets the configuration for the mandatory trace source to log processing errors.
+
+
+
+
+ Represents the configuration settings that describe a .
+
+
+
+
+ Initializes a .
+
+
+
+
+ Initializes a with a filename and a formatter name.
+
+ The file name.
+ The name for the configuration object.
+
+
+
+ Builds the object represented by this configuration object.
+
+ The logging configuration settings.
+
+ An .
+
+
+
+
+ Gets and sets the file name.
+
+
+
+
+ Represents the configuration options for the Logging Application Block.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Adds a new log source with the specified name.
+
+ The name of the log source.
+ A new instance.
+
+
+
+ Adds a new log source with the specified name and trace listeners.
+
+ The name of the log source.
+ One or more objects.
+ A new instance.
+
+
+
+ Adds a new log source with the specified name and level.
+
+ The name of the log source.
+ The filtering level of the log source.
+ A new instance.
+
+
+
+ Adds a new log source with the specified name and level, and optionally enables auto-flush.
+
+ The name of the log source.
+ The filtering level of the log source.
+ to enable auto-flush; otherwise, .
+ A new instance.
+
+
+
+ Adds a new log source with the specified name, level, and trace listeners, and optionally enables auto-flush.
+
+ The name of the log source.
+ The filtering level of the log source.
+ to enable auto-flush; otherwise, .
+ One or more objects.
+ A new instance.
+
+
+
+ Gets the collection of all available objects.
+
+
+
+
+ Gets the list of all available objects.
+
+
+
+
+ Gets the configuration for special sources.
+
+
+
+
+ Gets or sets a value that indicates whether tracing is enabled.
+
+
+
+
+ Gets or sets a value that indicates whether logging is enabled.
+
+
+
+
+ Gets or sets a value indicating whether to use impersonation.
+
+
+
+
+ Gets or sets a value that indicates whether to log warnings when no matching categories are found.
+
+
+
+
+ Gets or sets the default source name.
+
+
+
+
+ Gets a collection of all the objects used in this configuration.
+
+
+
+
+ Provides extension methods used for programmatic configuration of the Logging Application Block.
+
+
+
+
+ Adds the specified to the log source.
+
+ The log source to add the trace listener to.
+ The trace listener to add.
+
+
+
+ Adds the specified to the special log source.
+
+ The special log source to add the trace listener to.
+ The trace listener to add.
+
+
+
+ Adds the specified to the log source to work asynchronously.
+
+ The log source to add the trace listener to.
+ The trace listener to add.
+ The size of the buffer for asynchronous requests.
+ The max degree of parallelism for thread safe listeners. Specify to use the current core count.
+ The timeout for waiting to complete buffered requests when disposing. When the default of is used.
+
+
+
+ Adds the specified to the special log source to work asynchronously.
+
+ The special log source to add the trace listener to.
+ The trace listener to add.
+ The size of the buffer for asynchronous requests.
+ The max degree of parallelism for thread safe listeners. Specify to use the current core count.
+ The timeout for waiting to complete buffered requests when disposing. When the default of is used.
+
+
+
+ Represents a collection of instances.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified collection.
+
+ The data collection for the new instance.
+
+
+
+ Adds a new object to the collection.
+
+ The object.
+
+
+
+ Removes all from the .
+
+
+
+
+ Determines whether the contains the specified item.
+
+ The object to check for.
+ if the contains the specified element; otherwise, .
+
+
+
+ Copies the elements to an existing one-dimensional System.Array, starting at the specified array index.
+
+
+ The one-dimensional LogSourceData[] array that is the destination of the elements copied from .
+ The System.Array must have zero-based indexing.
+
+ The zero-based index in the array at which copying begins.
+
+
+
+ Removes all objects from the collection.
+
+
+
+
+ Returns an enumerator that iterates through the .
+
+ An enumerator that interates through the collection.
+
+
+
+ Gets the specified object.
+
+ The name of the log source.
+ The object.
+
+
+
+ Gets the number of objects in the .
+
+
+
+
+ Gets a value that indicates whether this collection is read-only.
+
+
+
+
+ Represents configuration data for the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified parameters.
+
+ The name for the log source.
+ The level for the log source.
+ to enable auto-flush; otherwise, .
+ One or more objects.
+
+
+
+ Gets or sets the name of the log source.
+
+
+
+
+ Gets or sets a value that indicates whether auto-flush is enabled.
+
+
+
+
+ Gets or sets the event type filtering level.
+
+
+
+
+ Gets a collection of objects.
+
+
+
+
+ Error handling delegate.
+
+ The exception that was thrown while tracing.
+ The data.
+ The source.
+
+
+
+ Represents configuration settings for a special class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a name.
+
+ The name of the special log source.
+
+
+
+ Initializes a new instance of the class with the specified name, level, and options.
+
+ The name of the special log source.
+ The filtering level of the special log source.
+ to enable auto-flush; otherwise, .
+ One or more objects.
+
+
+
+ Gets or sets the name of the special log source.
+
+
+
+
+ Gets or sets a value that indicates whether auto-flush is enabled.
+
+
+
+
+ Gets or sets the event type filtering level.
+
+
+
+
+ Gets a collection of objects.
+
+
+
+
+ Represents the configuration for special log sources
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The special log source to which internal errors must be logged.
+ The special log source to which log entries with at least one non-matching category should be logged.
+ The special log source to which all log entries should be logged.
+
+
+
+ Gets the special log source used for errors and warnings.
+
+
+
+
+ Gets the special log source used for unprocessed entries.
+
+
+
+
+ Gets the special log source used for all events.
+
+
+
+
+ Provides methods to maintain a key/value dictionary that is stored in the .
+
+
+ A context item represents a key/value that needs to be logged with each message
+ on the same CallContext.
+
+
+
+
+ The name of the data slot in the used by the application block.
+
+
+
+
+ Creates a new instance of a class.
+
+
+
+
+ Adds a key/value pair to a dictionary in the .
+ Each context item is recorded with every log entry.
+
+ Hashtable key.
+ Value of the context item. Byte arrays will be base64 encoded.
+ The following example demonstrates use of the AddContextItem method.
+ Logger.SetContextItem("SessionID", myComponent.SessionId);
+
+
+
+ Empties the context items dictionary.
+
+
+
+
+ Merges each key/value pair from the context items dictionary with the ExtendedProperties
+ dictionary of the .
+
+ object that is being logged.
+
+
+
+ Represents the configuration settings that describe a .
+
+
+
+
+ Initializes a .
+
+
+
+
+ Initializes a with a source name and a formatter name.
+
+ The event log source name.
+ The formatter name.
+
+
+
+ Initializes a named instance of with name, source name
+ and formatter name.
+
+ The name.
+ The event log source name.
+ The formatter name.
+
+
+
+ Initializes a named instance of with name, source name
+ log name, machine name, and formatter name.
+
+ The name.
+ The event log source name.
+ The log name.
+ The machine name.
+ The formatter name.
+
+
+
+ Initializes a named instance of with name, source name
+ log name, machine name, formatter name, and .
+
+ The name.
+ The event log source name.
+ The log name.
+ The machine name.
+ The formatter name.
+ The output options.
+
+
+
+ Builds the object represented by this configuration object.
+
+ The logging configuration settings.
+
+ A .
+
+
+
+
+ Gets or sets the event log source of the .
+
+
+
+
+ Gets or sets the name of the formatter for the .
+
+
+
+
+ Gets or sets the name of the log for the .
+
+
+
+
+ Gets or sets the name of the machine for the .
+
+
+
+
+ Custom that deals with .
+
+
+ The default implementation based on annotations on the feature types can't be used because trace listeners can't be annotated.
+
+
+
+
+ Returns the type to created for the current xml node.
+
+
+ The include the configuration object type as a serialized attribute.
+
+ The that is deserializing the element.
+
+
+
+ Configuration for a reference to named .
+
+
+
+
+ Initializes a new instance of the class with default values.
+
+
+
+
+ Initializes a new instance of the class with a name.
+
+ Name for trace listener.
+
+
+
+ Gets or sets the name of the element.
+
+
+ The name of the element.
+
+
+ Overriden in order to annotate with designtime attribute.
+
+
+
+
+ Represents the configuration settings that describe a .
+
+
+
+
+ Initializes a new instance of the class with default values.
+
+
+
+
+ Initializes a new instance of the class with name and default level.
+
+ The name for the represented log source.
+ The trace level for the represented log source.
+
+
+
+ Initializes a new instance of the class with name, default level and auto flush;
+
+ The name for the represented log source.
+ The trace level for the represented log source.
+ If Flush should be called on the Listeners after every write.
+
+
+
+ Gets or sets the default for the trace source.
+
+
+
+
+ Gets or sets the AutoFlush indicating whether Flush should be called on the Listeners after every write.
+
+
+
+
+ Gets the collection of references to trace listeners for the trace source.
+
+
+
+
+ Provides exception formatting when not using the Exception Handling Application Block.
+
+
+
+
+ Name of the additional information entry that holds the header.
+
+
+
+
+ Initialize a new instance of the class.
+
+
+
+
+ Initialize a new instance of the class with the additional information and the application name.
+
+
+ The additional information to log.
+
+
+ The application name.
+
+
+
+
+ Get the formatted message to be logged.
+
+ The exception object whose information should be written to log file.
+ The formatted message.
+
+
+
+ Add additional 'environment' information.
+
+
+
+
+ A helper facade class that provides easy access to commonly needed COM+ diagnostic information.
+
+
+
+
+ Defines a method to populate an with helpful diagnostic information.
+
+
+
+
+ Populates an with helpful diagnostic information.
+
+ Dictionary containing extra information used to initialize the instance
+
+
+
+ Creates an instance of the class.
+
+
+
+
+ Populates an with the COM+ properties provided by .
+
+ Dictionary used to populate the
+
+
+
+ Returns the COM+ Original Caller Account Name
+
+
+
+
+ Returns the COM+ Direct Caller Name
+
+
+
+
+ Returns the COM+ Transaction ID
+
+
+
+
+ Returns the COM+ Application ID
+
+
+
+
+ Returns the COM+ Activity ID
+
+
+
+
+ Provides useful diagnostic information from the debug subsystem.
+
+
+
+
+ Creates a new instance of .
+
+
+
+
+ Initialize a new instance of the class..
+
+ Alternative to use.
+
+
+
+ Populates an with helpful diagnostic information.
+
+ Dictionary used to populate the
+
+
+
+ Contract for accessing context information.
+
+
+
+
+ Returns the ActivityId.
+
+ The ActivityId
+
+
+
+ Returns the ApplicationId.
+
+ The ApplicationId.
+
+
+
+ Returns the TransactionId.
+
+ The TransactionId.
+
+
+
+ Returns the direct caller account name.
+
+ The direct caller account name.
+
+
+
+ Returns the original caller account name.
+
+ The original caller account name.
+
+
+
+ Contract for accessing debug information.
+
+
+
+
+ Returns a text representation of the stack trace with source information if available.
+
+ The source to represent textually.
+ The textual representation of the stack.
+
+
+
+ Provides useful diagnostic information from the managed runtime.
+
+
+
+
+ Populates an with helpful diagnostic information.
+
+ Dictionary used to populate the
+
+
+
+ Gets the AuthenticationType, calculating it if necessary.
+
+
+
+
+ Gets the IdentityName, calculating it if necessary.
+
+
+
+
+ Gets the IsAuthenticated, calculating it if necessary.
+
+
+
+
+ Gets the security context information from the unmanaged world
+
+
+
+
+ Populates an with helpful diagnostic information.
+
+ Dictionary used to populate the
+
+
+
+ Gets the CurrentUser, calculating it if necessary.
+
+
+
+
+ Gets the ProcessAccountName, calculating it if necessary.
+
+
+
+
+ Contract for handling errors during evaluation of an .
+
+
+
+
+ Perform any action to handle an error during checking.
+
+ The exception raised during filter evaluation.
+ The log entry being evaluated.
+ The fiter that raised the exception.
+ True if processing should continue, ignoring the failed filter, or
+ false if the filter evaluation should be considered as failed.
+
+
+
+ Represents a Boolean on/off filter.
+
+
+
+
+ Abstract implementation of the interface.
+
+
+
+
+ Represents the interface for client-side message filters.
+
+
+
+
+ Test to see if a message meets the criteria to be processed.
+
+ Log entry to test.
+ true if the message passes through the filter and should be distributed, false otherwise.
+
+
+
+ Gets the name of the log filter
+
+
+
+
+ Initializes a new instance of .
+
+ The name for the log filter.
+
+
+
+ Test to see if a message meets the criteria to be processed.
+
+ Log entry to test.
+ true if the message passes through the filter and should be logged, false otherwise.
+
+
+
+ Gets the name of the log filter
+
+
+
+
+ Initializes an instance of .
+
+ The name of the filter.
+ True if the filter allows messages, false otherwise.
+
+
+
+ Tests to see if a message meets the criteria to be processed.
+
+ Log entry to test.
+ true if the message passes through the filter and should be logged, false otherwise.
+
+
+
+ Gets or set the Boolean flag for the filter.
+
+
+
+
+ Log formatter that will format a in a way suitable for wire transmission.
+
+
+
+
+ Abstract implememtation of the interface.
+
+
+
+
+ Represents the interface for formatting log entry messsages.
+
+
+
+
+ Formats a log entry and return a string to be outputted.
+
+ Log entry to format.
+ String representing the log entry.
+
+
+
+ Formats a log entry and return a string to be outputted.
+
+ Log entry to format.
+ A string representing the log entry.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Formats a log entry as a serialized representation.
+
+
+ Will use a BinaryFormatter for doing the actual serialization.
+
+ The to format.
+ A string version of the that can be deserialized back to a instance.
+
+
+
+ Deserializes the string representation of a into a instance.
+
+ The serialized representation.
+ The .
+
+
+
+ Specifies formatting options.
+
+
+
+
+ Specifies that no special formatting should be applied. This is the default.
+
+
+
+
+ Specifies that child objects should be indented.
+
+
+
+
+ Represents a log formatter that will format a in JSON-compliant format.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified formatting options.
+
+ The formatting options.
+
+
+
+ Formats a log entry and returns a string to be output.
+
+ The log entry to format.
+
+ A string that represents the log entry.
+
+
+
+
+ Deserializes the string representation of a into a instance.
+
+ The serialized representation.
+ The .
+
+
+
+ Gets or sets the formatting of the written event.
+
+
+ The value.
+
+
+
+
+ Formats a and any subclass of it to an XML string representation.
+
+
+
+
+ Formats the into an XML String representation.
+
+ A LogEntry or any sub class of it
+
+
+
+
+ Logging Application Block exception.
+
+
+
+
+ Initializes a new instance of the LoggingException class.
+
+
+
+
+ Initializes a new instance of the LoggingException class
+ with a specified error message.
+
+ A message that describes the error.
+
+
+
+ Initializes a new instance of the LoggingException class with a
+ specified error message and a reference to the inner exception that is
+ the 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 innerException parameter is not a reference,
+ the current exception is raised in a catch block that handles the inner
+ exception.
+
+
+
+
+ Initializes a new instance of the LoggingException class with
+ serialized data.
+
+ The object that holds the serialized object data.
+ The contextual information about the source or
+ destination.
+
+
+
+
+ This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Holds the collaborators of a to allow for an easy replacement should configuration change.
+
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Initializes a new instance of the class.
+
+ The collection of filters to use when processing an entry.
+ The trace sources to dispatch entries to.
+ The special to which all log entries should be logged.
+ The special to which log entries with at least one non-matching category should be logged.
+ The special to which internal errors must be logged.
+ The default category to set when entry categories list of a log entry is empty.
+ The tracing status.
+ true if warnings should be logged when a non-matching category is found.
+ true if impersonation should be reverted while logging.
+
+
+
+ This constructor supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Initializes a new instance of the class.
+
+ The collection of filters to use when processing an entry.
+ Names of the trace sources to dispatch entries to.
+ The trace sources to dispatch entries to.
+ The special to which all log entries should be logged.
+ The special to which log entries with at least one non-matching category should be logged.
+ The special to which internal errors must be logged.
+ The default category to set when entry categories list of a log entry is empty.
+ The tracing status.
+ true if warnings should be logged when a non-matching category is found.
+ true if impersonation should be reverted while logging.
+
+
+
+ This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+
+
+
+
+ Factory to create instances.
+
+
+
+
+ Initializes a new instance of the class with the default instance.
+
+
+
+
+ Initializes a new instance of the class with a instance.
+
+ The source for configuration information.
+
+
+
+ Initializes a new instance of the class with a configuration accessor.
+
+ The source for configuration information.
+
+
+
+ Creates a new instance of based on the configuration in the
+ instance of the factory.
+
+ The created object.
+
+
+
+ Used by s to keep the knowledge of which have been
+ already traced through.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets the availiable trace listners from a list of all the trace listners.
+
+ The list of all the trace listners.
+ A filtered list of trace listeners.
+
+
+
+ Trace listener that wraps a normal trace listener to perform asynchronous tracing requests.
+
+
+ When disposed, the wrapper will attempt to complete all buffered tracing requests before completing the dispose request. To change this behavior
+ specify a value for the disposeTimeout constructor parameter other than or .
+
+
+
+
+ Implements asynchronous tracing.
+
+
+
+
+ Flushes the output buffer asynchronously.
+
+ The delegate to use to report errors while tracing asynchronously.
+
+
+
+ Writes trace information, a data object and event information to the listener specific output.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ A name used to identify the output, typically the name of the application that generated the trace event.
+ One of the values specifying the type of event that has caused the trace.
+ A numeric identifier for the event.
+ The trace data to emit.
+ The delegate to use to report errors while tracing asynchronously.
+
+
+
+ Writes trace information, a message, a related activity identity and event information to the listener specific output.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ A name used to identify the output, typically the name of the application that generated the trace event.
+ A numeric identifier for the event.
+ A message to write.
+ A object identifying a related activity.
+ The delegate to use to report errors while tracing asynchronously.
+
+
+
+ Initializes a new instance of the class.
+
+ The wrapped trace listener.
+ Indicates whether the wrapper should dispose the wrapped trace listener.
+ Size of the buffer for asynchronous requests.
+ The max degree of parallelism for thread safe listeners. Specify to use the current core count.
+ The timeout for waiting to complete buffered requests when disposing. When the default of is used.
+
+
+
+ When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output.
+
+
+
+
+ Emits an error message to the listener you create when you implement the class.
+
+ A message to emit.
+
+
+
+ Emits an error message and a detailed error message to the listener you create when you implement the class.
+
+ A message to emit.
+ A detailed message to emit.
+
+
+
+ When overridden in a derived class, flushes the output buffer.
+
+
+
+
+ Flushes the output buffer asynchronously.
+
+ The delegate to use to report errors while tracing asynchronously.
+
+
+
+ Writes trace information, a data object and event information to the listener specific output.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ A name used to identify the output, typically the name of the application that generated the trace event.
+ One of the values specifying the type of event that has caused the trace.
+ A numeric identifier for the event.
+ The trace data to emit.
+ The delegate to use to report errors while tracing asynchronously.
+
+
+
+ Writes trace information, a message, a related activity identity and event information to the listener specific output.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ A name used to identify the output, typically the name of the application that generated the trace event.
+ A numeric identifier for the event.
+ A message to write.
+ A object identifying a related activity.
+ The delegate to use to report errors while tracing asynchronously.
+
+
+
+ Writes trace information, a data object and event information to the listener specific output.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ A name used to identify the output, typically the name of the application that generated the trace event.
+ One of the values specifying the type of event that has caused the trace.
+ A numeric identifier for the event.
+ The trace data to emit.
+
+
+
+
+
+
+
+ Writes trace information, an array of data objects and event information to the listener specific output.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ A name used to identify the output, typically the name of the application that generated the trace event.
+ One of the values specifying the type of event that has caused the trace.
+ A numeric identifier for the event.
+ An array of objects to emit as data.
+
+
+
+
+
+
+
+ Writes trace and event information to the listener specific output.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ A name used to identify the output, typically the name of the application that generated the trace event.
+ One of the values specifying the type of event that has caused the trace.
+ A numeric identifier for the event.
+
+
+
+
+
+
+
+ Writes trace information, a formatted array of objects and event information to the listener specific output.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ A name used to identify the output, typically the name of the application that generated the trace event.
+ One of the values specifying the type of event that has caused the trace.
+ A numeric identifier for the event.
+ A format string that contains zero or more format items, which correspond to objects in the array.
+ An object array containing zero or more objects to format.
+
+
+
+
+
+
+
+ Writes trace information, a message, and event information to the listener specific output.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ A name used to identify the output, typically the name of the application that generated the trace event.
+ One of the values specifying the type of event that has caused the trace.
+ A numeric identifier for the event.
+ A message to write.
+
+
+
+
+
+
+
+ Writes trace information, a message, a related activity identity and event information to the listener specific output.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ A name used to identify the output, typically the name of the application that generated the trace event.
+ A numeric identifier for the event.
+ A message to write.
+ A object identifying a related activity.
+
+
+
+ When overridden in a derived class, writes the specified message to the listener you create in the derived class.
+
+ A message to write.
+
+
+
+
+ Writes a category name and a message to the listener you create when you implement the class.
+
+ A message to write.
+ A category name used to organize the output.
+
+
+
+ Writes the value of the object's method to the listener you create when you implement the class.
+
+ An whose fully qualified class name you want to write.
+
+
+
+ Writes a category name and the value of the object's method to the listener you create when you implement the class.
+
+ An whose fully qualified class name you want to write.
+ A category name used to organize the output.
+
+
+
+ When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator.
+
+ A message to write.
+
+
+
+
+ Writes a category name and a message to the listener you create when you implement the class, followed by a line terminator.
+
+ A message to write.
+ A category name used to organize the output.
+
+
+
+ Writes the value of the object's method to the listener you create when you implement the class, followed by a line terminator.
+
+ An whose fully qualified class name you want to write.
+
+
+
+ Writes a category name and the value of the object's method to the listener you create when you implement the class, followed by a line terminator.
+
+ An whose fully qualified class name you want to write.
+ A category name used to organize the output.
+
+
+
+ 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.
+
+
+
+ Gets the wrapped .
+
+
+
+
+ Performs logging to a file and rolls the output file when either time or size thresholds are
+ exceeded.
+
+
+ Logging always occurs to the configured file name, and when roll occurs a new rolled file name is calculated
+ by adding the timestamp pattern to the configured file name.
+
+ The need of rolling is calculated before performing a logging operation, so even if the thresholds are exceeded
+ roll will not occur until a new entry is logged.
+
+ Both time and size thresholds can be configured, and when the first threshold is reached, both will be reset.
+
+ The elapsed time is calculated from the creation date of the logging file.
+
+
+
+
+ A that writes to a flat file, formatting the output with an .
+
+
+
+
+ Extends to add formatting capabilities.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of with a .
+
+ The formatter to format the messages.
+
+
+
+ Initializes a new instance of with a
+ and a .
+
+ The stream to write to.
+ The formatter to format the messages.
+
+
+
+ Initializes a new instance of with a .
+
+ The stream to write to.
+
+
+
+ Initializes a new instance of with a
+ and a .
+
+ The writer to write to.
+ The formatter to format the messages.
+
+
+
+ Initializes a new instance of with a .
+
+ The writer to write to.
+
+
+
+ Initializes a new instance of with a
+ and a file name.
+
+ The file name to write to.
+ The formatter to format the messages.
+
+
+
+ Initializes a new instance of with a file name.
+
+ The file name to write to.
+
+
+
+ Initializes a new named instance of with a
+ and a .
+
+ The stream to write to.
+ The name.
+ The formatter to format the messages.
+
+
+
+ Initializes a new named instance of with a .
+
+ The stream to write to.
+ The name.
+
+
+
+ Initializes a new named instance of with a
+ and a .
+
+ The writer to write to.
+ The name.
+ The formatter to format the messages.
+
+
+
+ Initializes a new named instance of with a
+ .
+
+ The writer to write to.
+ The name.
+
+
+
+ Initializes a new named instance of with a
+ and a file name.
+
+ The file name to write to.
+ The name.
+ The formatter to format the messages.
+
+
+
+ Initializes a new named instance of with a
+ and a file name.
+
+ The file name to write to.
+ The name.
+
+
+
+ Intercepts the tracing request to format the object to trace.
+
+
+ Formatting is only performed if the object to trace is a and the formatter is set.
+
+ The context information.
+ The trace source.
+ The severity.
+ The event id.
+ The object to trace.
+
+
+
+ Declares "formatter" as a supported attribute name.
+
+
+
+
+
+ Gets the used to format the trace messages.
+
+
+
+
+ Initializes a new instance of with a file name, a header, a footer and
+ a .
+
+ The file stream.
+ The header.
+ The footer.
+ The formatter.
+
+
+
+ Initializes a new named instance of with a and
+ a .
+
+ The file stream.
+ The name.
+ The formatter.
+
+
+
+ Initializes a new named instance of with a and
+ a .
+
+ The stream writer.
+ The name.
+ The formatter.
+
+
+
+ Delivers the trace data to the underlying file.
+
+ The context information provided by .
+ The name of the trace source that delivered the trace data.
+ The type of event.
+ The id of the event.
+ The data to trace.
+
+
+
+ Declare the supported attributes for
+
+
+
+
+ Represents the default separator used for headers and footers.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The filename where the entries will be logged.
+ The header to add before logging an entry.
+ The footer to add after logging an entry.
+ The formatter.
+ The maxium file size (KB) before rolling.
+ The date format that will be appended to the new roll file.
+ Expected behavior that will be used when the roll file has to be created.
+ The time interval that makes the file rolles.
+ The maximum number of archived files to keep.
+
+
+
+ Writes trace information, a data object and event information to the file, performing a roll if necessary.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ A name used to identify the output, typically the name of the application that generated the trace event.
+ One of the values specifying the type of event that has caused the trace.
+ A numeric identifier for the event.
+ The trace data to emit.
+
+
+
+ Releases managed resources.
+
+ to release both managed and unmanaged resources;
+ to release only unmanaged resources.
+
+
+
+ Finalizes an instance of the class.
+
+
+
+
+ Gets the for the flat file.
+
+
+ The for the flat file.
+
+
+
+
+ A data time provider.
+
+
+
+
+ Gets the current data time.
+
+
+ The current data time.
+
+
+
+
+ Encapsulates the logic to perform rolls.
+
+
+ If no rolling behavior has been configured no further processing will be performed.
+
+
+
+
+ A tally keeping writer used when file size rolling is configured.
+ The original stream writer from the base trace listener will be replaced with
+ this listener.
+
+
+
+
+ The trace listener for which rolling is being managed.
+
+
+
+
+ A flag indicating whether at least one rolling criteria has been configured.
+
+
+
+
+ Initializes a new instance of the .
+
+ The to use.
+
+
+
+ Calculates the next roll date for the file.
+
+ The new date.
+ The new date time to use.
+
+
+
+ Checks whether rolling should be performed, and returns the date to use when performing the roll.
+
+ The date roll to use if performing a roll, or if no rolling should occur.
+
+ Defer request for the roll date until it is necessary to avoid overhead.
+ Information used for rolling checks should be set by now.
+
+
+
+
+ Gets the file name to use for archiving the file.
+
+ The actual file name.
+ The current date and time.
+ The new file name.
+
+
+
+ Finds the max sequence number for a log file.
+
+ The directory to scan.
+ The file name.
+ The extension to use.
+ The next sequence number.
+
+
+
+ Perform the roll for the next date.
+
+ The roll date.
+
+
+
+ Rolls the file if necessary.
+
+
+
+
+ Updates book keeping information necessary for rolling, as required by the specified rolling configuration.
+
+ true if update was successful, false if an error occurred.
+
+
+
+ Gets the provider for the current date. Necessary for unit testing.
+
+
+ The provider for the current date. Necessary for unit testing.
+
+
+
+
+ Gets the next date when date based rolling should occur if configured.
+
+
+ The next date when date based rolling should occur if configured.
+
+
+
+
+ Base class for custom trace listeners that support formatters.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the log entry formatter.
+
+
+
+
+ A that writes an email message, formatting the output with an .
+
+
+
+
+ Base class for s that deal with formatters.
+
+
+
+
+ Initalizes a new instance of .
+
+
+
+
+ Initalizes a new instance of with a .
+
+ The to use when tracing a .
+
+
+
+ Overriding TraceData method for the base TraceListener class because it calls the
+ private WriteHeader and WriteFooter methods which actually call the Write method again
+ and this amounts to multiple log messages
+
+ The context information provided by .
+ The name of the trace source that delivered the trace data.
+ The type of event.
+ The id of the event.
+ The data to trace.
+
+
+
+ Specifies whether this TraceListener is threadsafe
+
+
+
+
+ The used to format the trace messages.
+
+
+
+
+ Initializes a new instance of with a toaddress, fromaddress,
+ subjectlinestarter, subjectlinender, smtpserver, and a formatter
+ a .
+
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The Formatter which determines how the
+ email message should be formatted
+
+
+
+ Initializes a new instance of with a toaddress, fromaddress,
+ subjectlinestarter, subjectlinender, smtpserver, smtpport, and a formatter
+ a .
+
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+ The Formatter which determines how the
+ email message should be formatted
+
+
+
+ Initializes a new instance of with a toaddress, fromaddress,
+ subjectlinestarter, subjectlinender, smtpserver, smtpport, and a formatter
+ a .
+
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+ The Formatter which determines how the
+ email message should be formatted
+ Authentication style to use when connecting to SMTP server.
+ User name to use for authentication if using username/password authentication.
+ Password to use for authentication if using username/password authentication.
+ Use SSL to connect to mail server if true, regular socket if false.
+
+
+
+ Initializes a new instance of with a toaddress, fromaddress,
+ subjectlinestarter, subjectlinender, smtpserver, smtpport, and a formatter
+ a .
+
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+
+
+
+ Initializes a new instance of with a toaddress, fromaddress,
+ subjectlinestarter, subjectlinender, smtpserver, smtpport.
+
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+
+
+
+ Initializes a new instance of with a toaddress, fromaddress,
+ subjectlinestarter, subjectlinender, smtpserver, smtpport and authentication information.
+
+ A semicolon delimited string the represents to whom the email should be sent.
+ Represents from whom the email is sent.
+ Starting text for the subject line.
+ Ending text for the subject line.
+ The name of the SMTP server.
+ The port on the SMTP server to use for sending the email.
+ Authentication style to use when connecting to SMTP server.
+ User name to use for authentication if using username/password authentication.
+ Password to use for authentication if using username/password authentication.
+ Use SSL to connect to mail server if true, regular socket if false.
+
+
+
+ Sends an email message given a predefined string
+
+ The string to write as the email message
+
+
+
+ Sends an email message given a predefined string
+
+ The string to write as the email message
+
+
+
+ Delivers the trace data as an email message.
+
+ The context information provided by .
+ The name of the trace source that delivered the trace data.
+ The type of event.
+ The id of the event.
+ The data to trace.
+
+
+
+ Declare the supported attributes for
+
+
+
+
+ Proxy listener for writing the log using the class.
+
+
+
+
+ Gets the supported attributes, namely "categoriesXPathQueries" and "namespaces".
+
+
+
+
+ Splits a namespace string.
+
+ The string to split.
+ The string split into keys and values.
+
+
+
+ Splits the XPathQuery strings.
+
+ The XPath queries.
+ A list of xpaths.
+
+
+
+ Writes trace information, a data object and event information through the Logging Application Block.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ An identification of the source of the trace request.
+ One of the values specifying the type of event that has caused the trace.
+ A numeric identifier for the event.
+ The trace data to emit.
+
+
+
+ Writes trace information, a formatted array of objects and event information through the Logging Application Block.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ An identification of the source of the trace request.
+ One of the values specifying the type of event that has caused the trace.
+ A numeric identifier for the event.
+ A format string that contains zero or more format items, which correspond to objects in the array.
+ An object array containing zero or more objects to format.
+
+
+
+ Writes trace information, a message, and event information through the Logging Application Block.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ An identification of the source of the trace request.
+ One of the values specifying the type of event that has caused the trace.
+ A numeric identifier for the event.
+ A message to write.
+
+
+
+ Writes trace information, a message, a related activity identity and event information.
+
+ A object that contains the current process ID, thread ID, and stack trace information.
+ A name used to identify the output, typically the name of the application that generated the trace event.
+ A numeric identifier for the event.
+ A message to write.
+ A object identifying a related activity.
+ The is saved to a so the logging infrastructure can reconstruct the transfer message.
+
+
+
+ Writes the specified message through the Logging Application Block.
+
+
+
+
+ Writes the specified message through the Logging Application Block.
+
+
+
+
+ Gets the xpath queries for the categories.
+
+
+ The xpath queries for the categories.
+
+
+
+
+ Gets the value indicating the receiver is thread safe.
+
+
+
+
+ Gets the for the listenter.
+
+
+ The for the listenter.
+
+
+
+
+ Helper class for working with environment variables.
+
+
+
+
+ Sustitute the Environment Variables
+
+ The filename.
+
+
+
+
+ Defines the behavior when the roll file is created.
+
+
+
+
+ Overwrites the file if it already exists.
+
+
+
+
+ Use a secuence number at the end of the generated file if it already exists. If it fails again then increment the secuence until a non existent filename is found.
+
+
+
+
+ Defines the frequency when the file need to be rolled.
+
+
+
+
+ None Interval
+
+
+
+
+ Minute Interval
+
+
+
+
+ Hour interval
+
+
+
+
+ Day Interval
+
+
+
+
+ Week Interval
+
+
+
+
+ Month Interval
+
+
+
+
+ Year Interval
+
+
+
+
+ At Midnight
+
+
+
+
+ Specifies the contract for a MSMQ interface object.
+
+
+
+
+ Close the msmq.
+
+
+
+
+ Send a message to the MSMQ.
+
+ The to send.
+ The value that specifies the type of transaction to use.
+
+
+
+ The transactional status of the MSMQ.
+
+
+
+
+ Specifies the contract for a provider of MSMQ interfaces.
+
+
+
+
+ Returns a new MSMQ interface.
+
+ The MSMQ queue path.
+ The new MSMQ interface.
+
+
+
+ Implementation of that forwards messages to an actual MSMQ.
+
+
+
+
+ Closes the underlying MSMQ.
+
+
+
+
+ Disposes the underlying MSMQ.
+
+
+
+
+ Sends a message to the underlying MSMQ.
+
+ The to send.
+ The value that specifies the type of transaction to use.
+
+
+
+ Returns the transactional status of the underlying MSMQ.
+
+
+
+
+ Implementation of the contract that deals with an actual MSMQ.
+
+
+
+
+ Returns a new instance of
+
+ The MSMQ queue path.
+ The new MSMQ interface.
+
+
+
+ Is a that delivers the log entries to an Msmq instance.
+
+
+
+
+ Initializes a new instance of .
+
+ The name of the new instance.
+ The path to the queue to deliver to.
+ The formatter to use.
+
+
+
+ Initializes a new instance of .
+
+ The name of the new instance.
+ The path to the queue to deliver to.
+ The formatter to use.
+ The priority for the messages to send.
+ The recoverable flag for the messages to send.
+ The timeToReachQueue for the messages to send.
+ The timeToBeReceived for the messages to send.
+ The useAuthentication flag for the messages to send.
+ The useDeadLetterQueue flag for the messages to send.
+ The useEncryption flag for the messages to send.
+ The for the message to send.
+
+
+
+ Initializes a new instance of .
+
+ The name of the new instance.
+ The path to the queue to deliver to.
+ The formatter to use.
+ The priority for the messages to send.
+ The recoverable flag for the messages to send.
+ The timeToReachQueue for the messages to send.
+ The timeToBeReceived for the messages to send.
+ The useAuthentication flag for the messages to send.
+ The useDeadLetterQueue flag for the messages to send.
+ The useEncryption flag for the messages to send.
+ The for the message to send.
+ The factory to create the msmq interfaces.
+
+
+
+ Create a message from a .
+
+ The
+ A object.
+
+
+
+ Sends the traced object to its final destination through a .
+
+ The context information provided by .
+ The name of the trace source that delivered the trace data.
+ The type of event.
+ The id of the event.
+ The data to trace.
+
+
+
+ Writes the specified message to the message queue.
+
+ Message to be written.
+
+
+
+ Writes the specified message to the message queue.
+
+
+
+
+
+ Gets the path to the queue.
+
+
+ The path to the queue.
+
+
+
+
+ Represents a file stream writer that keeps a tally of the length of the file.
+
+
+
+
+ Initializes a new instance of the class with the specified file stream.
+
+ The to write to.
+
+
+
+ Initializes a new instance of the class with the specified file stream and encoding.
+
+ The to write to.
+ The to use.
+
+
+
+ Writes a character to the stream.
+
+ The character to write to the text stream.
+ is true or the buffer is full, and current writer is closed.
+ is true or the buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the is at the end the stream.
+ An I/O error occurs. 1
+
+
+
+ Writes a character array to the stream.
+
+ A character array containing the data to write. If buffer is null, nothing is written.
+ is true or the buffer is full, and current writer is closed.
+ is true or the buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the is at the end the stream.
+ An I/O error occurs. 1
+
+
+
+ Writes the specified buffer to the stream.
+
+ A character array containing the data to write.
+ The index into buffer at which to begin writing.
+ The number of characters to read from buffer.
+ An I/O error occurs.
+ is true or the buffer is full, and current writer is closed.
+ is true or the buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the is at the end the stream.
+ index or count is negative.
+ The buffer length minus index is less than count.
+ buffer is null. 1
+
+
+
+ Writes a string to the stream.
+
+ The string to write to the stream. If value is null, nothing is written.
+ is true or the buffer is full, and current writer is closed.
+ is true or the buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the is at the end the stream.
+ An I/O error occurs. 1
+
+
+
+ Gets the tally of the length of the string.
+
+
+ The tally of the length of the string.
+
+
+
+
+ Represents a trace listener that writes entries as XML-encoded data to a file.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Delivers the trace data as an XML message.
+
+ The context information provided by .
+ The name of the trace source that delivered the trace data.
+ The type of event.
+ The ID of the event.
+ The data to trace.
+
+
+
+ Represents a performance tracing class to log method entry/exit and duration.
+
+
+
+
+ Create an instance of giving the .
+
+ The that is used to write trace messages.
+
+
+
+ Initializes a new instance of the class with the given logical operation name.
+
+ The operation for the
+
+
+
+
+ Initializes a new instance of the class with the given logical operation name and activity id.
+
+ The operation for the
+ The activity id
+
+
+
+
+ For testing purpose
+
+
+
+
+ Represents a performance tracing class to log method entry/exit and duration.
+
+
+ Lifetime of the Tracer object will determine the beginning and the end of
+ the trace. The trace message will include, method being traced, start time, end time
+ and duration.
+ Since Tracer uses the Logging Application Block to log the trace message, you can include application
+ data as part of your trace message. Configured items from call context will be logged as
+ part of the message.
+ Trace message will be logged to the log category with the same name as the tracer operation name.
+ You must configure the operation categories, or the catch-all categories, with desired log sinks to log
+ the trace messages.
+
+
+
+
+ Priority value for Trace messages
+
+
+
+
+ Event id for Trace messages
+
+
+
+
+ Title for operation start Trace messages
+
+
+
+
+ Title for operation end Trace messages
+
+
+
+
+ Name of the entry in the ExtendedProperties having the activity id
+
+
+
+
+ Initializes a new instance of the class with the given logical operation name.
+
+
+ If an existing activity id is already set, it will be kept. Otherwise, a new activity id will be created.
+
+ The operation for the .
+
+
+
+ Initializes a new instance of the class with the given logical operation name and activity id.
+
+
+ The activity id will override a previous activity id.
+
+ The operation for the .
+ The activity id.
+
+
+
+ Initializes a new instance of the class with the given logical operation name and activity id.
+
+
+ The activity id will override a previous activity id.
+
+ The operation for the .
+ The activity id.
+ The that is used to write trace messages.
+ is .
+
+
+
+ Initializes a new instance of the class with the given logical operation name and activity id.
+
+
+ If an existing activity id is already set, it will be kept. Otherwise, a new activity id will be created.
+
+ The operation for the .
+ The that is used to write trace messages.
+ is .
+
+
+
+ Causes the to output its closing message.
+
+
+
+
+ Indicates whether tracing is enabled
+
+ if tracing is enabled; otherwise, .
+
+
+
+ Releases unmanaged and - optionally - managed resources.
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Represents a client-side log filter based on message category.
+ Either specific categories can be explicitly allowed, or specific categories can be denied.
+
+
+
+
+ Initializes a new instance with configuration data.
+
+ Name of this category filter.
+ Categories to be included in the filter.
+ used to include or exclude category filters.
+
+
+
+ Tests a log entry against the category filters.
+
+ Log entry to test.
+ true if the message passes through the filter and should be logged, false otherwise.
+
+
+
+ Tests a set of categories against the category filters.
+
+ The set of categories.
+ true if the message passes through the filter and should be logged, false otherwise.
+
+
+
+ Test a category against the category filters.
+
+ The category.
+ true if the category passes through the category filter, false otherwise.
+ A log entry for an allowed category may be rejected if the log entry has other denied categories
+ in its categories liset.
+
+
+
+ Gets the category names to filter.
+
+
+
+
+ Gets the to use for filtering.
+
+
+
+
+ Provides client-side log filtering based on category and priority. Each filter
+ implements the ILogFilter interface and is registered in this class.
+ Category filtering is done using a and priority filtering
+ is done using a .
+
+
+
+
+ Initialize a new instance of a class. Registers each ILogFilter.
+
+ The instances of to aggregate.
+ The handler to deal with errors during filter checking.
+
+
+
+ Tests the log message against the registered filters.
+
+ Log entry message.
+ Return true if the message passes through all of the filters.
+
+
+
+ Gets the first filter of type .
+
+ The type of the filter to get.
+ The first filter of type ,
+ or if there is no such filter.
+
+
+
+ Gets the filter of type named .
+
+ The type of the filter to get.
+ The name of the filter to get.
+ The filter of type named ,
+ or if there is no such filter
+
+
+
+ Gets the filter named .
+
+ The name of the filter to get.
+ The filter named ,
+ or if there is no such filter
+
+
+
+ Represents a client-side log filter based on message priority.
+ Messages with priorities between the minimum and maximum values are allowed to be processed, all other messages are dropped.
+
+
+
+
+ Initializes a new instance of the class with a minimum priority and no maximum priority.
+
+ The name of the instance.
+ The minimum priority value.
+
+
+
+ Initializes a new instance of the class with a minimum and maximum priority.
+
+ The name of the instance.
+ The minimum priority value.
+ The maximum priority value.
+
+
+
+ Tests a log entry to see if its priority is within the allowed limits.
+
+ Log entry to test.
+ Returns true if the log entry passes through the category filter.
+
+
+
+ Tests a log entry to see if its priority is within the allowed limits.
+
+ Priority to test.
+ Returns true if the priority passes through the category filter.
+
+
+
+ The minimum value for messages to be processed. Messages with a priority
+ below the minimum are dropped immediately on the client.
+
+
+
+
+ The maximum value for messages to be processed. If not specified
+ this property defaults to Int32.MaxInt
+
+
+
+
+ Facade for writing a log entry to one or more s. This class is sealed.
+
+
+
+
+ Add a key/value pair to the dictionary.
+ Context items will be recorded with every log entry.
+
+ Hashtable key
+ Value. Objects will be serialized.
+ The following example demonstrates use of the AddContextItem method.
+ Logger.SetContextItem("SessionID", myComponent.SessionId);
+
+
+
+ Empty the context items dictionary.
+
+
+
+
+ Write a new log entry to the default category.
+
+
+ Write a new log entry to the default category.
+
+ The following example demonstrates use of the Write method with
+ one required parameter, message.
+ Logger.Write("My message body");
+ Message body to log. Value from ToString() method from message object.
+
+
+
+ Write a new log entry to a specific category.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+
+
+
+ Write a new log entry with a specific category and priority.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+
+
+
+ Write a new log entry with a specific category, priority and event id.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+
+
+
+ Write a new log entry with a specific category, priority, event id and severity.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log entry severity as a enumeration. (Unspecified, Information, Warning or Error).
+
+
+
+ Write a new log entry with a specific category, priority, event id, severity
+ and title.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log message severity as a enumeration. (Unspecified, Information, Warning or Error).
+ Additional description of the log entry message
+
+
+
+ Write a new log entry and a dictionary of extended properties.
+
+ Message body to log. Value from ToString() method from message object.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry to a specific category with a dictionary
+ of extended properties.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry to with a specific category, priority and a dictionary
+ of extended properties.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry with a specific category, priority, event Id, severity
+ title and dictionary of extended properties.
+
+ The following example demonstrates use of the Write method with
+ a full set of parameters.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log message severity as a enumeration. (Unspecified, Information, Warning or Error).
+ Additional description of the log entry message.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry to a specific collection of categories.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+
+
+
+ Write a new log entry with a specific collection of categories and priority.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+
+
+
+ Write a new log entry with a specific collection of categories, priority and event id.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+
+
+
+ Write a new log entry with a specific collection of categories, priority, event id and severity.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log entry severity as a enumeration. (Unspecified, Information, Warning or Error).
+
+
+
+ Write a new log entry with a specific collection of categories, priority, event id, severity
+ and title.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log message severity as a enumeration. (Unspecified, Information, Warning or Error).
+ Additional description of the log entry message
+
+
+
+ Write a new log entry to a specific collection of categories with a dictionary of extended properties.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry to with a specific collection of categories, priority and a dictionary
+ of extended properties.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry with a specific category, priority, event Id, severity
+ title and dictionary of extended properties.
+
+ The following example demonstrates use of the Write method with
+ a full set of parameters.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log message severity as a enumeration. (Unspecified, Information, Warning or Error).
+ Additional description of the log entry message.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry as defined in the parameter.
+
+ The following examples demonstrates use of the Write method using
+ a type.
+
+ LogEntry log = new LogEntry();
+ log.Category = "MyCategory1";
+ log.Message = "My message body";
+ log.Severity = TraceEventType.Error;
+ log.Priority = 100;
+ Logger.Write(log);
+ Log entry object to write.
+
+
+
+ Returns the filter of type .
+
+ The type of filter requiered.
+ The instance of in the filters collection, or
+ if there is no such instance.
+
+
+
+ Returns the filter of type named .
+
+ The type of filter required.
+ The name of the filter required.
+ The instance of named in
+ the filters collection, or if there is no such instance.
+
+
+
+ Returns the filter named .
+
+ The name of the filter required.
+ The filter named in
+ the filters collection, or if there is no such filter.
+
+
+
+ Query whether logging is enabled.
+
+ true
if logging is enabled.
+
+
+
+ Query whether a shold be logged.
+
+ The log entry to check
+ Returns true
if the entry should be logged.
+
+
+
+ Reset the writer used by the facade.
+
+
+
+ Resetting the writer disposes the current writer and sets the reference to so further attempts to use the facade
+ will fail until it is re-initialized.
+
+
+ This method should be invoked only when no other operations are being performed through the facade.
+
+
+ Threads that already acquired the reference to the old writer will fail when it gets disposed.
+
+
+
+
+
+ Sets the log writer.
+
+ The log writer.
+ to throw an exception if the writer is already set; otherwise . Defaults to .
+ The factory is already set, and is .
+
+
+
+ Gets the instance of used by the facade.
+
+
+
+
+ Base class for that wrap other trace listeners and
+ use a to format the trace information.
+
+
+
+
+ Initializes a .
+
+
+
+
+ Initializes a with an inner .
+
+ The wrapped listener.
+
+
+
+ Initializes a with an inner
+ and a .
+
+ The wrapped listener.
+ The formatter.
+
+
+
+ Forwards the trace request to the wrapped listener.
+
+ The context information.
+ The trace source.
+ The severity.
+ The event id.
+ The objects to trace.
+
+
+
+ Formats the object to trace and forward the trace request to the wrapped listener with the formatted result.
+
+
+ Formatting is only performed if the object to trace is a and the formatter is set.
+
+ The context information.
+ The trace source.
+ The severity.
+ The event id.
+ The object to trace.
+
+
+
+ Forwards the trace request to the wrapped listener.
+
+ The context information.
+ The trace source.
+ The severity.
+ The event id.
+ The message to trace.
+
+
+
+ Forwards the trace request to the wrapped listener.
+
+ The context information.
+ The trace source.
+ The severity.
+ The event id.
+ The format to use.
+ The objects to trace.
+
+
+
+ Forwards the trace request to the wrapped listener.
+
+ The message to trace.
+
+
+
+ Forwards the tracing to the wrapped listener.
+
+ The message to trace.
+
+
+
+ Deal with resources.
+
+ true if called from a Dispose message.
+
+
+
+ Gets the wrapped.
+
+
+ The wrapped.
+
+
+
+
+ FormattedEventLogTraceListener is a that wraps an
+ and uses a to transform the data to trace.
+
+
+
+
+ Default to use when no log name is provided.
+
+
+
+
+ Default to use when no machine name is provided.
+
+
+
+
+ Initializes a new instance of with a
+ initialized with .
+
+ The event log for the wrapped listener.
+
+
+
+ Initializes a new instance of with an
+ and a
+ initialized with .
+
+ The event log for the wrapped listener.
+ The formatter for the wrapper.
+
+
+
+ Initializes a new instance of with a
+ initialized with a source name.
+
+ The source name for the wrapped listener.
+
+
+
+ Initializes a new instance of with an
+ and a
+ initialized with source name and default log and machine names.
+
+ The source name for the wrapped listener.
+ The formatter for the wrapper.
+
+
+
+ Initializes a new instance of with an
+ and a
+ initialized with source name.
+
+ The source name for the wrapped listener.
+ The name of the event log.
+ The formatter for the wrapper.
+
+
+
+ Initializes a new instance of with an
+ and a
+
+ The source name for the wrapped listener.
+ The name of the event log.
+ The machine name for the event log.
+ The formatter for the wrapper.
+
+
+
+ Represents the configuration settings for a .
+
+
+
+
+
+
+
+
+
+ Initializes a new instance of the class with default values.
+
+
+
+
+ Initialize a new instance of the class with a template.
+
+
+ Template containing tokens to replace.
+
+
+
+
+ Initialize a new instance of the class with a name and template.
+
+
+ The name of the formatter.
+
+
+ Template containing tokens to replace.
+
+
+
+
+ Initialize a new instance of the class with a name and template.
+
+
+ The name of the formatter.
+
+
+ The type of the formatter.
+
+
+ Template containing tokens to replace.
+
+
+
+
+ Builds the object represented by this configuration object.
+
+
+ A formatter.
+
+
+
+
+ Gets or sets the template containing tokens to replace.
+
+
+
+
+ Represents a template based formatter for messages.
+
+
+ The uses a initialized with a set of
+ that can manage the default template tokens. Subclasses can supply extra
+ token handlers that will be added to the default set for additional template processing.
+
+
+
+
+
+
+
+ Sets up the default token handlers for the ;
+
+
+
+
+ Initializes a new instance of a with a default template.
+
+
+
+
+ Initializes a new instance of a with a template and no extra token handlers.
+
+ Template to be used when formatting.
+
+
+
+ Initializes a new instance of a with a template and additional token handlers.
+
+ Template to be used when formatting.
+ The additional token handlers to use when processing the template.
+
+
+
+ Creates a for the property.
+
+
+
+
+ Generates ISO format yyyy-MM-dd
+
+ The date time to format.
+ A formatted date in the format yyyy-MM-dd
+
+
+
+ Formats a date time with a fixed US date format in a performant way.
+
+ The date time to format.
+ A formatted date in the format MM/dd/yyyy
+
+
+
+ Formats a date time with a fixed time format in a performant way.
+
+ The date time to format.
+ A formatted time in the format HH:mm:ss.fff
+
+
+
+ Creates a for any property on a
+ retrieved through reflection.
+
+
+
+
+ Creates a for an entry in the
+ dictionary.
+
+
+
+
+ Creates a for all the entries in the
+ dictionary.
+
+
+
+
+ Formats the object by replacing tokens with values
+
+
+ Formats the object by replacing tokens with values.
+
+ Log entry to format.
+ Formatted string with tokens replaced with property values.
+
+
+
+ Provides a textual representation of a categories list.
+
+ The collection of categories.
+ A comma delimited textural representation of the categories.
+
+
+
+ Gets or sets the formatting template.
+
+
+
+
+ Gets the default format to use when formatting.
+
+
+
+
+ Abstract base for all -derived classes.
+ Provides default algorithm for formatting a token.
+
+
+ Extending this class is not the recommended approach for handling tokens.
+
+
+
+
+
+
+
+ Initializes an instance of a TokenFunction with a start delimiter and the default end delimiter.
+
+ Start delimiter.
+
+
+
+ Initializes an instance of a TokenFunction with a start and end delimiter.
+
+ Start delimiter.
+ End delimiter.
+
+
+
+ Searches for token functions in the message and replace all with formatted values.
+
+ Message template containing tokens.
+ Log entry containing properties to format.
+
+
+
+ Abstract method to process the token value between the start and end delimiter.
+
+ Token value between the start and end delimiters.
+ Log entry to process.
+ Formatted value to replace the token.
+
+
+
+ Returns the template in between the paratheses for a token function.
+ Expecting tokens in this format: {keyvalue(myKey1)}.
+
+ Start index to search for the next token function.
+ Message template containing tokens.
+ Inner template of the function.
+
+
+
+ Represents a log message. Contains the common properties that are required for all log messages.
+
+
+
+
+ Initialize a new instance of a class.
+
+
+
+
+ Create a new instance of with a full set of constructor parameters
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log entry severity as a enumeration. (Unspecified, Information, Warning or Error).
+ Additional description of the log entry message.
+ Dictionary of key/value pairs to record.
+
+
+
+ Create a new instance of with a full set of constructor parameters
+
+ Message body to log. Value from ToString() method from message object.
+ Collection of category names used to route the log entry to a one or more sinks.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log entry severity as a enumeration. (Unspecified, Information, Warning or Error).
+ Additional description of the log entry message.
+ Dictionary of key/value pairs to record.
+
+
+
+ Creates a new that is a copy of the current instance.
+
+
+ If the dictionary contained in implements , the resulting
+ will have its ExtendedProperties set by calling Clone(). Otherwise the resulting
+ will have its ExtendedProperties set to .
+
+ ICloneable.Clone
+ A new LogEntry that is a copy of the current instance.
+
+
+
+ Add an error or warning message to the start of the messages string builder.
+
+ Message to be added to this instance
+
+
+
+ Returns a that represents the current ,
+ using a default formatting template.
+
+ A that represents the current .
+
+
+
+ Set the intrinsic properties such as MachineName and UserIdentity.
+
+
+
+
+ Gets the current process name.
+
+ The process name.
+
+
+
+ Message body to log. Value from ToString() method from message object.
+
+
+
+
+ Category name used to route the log entry to a one or more trace listeners.
+
+
+
+
+ Importance of the log message. Only messages whose priority is between the minimum and maximum priorities (inclusive)
+ will be processed.
+
+
+
+
+ Event number or identifier.
+
+
+
+
+ Log entry severity as a enumeration. (Unspecified, Information, Warning or Error).
+
+
+
+
+ Gets the string representation of the enumeration.
+
+
+ The string value of the enumeration.
+
+
+
+
+ Additional description of the log entry message.
+
+
+
+
+ Date and time of the log entry message.
+
+
+
+
+ Name of the computer.
+
+
+
+
+ The in which the program is running
+
+
+
+
+ The Win32 process ID for the current running process.
+
+
+
+
+ The name of the current running process.
+
+
+
+
+ The name of the .NET thread.
+
+
+
+
+
+ The Win32 Thread ID for the current thread.
+
+
+
+
+ Dictionary of key/value pairs to record.
+
+
+
+
+ Read-only property that returns the timeStamp formatted using the current culture.
+
+
+
+
+ Tracing activity id
+
+
+
+
+ Related activity id
+
+
+
+
+ Gets the error message with the
+
+
+
+
+ Tracing activity id as a string to support WMI Queries
+
+
+
+
+ Category names used to route the log entry to a one or more trace listeners.
+ This readonly property is available to support WMI queries
+
+
+
+
+ Gets the default title for an entry.
+
+
+
+
+ Platform Invocation methods used to support Tracer.
+
+
+
+
+ Made public for testing purposes.
+
+
+
+
+
+ Made public for testing purposes.
+
+
+
+
+
+ Made public for testing purposes.
+
+
+
+
+
+ Made public for testing purposes.
+
+
+
+
+
+ DNS domain name + SAM username
+ eg: engineering.widget.com\JohnDoe
+
+
+
+
+ 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 All Events.
+
+
+
+
+ Looks up a localized string similar to Avg. Trace Execution Time Base is the base for the average execution time for traced operations..
+
+
+
+
+ Looks up a localized string similar to Avg. Trace Execution Time is the average execution time for traced operations..
+
+
+
+
+ Looks up a localized string similar to Enterprise Library Logging Application Block.
+
+
+
+
+ Looks up a localized string similar to ActivityId.
+
+
+
+
+ Looks up a localized string similar to ApplicationId.
+
+
+
+
+ Looks up a localized string similar to DirectCallerAccountName.
+
+
+
+
+ Looks up a localized string similar to OriginalCallerAccountName.
+
+
+
+
+ Looks up a localized string similar to TransactionID.
+
+
+
+
+ Looks up a localized string similar to A configuration failure occurred while logging..
+
+
+
+
+ Looks up a localized string similar to The error occurred while refreshing the logging configuration. The configuration will not be updated..
+
+
+
+
+ Looks up a localized string similar to Unable to create object -- configuration section {0} not found in configuration file..
+
+
+
+
+ Looks up a localized string similar to LookupAccountSid was not successful.
+
+
+
+
+ Looks up a localized string similar to at .
+
+
+
+
+ Looks up a localized string similar to in {0}: line {1}.
+
+
+
+
+ Looks up a localized string similar to <UnknownType>.
+
+
+
+
+ Looks up a localized string similar to StackTrace.
+
+
+
+
+ Looks up a localized string similar to Unable to process stack trace..
+
+
+
+
+ Looks up a localized string similar to Insufficient privilege to generate stack trace..
+
+
+
+
+ Looks up a localized string similar to Failed to log message to the default log destination..
+
+
+
+
+ Looks up a localized string similar to An error occurred while the Distributor was processing the message. Please check your configuration files for errors or typos. Verify that your sinks are reachable (queues exist, permissions are set, database exists, and so forth...).
+
+
+
+
+ Looks up a localized string similar to Enterprise Library Backup Sink.
+
+
+
+
+ Looks up a localized string similar to Call Logging.
+
+
+
+
+ Looks up a localized string similar to Timestamp: {timestamp}{newline}Message: {message}{newline}Category: {category}{newline}Priority: {priority}{newline}EventId: {eventid}{newline}Severity: {severity}{newline}Title:{title}{newline}Machine: {localMachine}{newline}App Domain: {localAppDomain}{newline}ProcessId: {localProcessId}{newline}Process Name: {localProcessName}{newline}Thread Name: {threadName}{newline}Win32 ThreadId:{win32ThreadId}{newline}Extended Properties: {dictionary({key} - {value}{newline})}.
+
+
+
+
+ Looks up a localized string similar to Message:
+ .
+
+
+
+
+ Looks up a localized string similar to Summary for.
+
+
+
+
+ Looks up a localized string similar to Enterprise Library Distributor Service.
+
+
+
+
+ Looks up a localized string similar to E-Mail Sink is missing one of these keys in the Distributor's XML file: ToAddress, FromAddress, and/or SmtpServer..
+
+
+
+
+ Looks up a localized string similar to Logging Errors & Warnings.
+
+
+
+
+ Looks up a localized string similar to The message {0} could not be written..
+
+
+
+
+ Looks up a localized string similar to Access denied to the event log '{0}'..
+
+
+
+
+ Looks up a localized string similar to Event Log Sink is missing the key -EventSourceName- in the Distributor's configuration file..
+
+
+
+
+ Looks up a localized string similar to The asynchronous buffer size must be a positive integer..
+
+
+
+
+ Looks up a localized string similar to The asynchronous buffer purge timeout must be a non-negative time span or Timeout.InfiniteTimespan..
+
+
+
+
+ Looks up a localized string similar to The capacity for the asynchronous trace listener named '{0}' is exhausted..
+
+
+
+
+ Looks up a localized string similar to Cannot check for impersonation; assuming not impersonating..
+
+
+
+
+ Looks up a localized string similar to The custom trace listener type '{3}' for listener '{2}' does not have the required {4}-argument constructor ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The default category '{0}' is not defined in Logging Distributor configuration..
+
+
+
+
+ Looks up a localized string similar to The default formatter '{0}' is not defined in Logging Distributor configuration..
+
+
+
+
+ Looks up a localized string similar to Cannot revert impersonation..
+
+
+
+
+ Looks up a localized string similar to The name for the CategoryFilterData can not be null..
+
+
+
+
+ Looks up a localized string similar to The category '{0}' is not defined in the Logging Distributor configuration..
+
+
+
+
+ Looks up a localized string similar to The configuration object for type '{0}' with name '{1}' has type '{2}' instead of CustomTraceListenerData which is required for custom providers..
+
+
+
+
+ Looks up a localized string similar to The creation expression for this type registration must be a Linq New or MemberInit Expression..
+
+
+
+
+ Looks up a localized string similar to The custom filter with name '{2}' does not have a type specified ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The type '{3}' for custom filter with name '{2}' is not a valid filter type ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The type '{3}' for custom filter with name '{2}' is not a valid type or cannot be loaded ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The type '{3}' for custom filter with name '{2}' does not have the expected constructor with a single NameValueCollection parameter ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The custom formatter with name '{2}' does not have a type specified ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The type '{3}' for custom formatter with name '{2}' is not a valid formatter type ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The type '{3}' for custom formatter with name '{2}' is not a valid type or cannot be loaded ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The type '{3}' for custom formatter with name '{2}' does not have the expected constructor with a single NameValueCollection parameter ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The type '{1}' specified for custom trace listener named '{0}' does not a default constructor, which is required when no InitData is specified in the configuration..
+
+
+
+
+ Looks up a localized string similar to The type '{1}' specified for custom trace listener named '{0}' does not a constructor with the required signature {2}..
+
+
+
+
+ Looks up a localized string similar to The type '{3}' for custom trace listener '{2}' is not a trace listener type ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to Custom TraceListener type {1} for name {0} does not have the required constructor .ctor(string)..
+
+
+
+
+ Looks up a localized string similar to Exception Information Details:.
+
+
+
+
+ Looks up a localized string similar to An error occurred while formatting the log entry for reporting {0}..
+
+
+
+
+ Looks up a localized string similar to Log writer failed to acquire lock while updating configuration..
+
+
+
+
+ Looks up a localized string similar to Log writer failed to acquire lock while writing log entry..
+
+
+
+
+ Looks up a localized string similar to HEADER.
+
+
+
+
+ Looks up a localized string similar to The listener '{2}' requires a valid formatter name ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The formatter '{0}' is not defined in the Logging Distributor configuration..
+
+
+
+
+ Looks up a localized string similar to The factory {0} was created to use {1} objects to inject data into {2} objects. The type {3} was supplied to the Create method which is not compatible..
+
+
+
+
+ Looks up a localized string similar to The custom trace listener '{2}' does not have a listener type name set or the type is invalid ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The configuration section for Logging cannot be found in the configuration source..
+
+
+
+
+ Looks up a localized string similar to The LogWriter is already set..
+
+
+
+
+ Looks up a localized string similar to The LogWriter has not been set for the Logger static class. Set it invoking the Logger.SetLogWriter method..
+
+
+
+
+ Looks up a localized string similar to Must be implemented by subclasses..
+
+
+
+
+ Looks up a localized string similar to The MSMQ listener with name '{2}' does not have a valid queue path ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to The requested log sink '{0}' is not defined in the current configuration..
+
+
+
+
+ Looks up a localized string similar to The Distributor Settings does not have any log sinks defined in configuration..
+
+
+
+
+ Looks up a localized string similar to The value can not be a null or empty string..
+
+
+
+
+ Looks up a localized string similar to Environment Variables access denied..
+
+
+
+
+ Looks up a localized string similar to StackTrace Information Details:.
+
+
+
+
+ Looks up a localized string similar to Summary for.
+
+
+
+
+ Looks up a localized string similar to Missing TraceListenerData type in configuration '{0}'..
+
+
+
+
+ Looks up a localized string similar to Invalid TraceListenerData type in configuration '{0}'..
+
+
+
+
+ Looks up a localized string similar to The configuration for TraceListener named {0} is missing from configuration..
+
+
+
+
+ Looks up a localized string similar to The trace listener with name {2} is not defined in the configuration file ({0} line {1})..
+
+
+
+
+ Looks up a localized string similar to Exception Type.
+
+
+
+
+ Looks up a localized string similar to An unknown error occurred performing an asynchronous action for the trace listener named '{0}': {1}.
+
+
+
+
+ Looks up a localized string similar to The writer argument should not be null when passing a configurationsource for instrumentation..
+
+
+
+
+ Looks up a localized string similar to Unable to read system property. Error message: {0}.
+
+
+
+
+ Looks up a localized string similar to Failure while checking filters for log entry..
+
+
+
+
+ Looks up a localized string similar to Failure while reporting missing log categories for log entry..
+
+
+
+
+ Looks up a localized string similar to Failure while sending log entry to the TraceListeners..
+
+
+
+
+ Looks up a localized string similar to Flat File Sink is missing one of these keys in the Distributor's configuration file: FilePath and/or FileName.
+
+
+
+
+ Looks up a localized string similar to Evaluation of filter '{0}' failed and the filter will be ignored. See summary information below for more information. Should this problem persist, stop the service and check the configuration file(s) for possible error(s) in the configuration of the categories and sinks..
+
+
+
+
+ Looks up a localized string similar to ProcessQueueMessage - additional information.
+
+
+
+
+ Looks up a localized string similar to
+ Message:
+ {0}.
+
+
+
+
+ Looks up a localized string similar to Log Formatter Factory.
+
+
+
+
+ Looks up a localized string similar to Unable to find instance name '{0}' for '{1}'..
+
+
+
+
+ Looks up a localized string similar to Enterprise Library Logging Service.
+
+
+
+
+ Looks up a localized string similar to Enterprise Library Logging Service application performance counters..
+
+
+
+
+ Looks up a localized string similar to Enterprise Library Logging Service.
+
+
+
+
+ Looks up a localized string similar to Unable to read intrinsic property. Error message: {0}.
+
+
+
+
+ Looks up a localized string similar to Error logging with '{0}' sink from configuration. The default log sink will be used instead to process the message..
+
+
+
+
+ Looks up a localized string similar to
+ Message:
+ {0}.
+
+
+
+
+ Looks up a localized string similar to Context information cannot be retrieved when the Logging assembly is not fully trusted..
+
+
+
+
+ Looks up a localized string similar to Permission for UnmanagedCode is not available..
+
+
+
+
+ Looks up a localized string similar to Logging Events Raised/sec is the rate at which logging events were raised..
+
+
+
+
+ Looks up a localized string similar to AuthenticationType.
+
+
+
+
+ Looks up a localized string similar to IdentityName.
+
+
+
+
+ Looks up a localized string similar to IsAuthenticated.
+
+
+
+
+ Looks up a localized string similar to The method {0}::{1} is not implemented..
+
+
+
+
+ Looks up a localized string similar to There is no explicit mapping for the categories '{0}'. The log entry was:
+ {1}.
+
+
+
+
+ Looks up a localized string similar to The default formatter is missing from the configuration file. The entry will be written using a TextFormatter and an embedded template..
+
+
+
+
+ Looks up a localized string similar to Unprocessed Category.
+
+
+
+
+ Looks up a localized string similar to Distributor: # of Logs to Default Sink/Sec.
+
+
+
+
+ Looks up a localized string similar to Number of logs per second distributed by the Log Distributor to the Default Log Sink (EventLog)..
+
+
+
+
+ Looks up a localized string similar to Distributor: # of Logs Distributed/Sec.
+
+
+
+
+ Looks up a localized string similar to Number of logs distributed per second by the Log Distributor..
+
+
+
+
+ Looks up a localized string similar to Client: # of Logs Written/Sec.
+
+
+
+
+ Looks up a localized string similar to Number of logs per second written by client using the Enterprise Library Logging Application Block..
+
+
+
+
+ Looks up a localized string similar to Parameter must implement type '{0}'..
+
+
+
+
+ Looks up a localized string similar to Processing of the message failed. See summary information below for more information. Should this problem persist, stop the service and check the configuration file(s) for possible error(s) in the configuration of the categories and sinks..
+
+
+
+
+ Looks up a localized string similar to ProcessQueueMessage - additional information.
+
+
+
+
+ Looks up a localized string similar to
+ Message:
+ {0}.
+
+
+
+
+ Looks up a localized string similar to Access failed.
+
+
+
+
+ Looks up a localized string similar to An unknown error occurred reconfiguring the Logging Application Block. Reconfiguration will not take place..
+
+
+
+
+ Looks up a localized string similar to <Error: property {0} threw an exception>.
+
+
+
+
+ Looks up a localized string similar to <Error: property {0} is indexer>.
+
+
+
+
+ Looks up a localized string similar to <Error: property {0} not found>.
+
+
+
+
+ Looks up a localized string similar to <Error: property {0} is not readable>.
+
+
+
+
+ Looks up a localized string similar to Log Sink Factory.
+
+
+
+
+ Looks up a localized string similar to Sink failed because: {0}..
+
+
+
+
+ Looks up a localized string similar to {timestamp}: {title} - {message}.
+
+
+
+
+ Looks up a localized string similar to Total Logging Events Raised is the total number of logging events raised..
+
+
+
+
+ Looks up a localized string similar to Total Trace Listener Entries Written is the total number of entries that were traced by individual trace listeners..
+
+
+
+
+ Looks up a localized string similar to Total Trace Operations Started is the total number of tracing operations started..
+
+
+
+
+ Looks up a localized string similar to Trace Listener Entries Written/sec is the rate at which entries were traced by individual trace listeners..
+
+
+
+
+ Looks up a localized string similar to Trace Operations Started/sec is the rate at which tracing operations were started..
+
+
+
+
+ Looks up a localized string similar to End Trace: Activity '{0}' in method '{1}' at {2} ticks (elapsed time: {3} seconds).
+
+
+
+
+ Looks up a localized string similar to Start Trace: Activity '{0}' in method '{1}' at {2} ticks.
+
+
+
+
+ Looks up a localized string similar to Tracing to LogSource '{0}' failed. Processing for other sources will continue. See summary information below for more information. Should this problem persist, stop the service and check the configuration file(s) for possible error(s) in the configuration of the categories and sinks..
+
+
+
+
+ Looks up a localized string similar to ProcessQueueMessage - additional information.
+
+
+
+
+ Looks up a localized string similar to
+ Message:
+ {0}.
+
+
+
+
+ Looks up a localized string similar to An unknown error has occurred..
+
+
+
+
+ Looks up a localized string similar to Unknwon failure..
+
+
+
+
+ Looks up a localized string similar to CurrentUser.
+
+
+
+
+ Looks up a localized string similar to ProcessAccountName.
+
+
+
+
+ Provides tracing services through a set of s.
+
+
+
+
+ Default Auto Flush property for the LogSource instance.
+
+
+
+
+ Initializes a new instance of the class with a name.
+
+ The name for the instance.
+
+
+
+ Initializes a new instance of the class with a name and a level.
+
+ The name for the instance.
+ The value.
+
+
+
+ Initializes a new instance of the class with a name, a collection of s and a level.
+
+ The name for the instance.
+ The collection of s.
+ The value.
+
+
+
+ Initializes a new instance of the class with a name, a collection of s, a level and the auto flush.
+
+ The name for the instance.
+ The collection of s.
+ The value.
+ If Flush should be called on the Listeners after every write.
+
+
+
+ Writes trace data to the trace listeners in the collection using the specified
+ event type, event identifier, and trace data.
+
+ The value that specifies the type of event that caused the trace.
+ A numeric identifier for the event.
+ The to trace.
+
+
+
+ Writes trace data to the trace listeners in the collection that have not already been
+ written to for tracing using the specified event type, event identifier, and trace data.
+
+
+ The will be updated to reflect the trace listeners that were written to by the
+ .
+
+ The value that specifies the type of event that caused the trace.
+ A numeric identifier for the event.
+ The to trace.
+ The filter for already written to trace listeners.
+
+
+
+ Gets the name for the instance.
+
+
+
+
+ Gets the collection of trace listeners for the instance.
+
+
+
+
+ Gets or sets the values at which to trace for the instance.
+
+
+
+
+ Gets or sets the values for the instance.
+
+
+
+
+ Extends the to add XML support.
+
+
+
+
+ Initialize a new instance of the class.
+
+
+
+
+ Initialize a new instance of the class with the specified options.
+
+ Message body to log. Value from ToString() method from message object.
+ Collection of category names used to route the log entry to a one or more sinks.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log entry severity as a enumeration.
+ Additional description of the log entry message.
+ Dictionary of key/value pairs to record.
+
+
+
+ Field to be able to serialize the XPathNavigator. This a tradeoff.
+
+
+
+
+ Gets or sets the XML to log.
+
+
+
+
+ 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 Add Logging Settings.
+
+
+
+
+ Looks up a localized string similar to A class that writes log messages to a custom logging target, and is added to the Logging Application Block..
+
+
+
+
+ Looks up a localized string similar to Basic Custom Trace Listener.
+
+
+
+
+ Looks up a localized string similar to The minimum severity of messages that will be sent to the logging target.
+ Valid values are All (the default), Off, Critical, Error, Warning, Information, Verbose, and Activity Tracing.
+ The behavior is for messages with the selected severity and all higher severities to be included.
+ For example, the Warning setting will allow warning, error, and critical messages to be written to the logging target..
+
+
+
+
+ Looks up a localized string similar to Severity Filter.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Listener..
+
+
+
+
+ Looks up a localized string similar to Listener Data Type.
+
+
+
+
+ Looks up a localized string similar to The name of the Listener..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to Listeners that do not output to a Text Formatter use this property to determine which options, or elements, should be included in the trace output.
+ Possible values are: CallStack, DateTime, LogicalOperationStack, None, ProcessId, ThreadId, and Timestamp.
+ The default is None. This property is optional..
+
+
+
+
+ Looks up a localized string similar to Trace Output Options.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Custom Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A Log Message Formatter that generates the output for a log message in a binary format suitable for use with listeners such as the Message Queuing (MSMQ) Trace Listener. .
+
+
+
+
+ Looks up a localized string similar to Binary Log Message Formatter.
+
+
+
+
+ Looks up a localized string similar to The name of the Binary Log Message Formatter..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Binary Log Message Formatter..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to Specifies if the filter will allow only messages that match one of the configured categories to pass to the logging target (DenyAllExceptAllowed),
+ or will allow all message except those that match one of the configured categories to pass to the logging target (AllowAllExceptDenied)..
+
+
+
+
+ Looks up a localized string similar to Filter Mode.
+
+
+
+
+ Looks up a localized string similar to The list of all the Categories defined for this Category Filter..
+
+
+
+
+ Looks up a localized string similar to Categories.
+
+
+
+
+ Looks up a localized string similar to A Logging Filter that blocks log messages or allows them to pass to the configured logging target listener(s) based on the categories assigned to the log message. Each Category Filter can be configured for one or more categories, and can be set to allow or block messages assigned to any of these categories..
+
+
+
+
+ Looks up a localized string similar to Category Filter.
+
+
+
+
+ Looks up a localized string similar to The name of the Category Filter..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Category Filter..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A single category in the collection of filters for a Category Filter..
+
+
+
+
+ Looks up a localized string similar to Category.
+
+
+
+
+ Looks up a localized string similar to The name of the Category Filter Entry..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to A class that implements custom formatting for log messages, and is added to the Logging Application Block..
+
+
+
+
+ Looks up a localized string similar to Custom Log Message Formatter.
+
+
+
+
+ Looks up a localized string similar to The name of the Custom Log Message Formatter..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Custom Log Message Formatter..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A class that implements custom filtering for log messages, and is added to the Logging Application Block..
+
+
+
+
+ Looks up a localized string similar to Custom Logging Filter.
+
+
+
+
+ Looks up a localized string similar to The name of the Custom Logging Filter..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Custom Logging Filter..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A class that writes log messages to a custom logging target, and is added to the Logging Application Block..
+
+
+
+
+ Looks up a localized string similar to Custom Trace Listener.
+
+
+
+
+ Looks up a localized string similar to The minimum severity of messages that will be sent to the logging target.
+ Valid values are All (the default), Off, Critical, Error, Warning, Information, Verbose, and Activity Tracing.
+ The behavior is for messages with the selected severity and all higher severities to be included.
+ For example, the Warning setting will allow warning, error, and critical messages to be written to the logging target..
+
+
+
+
+ Looks up a localized string similar to Severity Filter.
+
+
+
+
+ Looks up a localized string similar to Formatter.
+
+
+
+
+ Looks up a localized string similar to Formatter.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Listener..
+
+
+
+
+ Looks up a localized string similar to Listener Data Type.
+
+
+
+
+ Looks up a localized string similar to The name of the Custom Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to Listeners that do not output to a Text Formatter use this property to determine which options, or elements, should be included in the trace output.
+ Possible values are: CallStack, DateTime, LogicalOperationStack, None, ProcessId, ThreadId, and Timestamp. The default is None.
+ This property is optional..
+
+
+
+
+ Looks up a localized string similar to Trace Output Options.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Custom Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Type Name.
+
+
+
+
+ Looks up a localized string similar to A value from the EmailAuthenticationMode enumeration that specifies how the listener will authenticate the user.
+ Valid values are None, WindowsCredentials, and UserNameAndPassword..
+
+
+
+
+ Looks up a localized string similar to Authentication Mode .
+
+
+
+
+ Looks up a localized string similar to A logging target listener that sends log messages to a specified email server..
+
+
+
+
+ Looks up a localized string similar to Email Trace Listener.
+
+
+
+
+ Looks up a localized string similar to The minimum severity of messages that will be sent to the logging target.
+ Valid values are All (the default), Off, Critical, Error, Warning, Information, Verbose, and Activity Tracing.
+ The behavior is for messages with the selected severity and all higher severities to be included.
+ For example, the Warning setting will allow warning, error, and critical messages to be written to the logging target..
+
+
+
+
+ Looks up a localized string similar to Severity Filter.
+
+
+
+
+ Looks up a localized string similar to The name of the Log Message Formatter to use for formatting the log message before sending it to the logging target..
+
+
+
+
+ Looks up a localized string similar to Formatter Name.
+
+
+
+
+ Looks up a localized string similar to The 'From' address to use for the email message created for each log entry..
+
+
+
+
+ Looks up a localized string similar to From Address.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Email Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Listener Type.
+
+
+
+
+ Looks up a localized string similar to The name of the Email Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The port to use to send the email message to the server that will despatch it.
+ The default if not specified is the SMTP port 25..
+
+
+
+
+ Looks up a localized string similar to Smtp Port.
+
+
+
+
+ Looks up a localized string similar to The name or IP address of the server that will send the email message.
+ The default if not specified is the local host (127.0.0.1)..
+
+
+
+
+ Looks up a localized string similar to Smtp Server.
+
+
+
+
+ Looks up a localized string similar to The suffix to add to the end of the Subject for this email message..
+
+
+
+
+ Looks up a localized string similar to Subject Line Suffix.
+
+
+
+
+ Looks up a localized string similar to The prefix to add at the start of the Subject for this email message..
+
+
+
+
+ Looks up a localized string similar to Subject Line Prefix.
+
+
+
+
+ Looks up a localized string similar to The 'To' address to use for the email message created for each log entry..
+
+
+
+
+ Looks up a localized string similar to To Address.
+
+
+
+
+ Looks up a localized string similar to Listeners that do not output to a Text Formatter use this property to determine which options, or elements, should be included in the trace output.
+ Possible values are: CallStack, DateTime, LogicalOperationStack, None, ProcessId, ThreadId, and Timestamp.
+ The default is None. This property is optional..
+
+
+
+
+ Looks up a localized string similar to Trace Output Options.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Email Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to The password to use when authenticating the specified user name..
+
+
+
+
+ Looks up a localized string similar to Authentication Password.
+
+
+
+
+ Looks up a localized string similar to The user name of the user for authentication when sending email messages to the mail server that will relay them. .
+
+
+
+
+ Looks up a localized string similar to Authentication User Name.
+
+
+
+
+ Looks up a localized string similar to A boolean value that specifies if the listener will authenticate and send messages using Secure Sockets Layer (SSL) encrypted communication..
+
+
+
+
+ Looks up a localized string similar to Use SSL.
+
+
+
+
+ Looks up a localized string similar to A logging target listener that writes log messages to a specified text file. Header and footer text can be specified, and the format of the message defined though a template..
+
+
+
+
+ Looks up a localized string similar to Flat File Trace Listener.
+
+
+
+
+ Looks up a localized string similar to The path and file name for the log file. It can include environment variables such as %WINDIR%, %TEMP%, and %USERPROFILE%..
+
+
+
+
+ Looks up a localized string similar to File Name.
+
+
+
+
+ Looks up a localized string similar to The minimum severity of messages that will be sent to the logging target.
+ Valid values are All (the default), Off, Critical, Error, Warning, Information, Verbose, and Activity Tracing.
+ The behavior is for messages with the selected severity and all higher severities to be included.
+ For example, the Warning setting will allow warning, error, and critical messages to be written to the logging target..
+
+
+
+
+ Looks up a localized string similar to Severity Filter.
+
+
+
+
+ Looks up a localized string similar to The text of the footer to add to the log message..
+
+
+
+
+ Looks up a localized string similar to Message Footer.
+
+
+
+
+ Looks up a localized string similar to The name of the Log Message Formatter to use for formatting the log message before sending it to the logging target..
+
+
+
+
+ Looks up a localized string similar to Formatter Name.
+
+
+
+
+ Looks up a localized string similar to The text of the header to add to the log message..
+
+
+
+
+ Looks up a localized string similar to Message Header.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Listener..
+
+
+
+
+ Looks up a localized string similar to Listener Data Type.
+
+
+
+
+ Looks up a localized string similar to The name of the Listener..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to Listeners that do not output to a Text Formatter use this property to determine which options, or elements, should be included in the trace output.
+ Possible values are: CallStack, DateTime, LogicalOperationStack, None, ProcessId, ThreadId, and Timestamp.
+ The default is None. This property is optional..
+
+
+
+
+ Looks up a localized string similar to Trace Output Options.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Flat File Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A logging target listener that sends log messages to a specified Windows Event Log such as the Application or System log..
+
+
+
+
+ Looks up a localized string similar to Event Log Trace Listener.
+
+
+
+
+ Looks up a localized string similar to The minimum severity of messages that will be sent to the logging target.
+ Valid values are All (the default), Off, Critical, Error, Warning, Information, Verbose, and Activity Tracing.
+ The behavior is for messages with the selected severity and all higher severities to be included.
+ For example, the Warning setting will allow warning, error, and critical messages to be written to the logging target..
+
+
+
+
+ Looks up a localized string similar to Severity Filter.
+
+
+
+
+ Looks up a localized string similar to The name of the Log Message Formatter to use for formatting the log message before sending it to the logging target..
+
+
+
+
+ Looks up a localized string similar to Formatter Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Listener..
+
+
+
+
+ Looks up a localized string similar to Listener Data Type.
+
+
+
+
+ Looks up a localized string similar to The name of the Windows Event Log to write the log messages to, such as Application or System..
+
+
+
+
+ Looks up a localized string similar to Log Name.
+
+
+
+
+ Looks up a localized string similar to The name of the machine on which the log messages should be written. The default is the local machine..
+
+
+
+
+ Looks up a localized string similar to Machine Name.
+
+
+
+
+ Looks up a localized string similar to The name of the Event Log Listener.
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The source name to use when writing to the Event Log. The default is 'Enterprise Library Logging'..
+
+
+
+
+ Looks up a localized string similar to Source Name.
+
+
+
+
+ Looks up a localized string similar to Listeners that do not output to a Text Formatter use this property to determine which options, or elements, should be included in the trace output.
+ Possible values are: CallStack, DateTime, LogicalOperationStack, None, ProcessId, ThreadId, and Timestamp.
+ The default is None. This property is optional..
+
+
+
+
+ Looks up a localized string similar to Trace Output Options.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Event Log Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to Formats the contents of a log message based on the Listener type and logging target. Built-in formatters support text formatting through a template and binary formatting..
+
+
+
+
+ Looks up a localized string similar to Formatter.
+
+
+
+
+ Looks up a localized string similar to The name of the Formatter..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Formatter..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A Log Message Formatter that generates the output for a log message in a JSON format. .
+
+
+
+
+ Looks up a localized string similar to JSON Log Message Formatter.
+
+
+
+
+ Looks up a localized string similar to A Log Message Formatter that generates the output for a log message in a JSON text format suitable for use with listeners such as the
+ Flat File, Rolling Flat File, Email, and Event Log Trace Listeners. Accepted values: None (Default), Indented.
+
+
+
+
+ Looks up a localized string similar to JSON Formatting.
+
+
+
+
+ Looks up a localized string similar to The name of the JSON Log Message Formatter..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the JSON Log Message Formatter..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A filter that allows all logging actions to be turned on and off through one setting..
+
+
+
+
+ Looks up a localized string similar to Logging Enabled Filter.
+
+
+
+
+ Looks up a localized string similar to Specifies if all logging is enabled or disabled. Allows all logging actions to be turned on and off through one setting..
+
+
+
+
+ Looks up a localized string similar to All Logging Enabled.
+
+
+
+
+ Looks up a localized string similar to The name of the Logging Enabled Filter..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Logging Enabled Filter..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to Log Files (*.log)|*.log|All Files|*.*.
+
+
+
+
+ Looks up a localized string similar to Base class for configuration objects..
+
+
+
+
+ Looks up a localized string similar to Log Filter.
+
+
+
+
+ Looks up a localized string similar to The name of the Log Filter..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Logging Filter..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to The default Logging Category to use for messages sent to the block that do not specify a Category.
+ Categories allow log messages to be handled and processed in different ways, and sent to different logging targets.
+ Log messages can be assigned to one or more categories..
+
+
+
+
+ Looks up a localized string similar to Default Logging Category.
+
+
+
+
+ Looks up a localized string similar to Configuration settings for the Logging Application Block..
+
+
+
+
+ Looks up a localized string similar to Logging Settings.
+
+
+
+
+ Looks up a localized string similar to Configuration settings for the formatters that can be used with Listeners that generate text or binary output..
+
+
+
+
+ Looks up a localized string similar to Log Message Formatters.
+
+
+
+
+ Looks up a localized string similar to Filters that block or allow specific or all log messages to be written to the configured logging target based on the Category, Priority, or a custom action. .
+
+
+
+
+ Looks up a localized string similar to Logging Filters.
+
+
+
+
+ Looks up a localized string similar to Specifies whether the block will write a Warning message to the logging target(s) specified in the Logging Errors and Warnings special category
+ when a log message is received that does not match any of the defined Logging Categories..
+
+
+
+
+ Looks up a localized string similar to Warn If No Category Match.
+
+
+
+
+ Looks up a localized string similar to Configuration settings for the Logging Application Block..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to By default, log messages are written using impersonation. This provides some performance advantage for logging.
+ This setting allows impersonation to revert to the caller. .
+
+
+
+
+ Looks up a localized string similar to Revert Impersonation.
+
+
+
+
+ Looks up a localized string similar to Configuration settings for built-in Categories that handle all events, events that do not match any other Category, and errors that occur when logging..
+
+
+
+
+ Looks up a localized string similar to Special Categories.
+
+
+
+
+ Looks up a localized string similar to The Trace Listeners available to direct log messages to specific logging targets such as Windows Event Log or a database..
+
+
+
+
+ Looks up a localized string similar to Logging Target Listeners.
+
+
+
+
+ Looks up a localized string similar to A list of categories to which log messages can be assigned. Log messages can be assigned to one or more Categories.
+ Each Category defines how log messages assigned that category will be handled..
+
+
+
+
+ Looks up a localized string similar to Categories.
+
+
+
+
+ Looks up a localized string similar to Specifies whether activity tracing is enabled. When enabled, code can use Tracer instances to trace individual activities and associate the resulting log messages through an Activity ID..
+
+
+
+
+ Looks up a localized string similar to Activity Tracing Enabled.
+
+
+
+
+ Looks up a localized string similar to Queue Path.
+
+
+
+
+ Looks up a localized string similar to Queue Path.
+
+
+
+
+ Looks up a localized string similar to A logging target listener that writes log messages to a specified Windows Message Queuing queue.
+ A wide range of options can be specified for the queues, priority, transaction, and encryption..
+
+
+
+
+ Looks up a localized string similar to Message Queuing Trace Listener.
+
+
+
+
+ Looks up a localized string similar to The minimum severity of messages that will be sent to the logging target.
+ Valid values are All (the default), Off, Critical, Error, Warning, Information, Verbose, and Activity Tracing.
+ The behavior is for messages with the selected severity and all higher severities to be included.
+ For example, the Warning setting will allow warning, error, and critical messages to be written to the logging target..
+
+
+
+
+ Looks up a localized string similar to Severity Filter.
+
+
+
+
+ Looks up a localized string similar to The formatter to use with this trace listener.
+ This must be the Binary Formatter when you use this listener with the Message Queuing distributor service..
+
+
+
+
+ Looks up a localized string similar to Formatter Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Listener..
+
+
+
+
+ Looks up a localized string similar to Listener Data Type.
+
+
+
+
+ Looks up a localized string similar to Sets the priority of a log entry.
+ This determines its priority while the log entry is in transit and when it is inserted into its destination queue.
+ Possible values are: AboveNormal, High, Highest, Low, Lowest, Normal, VeryHigh, and VeryLow..
+
+
+
+
+ Looks up a localized string similar to Message Priority.
+
+
+
+
+ Looks up a localized string similar to The name of the Message Queuing (MSMQ) Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The path to the queue that the Msmq TraceListener instance uses. This attribute is a message queuing path, and it applies to the MsmqTraceListener class..
+
+
+
+
+ Looks up a localized string similar to Queue Path.
+
+
+
+
+ Looks up a localized string similar to Specifies whether the log entry is guaranteed to be delivered if there is a computer failure or network problem..
+
+
+
+
+ Looks up a localized string similar to Recoverable.
+
+
+
+
+ Looks up a localized string similar to The total time for a log entry to be received by the destination queue..
+
+
+
+
+ Looks up a localized string similar to Time To Be Received.
+
+
+
+
+ Looks up a localized string similar to The maximum time for the log entry to reach the queue..
+
+
+
+
+ Looks up a localized string similar to Time To Reach Queue.
+
+
+
+
+ Looks up a localized string similar to Listeners that do not output to a Text Formatter use this property to determine which options, or elements, should be included in the trace output.
+ Possible values are: CallStack, DateTime, LogicalOperationStack, None, ProcessId, ThreadId, and Timestamp.
+ The default is None. This property is optional..
+
+
+
+
+ Looks up a localized string similar to Trace Output Options.
+
+
+
+
+ Looks up a localized string similar to The type of a Message Queuing transaction. Possible values are Automatic, None, and Single..
+
+
+
+
+ Looks up a localized string similar to Transaction Type.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Message Queuing (MSMQ) Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to Specifies whether the message was (or must be) authenticated before being sent..
+
+
+
+
+ Looks up a localized string similar to Use Authentication.
+
+
+
+
+ Looks up a localized string similar to Specifies whether a copy of a message that could not be delivered should be sent to a dead-letter queue..
+
+
+
+
+ Looks up a localized string similar to Use Dead Letter Queue.
+
+
+
+
+ Looks up a localized string similar to Specifies whether to make the message private..
+
+
+
+
+ Looks up a localized string similar to Use Encryption.
+
+
+
+
+ Looks up a localized string similar to A filter that blocks log messages or allows them to pass based on the priority specified in the log message. .
+
+
+
+
+ Looks up a localized string similar to Priority Filter.
+
+
+
+
+ Looks up a localized string similar to The maximum priority value for messages to be passed to the logging target listener(s).
+ Messages with a priority above this value are not sent to the logging target. .
+
+
+
+
+ Looks up a localized string similar to Maximum Priority.
+
+
+
+
+ Looks up a localized string similar to The minimum priority value for messages to be passed to the logging target listener(s).
+ Messages with a priority below this value are not sent to the logging target..
+
+
+
+
+ Looks up a localized string similar to Minimum Priority.
+
+
+
+
+ Looks up a localized string similar to The name of the Priority Filter..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Priority Logging Filter..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A logging target listener that writes log messages to a series of text files.
+ The listener can start a new file at specified intervals, use a specified file naming pattern, and optionally overwrite existing files.
+ Header and footer text can be specified, and the format of the message defined though a template..
+
+
+
+
+ Looks up a localized string similar to Rolling Flat File Trace Listener.
+
+
+
+
+ Looks up a localized string similar to The path and name of the disk file to write log message to. It can include environment variables such as %WINDIR%, %TEMP%, and %USERPROFILE%..
+
+
+
+
+ Looks up a localized string similar to File Name.
+
+
+
+
+ Looks up a localized string similar to The minimum severity of messages that will be sent to the logging target.
+ Valid values are All (the default), Off, Critical, Error, Warning, Information, Verbose, and Activity Tracing.
+ The behavior is for messages with the selected severity and all higher severities to be included.
+ For example, the Warning setting will allow warning, error, and critical messages to be written to the logging target..
+
+
+
+
+ Looks up a localized string similar to Severity Filter.
+
+
+
+
+ Looks up a localized string similar to The text of the footer to add to the log message..
+
+
+
+
+ Looks up a localized string similar to Message Footer.
+
+
+
+
+ Looks up a localized string similar to The name of the Log Message Formatter to use for formatting the log message before sending it to the logging target..
+
+
+
+
+ Looks up a localized string similar to Formatter Name.
+
+
+
+
+ Looks up a localized string similar to The text of the header to add to the log message..
+
+
+
+
+ Looks up a localized string similar to Message Header.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Listener..
+
+
+
+
+ Looks up a localized string similar to Listener Data Type.
+
+
+
+
+ Looks up a localized string similar to The maximum number of log files to retain. When set to a numeric value, the listener will purge old files based on the file creation date when the number exceeds the specified value..
+
+
+
+
+ Looks up a localized string similar to Max Archived Files.
+
+
+
+
+ Looks up a localized string similar to The name of the Rolling Flat File Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to Determines what occurs to an existing file when it rolls over.
+ Increment means that the listener will create a new file using a name created by incrementing the timestamp.
+ Overwrite means that, if a value for the Timestamp Pattern is not specified, the existing file is overwritten..
+
+
+
+
+ Looks up a localized string similar to File Exists Behavior.
+
+
+
+
+ Looks up a localized string similar to Determines when the log file rolls over. The default is None.
+ Other options are intervals of Midnight, Minute, Hour, Day, Month, or Year.
+ If required, both a maximum file size and a roll interval can be specified..
+
+
+
+
+ Looks up a localized string similar to Roll Interval.
+
+
+
+
+ Looks up a localized string similar to The maximum size of the log file, in kilobytes, before it rolls over. If required, both a maximum file size and a roll interval can be specified..
+
+
+
+
+ Looks up a localized string similar to Roll Size KB.
+
+
+
+
+ Looks up a localized string similar to The date/time format used to create the suffix for the file name, such as 'yyyy-MM-dd'..
+
+
+
+
+ Looks up a localized string similar to Timestamp Pattern.
+
+
+
+
+ Looks up a localized string similar to Listeners that do not output to a Text Formatter use this property to determine which options, or elements, should be included in the trace output.
+ Possible values are: CallStack, DateTime, LogicalOperationStack, None, ProcessId, ThreadId, and Timestamp.
+ The default is None. This property is optional..
+
+
+
+
+ Looks up a localized string similar to Trace Output Options.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Rolling Flat File Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A filter that can be used to specify a logging target for all log messages sent to the Logging Application Block..
+
+
+
+
+ Looks up a localized string similar to All Events Category Filter.
+
+
+
+
+ Looks up a localized string similar to Filters that allow all events, unprocessed events, and logging and working messages to be sent to specified logging target listeners..
+
+
+
+
+ Looks up a localized string similar to Special Category Filters.
+
+
+
+
+ Looks up a localized string similar to A filter that can be used to specify a logging target for log messages when a logging error occurs..
+
+
+
+
+ Looks up a localized string similar to Errors Category Filter.
+
+
+
+
+ Looks up a localized string similar to A filter that can be used to specify a logging target for log messages that do not match any configured category..
+
+
+
+
+ Looks up a localized string similar to Unprocessed Category Filter.
+
+
+
+
+ Looks up a localized string similar to An abstract base class for trace listeners that monitor trace and debug output..
+
+
+
+
+ Looks up a localized string similar to System Diagnostics Trace Listener.
+
+
+
+
+ Looks up a localized string similar to The minimum severity of messages that will be sent to the logging target.
+ Valid values are All (the default), Off, Critical, Error, Warning, Information, Verbose, and Activity Tracing.
+ The behavior is for messages with the selected severity and all higher severities to be included.
+ For example, the Warning setting will allow warning, error, and critical messages to be written to the logging target..
+
+
+
+
+ Looks up a localized string similar to Severity Filter.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Listener..
+
+
+
+
+ Looks up a localized string similar to Listener Data Type.
+
+
+
+
+ Looks up a localized string similar to The name of the System Diagnostics Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to Listeners that do not output to a Text Formatter use this property to determine which options, or elements, should be included in the trace output.
+ Possible values are: CallStack, DateTime, LogicalOperationStack, None, ProcessId, ThreadId, and Timestamp.
+ The default is None. This property is optional..
+
+
+
+
+ Looks up a localized string similar to Trace Output Options.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the System Diagnostics Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to A Log Message Formatter that generates the output for a log message in a text format suitable for use with listeners such as the
+ Flat File, Rolling Flat File, Email, and Event Log Trace Listeners. .
+
+
+
+
+ Looks up a localized string similar to Text Formatter.
+
+
+
+
+ Looks up a localized string similar to The name of the Text Log Message Formatter..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The template used to format the log message. It contains tokens that are replaced by values from the log message.
+ Use the editor to edit the default template and insert tokens and text..
+
+
+
+
+ Looks up a localized string similar to Template.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Text Log Message Formatter..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to The size of the buffer for asynchronous requests. Requests that do not fit in the buffer result in logging errors and are dropped..
+
+
+
+
+ Looks up a localized string similar to Buffer size (asynchronous).
+
+
+
+
+ Looks up a localized string similar to The flag indicating whether the listener should be used asynchronously..
+
+
+
+
+ Looks up a localized string similar to Asynchronous.
+
+
+
+
+ Looks up a localized string similar to The period of time to wait for an asynchronous trace listener to finish processing buffered asynchronous requests, or infinite (expressed as "infinite")..
+
+
+
+
+ Looks up a localized string similar to Dispose Timeout (asynchronous).
+
+
+
+
+ Looks up a localized string similar to The maximum degree of parallelism for processing asynchronous requests for thread safe Trace Listeners. Leave empty to use the processor count..
+
+
+
+
+ Looks up a localized string similar to Degree of parallelism (asynchronous).
+
+
+
+
+ Looks up a localized string similar to A collection of Trace Listeners..
+
+
+
+
+ Looks up a localized string similar to Trace Listener Data Collection.
+
+
+
+
+ Looks up a localized string similar to An abstract base class for all trace listeners..
+
+
+
+
+ Looks up a localized string similar to Trace Listener.
+
+
+
+
+ Looks up a localized string similar to The minimum severity of messages that will be sent to the logging target.
+ Valid values are All (the default), Off, Critical, Error, Warning, Information, Verbose, and Activity Tracing.
+ The behavior is for messages with the selected severity and all higher severities to be included.
+ For example, the Warning setting will allow warning, error, and critical messages to be written to the logging target..
+
+
+
+
+ Looks up a localized string similar to Severity Filter.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Listener..
+
+
+
+
+ Looks up a localized string similar to Listener Data Type.
+
+
+
+
+ Looks up a localized string similar to The name of the Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to Listeners that do not output to a Text Formatter use this property to determine which options, or elements, should be included in the trace output.
+ Possible values are: CallStack, DateTime, LogicalOperationStack, None, ProcessId, ThreadId, and Timestamp.
+ The default is None. This property is optional..
+
+
+
+
+ Looks up a localized string similar to Trace Output Options.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Looks up a localized string similar to The Logging Target Listener to which log entries will be sent..
+
+
+
+
+ Looks up a localized string similar to Trace Listener.
+
+
+
+
+ Looks up a localized string similar to The name of the Logging Target Listener to which log entries will be sent..
+
+
+
+
+ Looks up a localized string similar to Trace Listener Name.
+
+
+
+
+ Looks up a localized string similar to Specifies if the Logging Target Listeners will automatically flush messages to the target as soon as they are received.
+ When set to False, the Listener buffers the messages and sends them to the target in batches or when significant events occur such as the machine shutting down..
+
+
+
+
+ Looks up a localized string similar to Auto Flush.
+
+
+
+
+ Looks up a localized string similar to The severity level for messages that will be logged. Messages sent to the block for this category,
+ and with a lower severity than that specified, will not be logged for this category..
+
+
+
+
+ Looks up a localized string similar to Minimum Severity.
+
+
+
+
+ Looks up a localized string similar to Defines the settings for a Category to which log messages can be assigned.
+ Log messages can be assigned to one or more Categories.
+ Each Category defines how log messages assigned that category will be handled..
+
+
+
+
+ Looks up a localized string similar to Category.
+
+
+
+
+ Looks up a localized string similar to The name of the logging category..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to The list of Logging Target Listeners for this Category or Special Filter..
+
+
+
+
+ Looks up a localized string similar to Listeners.
+
+
+
+
+ Looks up a localized string similar to A logging target listener that writes log messages in XML format to a specified text file..
+
+
+
+
+ Looks up a localized string similar to XML Trace Listener.
+
+
+
+
+ Looks up a localized string similar to The path and name of the disk file to write the log messages to. It can include environment variables such as %WINDIR%, %TEMP%, and %USERPROFILE%..
+
+
+
+
+ Looks up a localized string similar to File Name.
+
+
+
+
+ Looks up a localized string similar to The minimum severity of messages that will be sent to the logging target.
+ Valid values are All (the default), Off, Critical, Error, Warning, Information, Verbose, and Activity Tracing.
+ The behavior is for messages with the selected severity and all higher severities to be included.
+ For example, the Warning setting will allow warning, error, and critical messages to be written to the logging target..
+
+
+
+
+ Looks up a localized string similar to Severity Filter.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the Listener..
+
+
+
+
+ Looks up a localized string similar to Listener Data Type.
+
+
+
+
+ Looks up a localized string similar to The name of the XML Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Name.
+
+
+
+
+ Looks up a localized string similar to Listeners that do not output to a Text Formatter use this property to determine which options, or elements, should be included in the trace output.
+ Possible values are: CallStack, DateTime, LogicalOperationStack, None, ProcessId, ThreadId, and Timestamp.
+ The default is None. This property is optional..
+
+
+
+
+ Looks up a localized string similar to Trace Output Options.
+
+
+
+
+ Looks up a localized string similar to The fully qualified type name of the XML Trace Listener..
+
+
+
+
+ Looks up a localized string similar to Type.
+
+
+
+
+ Builder class used to configure a instance.
+
+
+
+
+ Interface for builder classes used to configure instances.
+
+
+
+
+ Returns the instance that contains the configuration for an instance.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ extensions to configure instances.
+
+
+
+
+
+
+ Creates the configuration builder for a instance.
+
+ Fluent interface extension point.
+ The name of the instance that will be added to configuration.
+
+
+
+
+
+ extensions to configure instances.
+
+
+
+
+
+
+ Adds an instance to the logging configuration.
+
+ Fluent interface extension point.
+ Name of the instance added to configuration.
+
+
+
+
+
+
+
+
+ Fluent interface that allows global logging settings to be configured.
+
+
+
+
+ Fluent interface that allows log categories to be set up.
+
+
+
+
+ Creates a Category Source in the configuration schema with the specified name.
+
+ The name of the Category Source.
+ Fluent interface that allows for this Category Source to be configured further.
+
+
+
+ Returns an interface that can be used to configure special logging categories.
+
+
+
+
+ Disables tracing in the configuration schema.
+ Tracing is enabled by deault.
+
+
+
+
+ Disables temporarily reverting impersonation when logging.
+ Impersonation is temporarily reverted by default.
+
+
+
+
+ Specifies that no warnings should be logged for non-existant categories.
+ Warnings are logged for non-existant categories by default.
+
+
+
+
+ Allows access to the internal configuration classes used to configure the logging application block.
+
+
+
+
+ Returns a fluent interface that can be used to configure global logging application block settings.
+
+
+
+
+ Returns the that are being build up.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Fluent interface used to configure a instance.
+
+
+
+
+
+
+ Specifies that logging is enabled for the specified categories.
+ Disabled for all other categories.
+
+ The categories for which logging should be enabled.
+ Fluent interface for further configuring logging settings.
+
+
+
+
+
+ Specifies that logging is disabled for the specified categories.
+ Enabled for all other categories.
+
+ The categories for which logging should be disabled.
+ Fluent interface for further configuring logging settings.
+
+
+
+
+
+ Builder class used to configure a custom instance.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Fluent interface to further configure a logging category source.
+
+
+
+
+ Fluent interface that allows tracelisteners to be configured for a Category Source.
+
+
+
+
+ Entry point for attaching Trace Listeners to a Category Source.
+
+
+
+
+ Specifed the default for this Category.
+ By default the source level is set to .
+
+ The to be set as default.
+ Fluent interface that allows for this Category Source to be configured further.
+
+
+
+ Specifies that Flush doesnt have to be called after every write to a listener.
+ By default a Flush will be called after every write to a listener.
+
+ Fluent interface that allows for this Category Source to be configured further.
+
+
+
+ Fluent interface that allows settings to be configured for a Category Source.
+
+
+
+
+ Returns a fluent interface for further configuring a logging category.
+
+
+
+
+ Fluent interface used to configure a custom logging category.
+
+
+
+
+ Specifed the default for this Category.
+ By default the source level is set to .
+
+ The to be set as default.
+ Fluent interface that allows for this Category Source to be configured further.
+
+
+
+ Specifies that Flush doesnt have to be called after every write to a listener.
+ By default a Flush will be called after every write to a listener.
+
+ Fluent interface that allows for this Category Source to be configured further.
+
+
+
+ Specifies that this category will be the default category.
+
+ Fluent interface that allows for this Category Source to be configured further.
+
+
+
+ Fluent interface that allows settings to be configured for a custom category source.
+
+
+
+
+ Returns a fluent interface that can be used to further configure a custom category source.
+
+
+
+
+ extensions to configure custom instances.
+
+
+
+
+
+
+ Adds an custom instance of type to the logging configuration.
+
+ Concrete type of the custom instance.
+ Fluent interface extension point.
+ Name of the instance added to configuration.
+
+
+
+
+
+ Adds an custom instance of type to the logging configuration.
+
+ Fluent interface extension point.
+ Name of the instance added to configuration.
+ Concrete type of the custom instance.
+
+
+
+
+
+ Adds an custom instance of type to the logging configuration.
+
+ Concrete type of the custom instance.
+ Fluent interface extension point.
+ Name of the instance added to configuration.
+ Attributes that should be passed to when creating an instance.
+
+
+
+
+
+ Adds an custom instance of type to the logging configuration.
+
+ Fluent interface extension point.
+ Name of the instance added to configuration.
+ Concrete type of the custom instance.
+ Attributes that should be passed to when creating an instance.
+
+
+
+
+
+ Fluent interface used to configure a instance.
+
+
+
+
+
+
+ Specifies that all logging should be enabled.
+ The default for the is that all logging is disabled.
+
+ Fluent interface used to further configure the logging application block.
+
+
+
+
+
+ Fluent interface used to configure a instance.
+
+
+
+
+
+
+ Specifies that log messages with a priority below should not be logged.
+
+ The minimum priority for log messages to pass this filter
+ Fluent interface to further configure this instance.
+
+
+
+
+
+ Specifies that log messages with a priority above should not be logged.
+
+ The maximum priority for log messages to pass this filter
+ Fluent interface to further configure this instance.
+
+
+
+
+
+ Fluent interface used to configure a .
+
+
+
+
+
+
+ Specifies the formatter used to format log messages send by this .
+
+ The used to create an .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the formatter used to format log messages send by this .
+
+ The name of a configured elsewhere in this section.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the that should be used to filter trace output by this .
+
+ The that should be used to filter trace output .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Specifies which options, or elements, should be included in messages send by this .
+
+ The options that should be included in the trace output.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Specifies the intialization data passed to the custom trace listener type.
+
+ The intialization data.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Fluent interface used to specify settings on a .
+
+
+
+
+
+
+ Specifies the smtp server this uses to send email.
+ The default smtp server is 127.0.0.1.
+
+ The smtp server used to send email.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the port on the smtp server used by this to send email.
+ The default smtp server port is 25.
+
+ The smtp server port used to send email.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Specifies the email address of the recipient used by this to send email to.
+
+ The email address of the email recipient.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the email address of the recipient used by this to send email from.
+
+ The email address used to send email from.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the prefix of the subject set on emails send by this .
+
+ The prefix used for subjects on emails.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the postfix of the subject set on emails send by this .
+
+ The postfix used for subjects on emails.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the formatter used to format email messages send by this .
+
+ The used to create an .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the formatter used to format email messages send by this .
+
+ The name of a configured elsewhere in this section.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the that should be used to filter trace output by this .
+
+ The that should be used to filter trace output .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Specifies which options, or elements, should be included in messages send by this .
+
+ The options that should be included in the trace output.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Specifies if the should use SSL when connecting to the mail server.
+
+ true to use SSL to connect, false to use unsecured connection.
+ Fluent interface that can be used to further configure the created .
+
+
+
+ Do not authenticate when logging into the mail server.
+
+ Fluent interface that can be used to further configure the created .
+
+
+
+ Send the current process Windows credentials when logging into the mail server.
+
+ Fluent interface that can be used to further configure the created .
+
+
+
+ Authenticate against the mail server with this user name and password.
+
+ User name to send to mail server.
+ Password to send to mail server.
+ Fluent interface that can be used to further configure the created .
+
+
+
+ Fluent interface used to specify settings on a .
+
+
+
+
+
+
+ Specifies the event log that should be used to send messages to by this .
+
+ The event log that should be used to send messages to.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the machine that should be used to send messages to by this .
+ The default machine is '.'.
+
+ The machine that should be used to send messages to.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the source that should be used when sending messages by this .
+ The default source is 'Enterprise Library Logging'.
+
+ The source that should be used when sending messages.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the formatter used to format log messages send by this .
+
+ The used to create an .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the formatter used to format log messages send by this .
+
+ The name of a configured elsewhere in this section.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+ Specifies the that should be used to filter trace output by this .
+
+ The that should be used to filter trace output .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies which options, or elements, should be included in messages send by this .
+
+ The options that should be included in the trace output.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Fluent interface used to specify settings on a .
+
+
+
+
+
+ Specifies the file name that should be used to send messages to by this .
+ The default file name is 'trace.log'.
+
+ The file name that should be used to send message to.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies a footer for messages that are send to this .
+
+ The footer that should be used when sending messages.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies a header for messages that are send to this .
+
+ The header that should be used when sending messages.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the formatter used to format log messages send by this .
+
+ The used to create an .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the formatter used to format log messages send by this .
+
+ The name of a configured elsewhere in this section.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the that should be used to filter trace output by this .
+
+ The that should be used to filter trace output .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies which options, or elements, should be included in messages send by this .
+
+ The options that should be included in the trace output.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Fluent interface used to specify settings on a .
+
+
+
+
+
+ Specifies the that should be used when sending messages by this .
+ The default is .
+
+ The that should be used.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the maximum time for messages to reach the queue for this .
+ The default is .
+
+ The maximum time for messages to reach the queue.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the maximum time to be received for this .
+ The default is
+
+ The maximum time to be received.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the queue that should be used by this .
+
+ The queue path that should be used.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ TODOC: review
+
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies that messages send to Msmq by this should be encrypted.
+
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies that authentication should be used when sending messages to Msmq by this .
+
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the formatter used to format log messages send by this .
+
+ The used to create an .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the formatter used to format log messages send by this .
+
+ The name of a configured elsewhere in this section.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the that should be used to filter trace output by this .
+
+ The that should be used to filter trace output .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Specifies which options, or elements, should be included in messages send by this .
+
+ The options that should be included in the trace output.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Specifies the that will be used to send messages to msmq by this .
+ The default priority is
+
+ The that will be used to send messages to msmq.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Fluent interface used to specify settings on a .
+
+
+
+
+
+
+ Specifies the time interval used for rolling of the .
+
+ The time interval used for rolling.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the behavior that should be used when a file already exists.
+
+ The behavior that should be used when a file already exists.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the threshold in file size used for rolling of the .
+
+ The threshold in file size used for rolling.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the timestamp pattern used to create an archived file by the .
+
+ The timestamp pattern used to create an archived file when logging.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the footer used when logging by the .
+
+ The footer used by logging.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the header used when logging by the .
+
+ The header used by logging.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the filename used to log to by the .
+ The default is rolling.log.
+
+ The filename used to log.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the formatter used to format log messages send by this .
+
+ The used to create an .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the formatter used to format log messages send by this .
+
+ The name of a configured elsewhere in this section.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the that should be used to filter trace output by this .
+
+ The that should be used to filter trace output .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Specifies which options, or elements, should be included in messages send by this .
+
+ The options that should be included in the trace output.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Specifies the maximum number of archived files for this .
+
+ the maximum number of archived files for this .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Fluent interface used to configure a instance.
+
+
+
+
+
+
+ Specifies the type of that should be used to log messages.
+
+ The type of that should be used to log messages.
+
+
+
+
+
+ Specifies the type of that should be used to log messages.
+
+ The type of that should be used to log messages.
+
+
+
+
+
+ Specifies the initialization data, which, when specified will be passed to the 's contructor.
+
+ The used as initizalition data.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the that should be used to filter trace output by this .
+
+ The that should be used to filter trace output .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Specifies which options, or elements, should be included in messages send by this .
+
+ The options that should be included in the trace output.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Fluent interface used to specify settings on a .
+
+
+
+
+
+
+ Specifies the filename used to log to by the .
+ The default is trace-xml.log.
+
+ The filename used to log.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Specifies the that should be used to filter trace output by this .
+
+ The that should be used to filter trace output .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Specifies which options, or elements, should be included in messages send by this .
+
+ The options that should be included in the trace output.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+
+ Fluent interface used to configure pre defined logging categories.
+
+
+
+
+ Returns an interface to configure the category source used for internal errors and warnings.
+
+
+
+
+ Returns an interface to configure the category source used to log messages that could not be processed
+
+
+
+
+ Returns an interface to configure the category source used to log all events.
+
+
+
+
+ Fluent interface used to configure a instance.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ extensions to configure custom instances.
+
+
+
+
+
+
+ Adds an custom instance of type to the logging configuration.
+
+ Concrete type of the custom instance.
+ Fluent interface extension point.
+ Name of the instance added to configuration.
+
+
+
+
+
+ Adds an custom instance of type to the logging configuration.
+
+ Fluent interface extension point.
+ Name of the instance added to configuration.
+ Concrete type of the custom instance.
+
+
+
+
+
+ Adds an custom instance of type to the logging configuration.
+
+ Concrete type of the custom instance.
+ Fluent interface extension point.
+ Name of the instance added to configuration.
+ Attributes that should be passed to when creating an instance.
+
+
+
+
+
+ Adds an custom instance of type to the logging configuration.
+
+ Fluent interface extension point.
+ Name of the instance added to configuration.
+ Concrete type of the custom instance.
+ Attributes that should be passed to when creating an instance.
+
+
+
+
+
+ Entry point for configuring instances of .
+
+
+
+
+ Creates an instance of , which functions as an entry point to configure instances of .
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Allows access to the configuration classes used to configure instances.
+
+
+
+
+ Returns an interface that can be used to configure a logging category.
+
+
+
+
+ Returns the logging category configuration currently being build up.
+
+
+
+
+ Fluent interface that allows tracelisteners to be configured.
+
+
+
+
+ Creates a reference to an existing Trace Listener with a specific name.
+
+ The name of the Trace Listener a reference should be made for.
+
+
+
+ Extension methods to support configuration of .
+
+
+
+
+ Adds a new to the logging settings and creates
+ a reference to this Trace Listener for the current category source.
+
+ Fluent interface extension point.
+ The name of the .
+ The concrete type of that should be added to the configuration.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+ Adds a new to the logging settings and creates
+ a reference to this Trace Listener for the current category source.
+
+ The concrete type of that should be added to the configuration.
+ Fluent interface extension point.
+ The name of the .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+ Adds a new to the logging settings and creates
+ a reference to this Trace Listener for the current category source.
+
+ The concrete type of that should be added to the configuration.
+ Fluent interface extension point.
+ The name of the .
+ Attributes that should be passed to when creating an instance.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+ Adds a new to the logging settings and creates
+ a reference to this Trace Listener for the current category source.
+
+ Fluent interface extension point.
+ The name of the .
+ The concrete type of that should be added to the configuration.
+ Attributes that should be passed to when creating an instance.
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+ Base Class for extension points that configure Trace Listeners within Category Sources.
+
+
+
+
+ Creates a new instance of .
+
+ The fluent interface extesion used to configure Trace Listeners.
+ Must implement .
+
+
+
+
+ Adds a instance to the logging settings and adds a to the current Category Source.
+
+ The that sould be added to configuration.
+
+
+
+ The Configuration Section that is currently being build.
+
+
+
+
+ The Configuration Section that is currently being build.
+
+
+
+
+ Extension methods to support configuration of .
+
+
+
+
+ Adds a new to the logging settings and creates
+ a reference to this Trace Listener for the current category source.
+
+ Fluent interface extension point.
+ The name of the .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+ Extension methods to support configuration of .
+
+
+
+
+ Adds a new to the logging settings and creates
+ a reference to this Trace Listener for the current category source.
+
+ Fluent interface extension point.
+ The name of the .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+ Extension methods to support configuration of .
+
+
+
+
+ Adds a new to the logging settings and creates
+ a reference to this Trace Listener for the current category source.
+
+ Fluent interface extension point.
+ The name of the .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+ Extension methods to support configuration of .
+
+
+
+
+ Adds a new to the logging settings and creates
+ a reference to this Trace Listener for the current category source.
+
+ Fluent interface extension point.
+ The name of the .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+ Extension methods to support configuration of .
+
+
+
+
+ Adds a new to the logging settings and creates
+ a reference to this Trace Listener for the current category source.
+
+ Fluent interface extension point.
+ The name of the .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+ Extension methods to support configuration of .
+
+
+
+
+ Adds a new to the logging settings and creates
+ a reference to this Trace Listener for the current category source.
+
+ Fluent interface extension point.
+ The name of the .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Extension methods to support configuration of .
+
+
+
+
+ Adds a new to the logging settings and creates
+ a reference to this Trace Listener for the current category source.
+
+ Fluent interface extension point.
+ The name of the .
+ Fluent interface that can be used to further configure the created .
+
+
+
+
+
+ Fluent interface that allows global logging settings to be configured.
+
+
+
+
+ Returns an fluent interface that can be used to further configure logging settings.
+
+
+
+
+ extensions to support creation of logging configuration sections.
+
+
+
+
+ Main entry point to configuration a section.
+
+ The builder interface to extend.
+
+
+
+
+ Builder class used to configure a instance.
+
+
+
+
+
+
+ Specifies the text template that should be used when formatting a log message.
+
+ The text template that should be used when formatting a log message.
+
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ Redeclaration that hides the method from IntelliSense.
+
+
+
+
+ extensions to configure instances.
+
+
+
+
+
+
+
+ Creates the configuration builder for a instance.
+
+ Fluent interface extension point.
+ The name of the instance that will be added to configuration.
+
+
+
+
+
+ Instance based class to write log messages based on a given configuration.
+ Messages are routed based on category.
+
+
+
+ To write log messages to the default configuration, use the facade.
+
+
+ The works as an entry point to the trace listeners.
+ It will trace the through the s associated with the s
+ for all the matching categories in the elements of the property of the log entry.
+ If the "all events" special log source is configured, the log entry will be traced through the log source regardles of other categories
+ that might have matched.
+ If the "all events" special log source is not configured and the "unprocessed categories" special log source is configured,
+ and the category specified in the logEntry being logged is not defined, then the logEntry will be logged to the "unprocessed categories"
+ special log source.
+ If both the "all events" and "unprocessed categories" special log sources are not configured and the property LogWarningsWhenNoCategoriesMatch
+ is set to true, then the logEntry is logged to the "logging errors and warnings" special log source.
+
+
+
+
+
+ EventID used on LogEntries that occur when internal LogWriter mechanisms fail.
+
+
+
+
+ Initializes a new instance of the class with the specified configuration.
+
+ The configuration to use.
+
+
+
+ Initializes a new instance of the class with the specified filters, trace sources, and default category.
+
+ The collection of filters to use when processing an entry.
+ The trace sources to dispatch entries to.
+ The special to which internal errors must be logged.
+ The default category to set when the entry categories list is empty.
+
+
+
+ Initializes a new instance of the class with the specified filters, trace sources, default category, and tracing options.
+
+ The collection of filters to use when processing an entry.
+ The trace sources to dispatch entries to.
+ The special to which all log entries should be logged.
+ The special to which log entries with at least one non-matching category should be logged.
+ The special to which internal errors must be logged.
+ The default category to set when the entry categories list of a log entry is empty.
+ The tracing status.
+ to log warnings when a non-matching category is found; otherwise, .
+
+
+
+ Initializes a new instance of the class with the specified filters, trace sources, default category, tracing options, and impersonation option.
+
+ The collection of filters to use when processing an entry.
+ The trace sources to dispatch entries to.
+ The special to which all log entries should be logged.
+ The special to which log entries with at least one non-matching category should be logged.
+ The special to which internal errors must be logged.
+ The default category to set when the entry categories list of a log entry is empty.
+ The tracing status.
+ to log warnings when a non-matching category is found; otherwise, .
+ to revert impersonation while logging; otherwise, .
+
+
+
+ Initializes a new instance of the class with the specified filters, trace sources, and default category.
+
+ The collection of filters to use when processing an entry.
+ The trace sources to dispatch entries to.
+ The special to which internal errors must be logged.
+ The default category to set when the entry categories list is empty.
+
+
+
+ Initializes a new instance of the class with the specified filters, trace sources, default category, tracing options, and warning options.
+
+ The collection of filters to use when processing an entry.
+ The trace sources to dispatch entries to.
+ The special to which all log entries should be logged.
+ The special to which log entries with at least one non-matching category should be logged.
+ The special to which internal errors must be logged.
+ The default category to set when the entry categories list is empty.
+ The tracing status.
+ to log warnings when a non-matching category is found; otherwise, .
+
+
+
+ Initializes a new instance of the class with the specified logging stack.
+
+ The initial implementation of the logging stack
+
+
+
+ Configures the object.
+
+
+ Logging is delayed until the configuration changes are applied.
+
+ An action that configures the log writer.
+
+
+
+ Releases the resources used by the .
+
+ "> to release managed and unmanaged resources; to release only unmanaged resources.
+
+
+
+ Releases the resources used by the .
+
+
+
+
+ Finalizes an instance of the class.
+
+
+
+
+ Returns the collection of s that matches the collection of categories provided.
+
+ The log entry.
+ The matching objects.
+
+
+
+ This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
+ Performs any action to handle an error during checking.
+
+ The exception that was raised during filter evaluation.
+ The log entry that was evaluated.
+ The filter that raised the exception.
+ , to indicate that processing should continue.
+
+
+
+ Returns the filter of type .
+
+ The type of filter requiered.
+ The instance of in the filters collection, or
+ if there is no such instance.
+
+
+
+ Returns the filter of type named .
+
+ The type of filter required.
+ The name of the filter required.
+ The instance of named in
+ the filters collection, or if there is no such instance.
+
+
+
+ Returns the filter named .
+
+ The name of the filter required.
+ The filter named in
+ the filters collection, or if there is no such filter.
+
+
+
+ Gets a list of objects for the log entry.
+
+ The to get the matching trace sources.
+ A collection of objects.
+
+
+
+ Queries whether logging is enabled.
+
+ true if logging is enabled.
+
+
+
+ Queries whether tracing is enabled.
+
+ true if tracing is enabled.
+
+
+
+ Checks to determine whether impersonation is in place, and if so, reverts it and returns
+ the impersonation context that must be used to undo the revert.
+
+
+
+
+ Queries whether the specified should be logged.
+
+ The log entry to check.
+ if the entry should be logged; otherwise, .
+
+
+
+ Writes the specified log entry.
+
+ The log entry to write.
+
+
+
+ Empties the dictionary of context items.
+
+
+
+
+ Adds a key/value pair to the dictionary.
+ Context items will be recorded with every log entry.
+
+ Hashtable key
+ Value. Objects will be serialized.
+ The following example demonstrates use of the AddContextItem method.
+ Logger.SetContextItem("SessionID", myComponent.SessionId);
+
+
+
+ Write a new log entry to the default category.
+
+
+ Write a new log entry to the default category.
+
+ Message body to log. Value from ToString() method from message object.
+
+
+
+ Write a new log entry to a specific category.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+
+
+
+ Write a new log entry with a specific category and priority.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+
+
+
+ Write a new log entry with a specific category, priority and event id.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+
+
+
+ Write a new log entry with a specific category, priority, event id and severity.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log entry severity as a enumeration. (Unspecified, Information, Warning or Error).
+
+
+
+ Write a new log entry with a specific category, priority, event id, severity
+ and title.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log message severity as a enumeration. (Unspecified, Information, Warning or Error).
+ Additional description of the log entry message
+
+
+
+ Write a new log entry and a dictionary of extended properties.
+
+ Message body to log. Value from ToString() method from message object.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry to a specific category with a dictionary
+ of extended properties.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry to with a specific category, priority and a dictionary
+ of extended properties.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry with a specific category, priority, event Id, severity
+ title and dictionary of extended properties.
+
+ The following example demonstrates use of the Write method with
+ a full set of parameters.
+
+ Message body to log. Value from ToString() method from message object.
+ Category name used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log message severity as a enumeration. (Unspecified, Information, Warning or Error).
+ Additional description of the log entry message.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry to a specific collection of categories.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+
+
+
+ Write a new log entry with a specific collection of categories and priority.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+
+
+
+ Write a new log entry with a specific collection of categories, priority and event id.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+
+
+
+ Write a new log entry with a specific collection of categories, priority, event id and severity.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log entry severity as a enumeration.
+ (Unspecified, Information, Warning or Error).
+
+
+
+ Write a new log entry with a specific collection of categories, priority, event id, severity
+ and title.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log message severity as a enumeration. (Unspecified, Information, Warning or Error).
+ Additional description of the log entry message
+
+
+
+ Write a new log entry to a specific collection of categories with a dictionary of extended properties.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry to with a specific collection of categories, priority and a dictionary
+ of extended properties.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Dictionary of key/value pairs to log.
+
+
+
+ Write a new log entry with a specific category, priority, event Id, severity
+ title and dictionary of extended properties.
+
+ Message body to log. Value from ToString() method from message object.
+ Category names used to route the log entry to a one or more trace listeners.
+ Only messages must be above the minimum priority are processed.
+ Event number or identifier.
+ Log message severity as a enumeration. (Unspecified, Information, Warning or Error).
+ Additional description of the log entry message.
+ Dictionary of key/value pairs to log.
+
+
+
+ Gets the mappings available for the .
+
+
+
+
+ Formats an instance for with a sequence of instances.
+
+
+
+ A formatter will convert a template into a sequence of instances with the help
+ of a set of instances that help parse the tokens in the template.
+
+
+ The character '{' is used to determine the start of a token, and token handlers perform the actual parsing of
+ each token.
+
+
+ The type of object to format.
+
+
+
+ Initializes a new instance of with a template and a set of
+ token handlers.
+
+ The template to use when
+ The handlers to use when parsing the template.
+
+
+
+ Utility method to create a handler for tokens without parameters that parse a template into a formatter
+ for a constant string.
+
+ The constant for the token handler's formatter
+ A token handler.
+
+
+
+ Utility method to create a handler for tokens without parameters that parse a template into a given formatter.
+
+ The formatter to be returned by the created token handler.
+ A token handler.
+
+
+
+ Utility method to create a handler for tokens with parameters surrounded by parenthesis.
+
+ The factory delegate to create a formatter based on the token parameter.
+ A token handler.
+
+
+
+ Formats based on the template specified for the formatter.
+
+ The instance to format.
+ The result of formatting the instance.
+
+
+
+ Transforms a token definition from a string template into a .
+
+
+
+ A token handler gets control of the template parsing process right after the token name has been consumed,
+ and consumes the rest of the token definition advancing the pointer to the end
+ of the token.
+
+
+ If the text following the token name cannot be parsed into the expected token, the
+ should still be updated and should be returned.
+
+
+ The type to format.
+ The template being parsed.
+ The current index in the template.
+ The representing the token, or if the parsing of the token
+ was not successful.
+
+
+
+ Returns a string representation of
+
+ The type to format.
+ The instance to format.
+ A string representing .
+
+
+
+ Creates a based on a .
+
+
+ This delegate is used by .
+
+ The type to format.
+ The parameter to use when creating a formatter, extracted from the token on a template.
+ The based on the parameter.
+
+
+
+ This enumeration defines the options that the
+ can use to authenticate to the STMP server.
+
+
+
+
+ No authentication
+
+
+
+
+ Use the Windows credentials for the current process
+
+
+
+
+ Pass a user name and password
+
+
+
+
+ Purges archive files generated by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The folder where archive files are kept.
+ The base name for archive files.
+ The number of archive files to keep.
+
+
+
+ Purges archive files.
+
+
+
+
+ Extracts the sequence number from an archive file name.
+
+ The archive file name.
+ The sequence part of the file name.
+
+
+
diff --git a/packages/EnterpriseLibrary.Logging.6.0.1304.0/tools/Utils.psm1 b/packages/EnterpriseLibrary.Logging.6.0.1304.0/tools/Utils.psm1
new file mode 100644
index 0000000..37fdb65
Binary files /dev/null and b/packages/EnterpriseLibrary.Logging.6.0.1304.0/tools/Utils.psm1 differ
diff --git a/packages/EnterpriseLibrary.Logging.6.0.1304.0/tools/install.ps1 b/packages/EnterpriseLibrary.Logging.6.0.1304.0/tools/install.ps1
new file mode 100644
index 0000000..153090b
Binary files /dev/null and b/packages/EnterpriseLibrary.Logging.6.0.1304.0/tools/install.ps1 differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/Extended.Wpf.Toolkit.3.0.nupkg b/packages/Extended.Wpf.Toolkit.3.0/Extended.Wpf.Toolkit.3.0.nupkg
new file mode 100644
index 0000000..b74b20d
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/Extended.Wpf.Toolkit.3.0.nupkg differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net35/WPFToolkit.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net35/WPFToolkit.dll
new file mode 100644
index 0000000..89b123c
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net35/WPFToolkit.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net35/Xceed.Wpf.Toolkit.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net35/Xceed.Wpf.Toolkit.dll
new file mode 100644
index 0000000..332803c
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net35/Xceed.Wpf.Toolkit.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.AvalonDock.Themes.Aero.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.AvalonDock.Themes.Aero.dll
new file mode 100644
index 0000000..fac8c15
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.AvalonDock.Themes.Aero.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.AvalonDock.Themes.Metro.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.AvalonDock.Themes.Metro.dll
new file mode 100644
index 0000000..fd3347c
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.AvalonDock.Themes.Metro.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.AvalonDock.Themes.VS2010.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.AvalonDock.Themes.VS2010.dll
new file mode 100644
index 0000000..23a4774
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.AvalonDock.Themes.VS2010.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.AvalonDock.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.AvalonDock.dll
new file mode 100644
index 0000000..1e7747d
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.AvalonDock.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.DataGrid.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.DataGrid.dll
new file mode 100644
index 0000000..82f70fb
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.DataGrid.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.Toolkit.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.Toolkit.dll
new file mode 100644
index 0000000..4355476
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/Xceed.Wpf.Toolkit.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/de/Xceed.Wpf.AvalonDock.resources.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/de/Xceed.Wpf.AvalonDock.resources.dll
new file mode 100644
index 0000000..cd0ca7d
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/de/Xceed.Wpf.AvalonDock.resources.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/es/Xceed.Wpf.AvalonDock.resources.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/es/Xceed.Wpf.AvalonDock.resources.dll
new file mode 100644
index 0000000..d573764
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/es/Xceed.Wpf.AvalonDock.resources.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/fr/Xceed.Wpf.AvalonDock.resources.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/fr/Xceed.Wpf.AvalonDock.resources.dll
new file mode 100644
index 0000000..be4402a
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/fr/Xceed.Wpf.AvalonDock.resources.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/hu/Xceed.Wpf.AvalonDock.resources.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/hu/Xceed.Wpf.AvalonDock.resources.dll
new file mode 100644
index 0000000..99f7737
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/hu/Xceed.Wpf.AvalonDock.resources.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/it/Xceed.Wpf.AvalonDock.resources.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/it/Xceed.Wpf.AvalonDock.resources.dll
new file mode 100644
index 0000000..ec240ae
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/it/Xceed.Wpf.AvalonDock.resources.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/pt-BR/Xceed.Wpf.AvalonDock.resources.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/pt-BR/Xceed.Wpf.AvalonDock.resources.dll
new file mode 100644
index 0000000..ffab271
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/pt-BR/Xceed.Wpf.AvalonDock.resources.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/ro/Xceed.Wpf.AvalonDock.resources.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/ro/Xceed.Wpf.AvalonDock.resources.dll
new file mode 100644
index 0000000..c0676e8
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/ro/Xceed.Wpf.AvalonDock.resources.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/ru/Xceed.Wpf.AvalonDock.resources.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/ru/Xceed.Wpf.AvalonDock.resources.dll
new file mode 100644
index 0000000..79b9587
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/ru/Xceed.Wpf.AvalonDock.resources.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/sv/Xceed.Wpf.AvalonDock.resources.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/sv/Xceed.Wpf.AvalonDock.resources.dll
new file mode 100644
index 0000000..774f7dd
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/sv/Xceed.Wpf.AvalonDock.resources.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/lib/net40/zh-Hans/Xceed.Wpf.AvalonDock.resources.dll b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/zh-Hans/Xceed.Wpf.AvalonDock.resources.dll
new file mode 100644
index 0000000..dafd261
Binary files /dev/null and b/packages/Extended.Wpf.Toolkit.3.0/lib/net40/zh-Hans/Xceed.Wpf.AvalonDock.resources.dll differ
diff --git a/packages/Extended.Wpf.Toolkit.3.0/tools/install.ps1 b/packages/Extended.Wpf.Toolkit.3.0/tools/install.ps1
new file mode 100644
index 0000000..08c849a
--- /dev/null
+++ b/packages/Extended.Wpf.Toolkit.3.0/tools/install.ps1
@@ -0,0 +1,3 @@
+param($installPath, $toolsPath, $package, $project)
+
+$project.DTE.ItemOperations.Navigate('http://wpftoolkit.codeplex.com/')
\ No newline at end of file
diff --git a/packages/Microsoft.Bcl.1.1.9/License-Stable.rtf b/packages/Microsoft.Bcl.1.1.9/License-Stable.rtf
new file mode 100644
index 0000000..3aec6b6
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/License-Stable.rtf
@@ -0,0 +1,118 @@
+{\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
new file mode 100644
index 0000000..7825d24
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/Microsoft.Bcl.1.1.9.nupkg differ
diff --git a/packages/Microsoft.Bcl.1.1.9/content/monoandroid/_._ b/packages/Microsoft.Bcl.1.1.9/content/monoandroid/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/content/monotouch/_._ b/packages/Microsoft.Bcl.1.1.9/content/monotouch/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/content/net45/_._ b/packages/Microsoft.Bcl.1.1.9/content/net45/_._
new file mode 100644
index 0000000..e69de29
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/_._
new file mode 100644
index 0000000..e69de29
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/_._
new file mode 100644
index 0000000..e69de29
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/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/content/portable-net451+win81/_._ b/packages/Microsoft.Bcl.1.1.9/content/portable-net451+win81/_._
new file mode 100644
index 0000000..e69de29
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/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/content/sl4/_._ b/packages/Microsoft.Bcl.1.1.9/content/sl4/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/content/sl5/_._ b/packages/Microsoft.Bcl.1.1.9/content/sl5/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/content/win8/_._ b/packages/Microsoft.Bcl.1.1.9/content/win8/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/content/wp8/_._ b/packages/Microsoft.Bcl.1.1.9/content/wp8/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/content/wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/content/wpa81/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/lib/monoandroid/_._ b/packages/Microsoft.Bcl.1.1.9/lib/monoandroid/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/lib/monotouch/_._ b/packages/Microsoft.Bcl.1.1.9/lib/monotouch/_._
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..578c237
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.dll 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
new file mode 100644
index 0000000..865aa1a
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.xml
@@ -0,0 +1,8 @@
+
+
+
+ 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
new file mode 100644
index 0000000..f46c958
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.dll 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
new file mode 100644
index 0000000..93cb00d
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.xml
@@ -0,0 +1,56 @@
+
+
+
+ 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
new file mode 100644
index 0000000..4a865fc
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.dll 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
new file mode 100644
index 0000000..b47921e
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.xml
@@ -0,0 +1,475 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net45/_._ b/packages/Microsoft.Bcl.1.1.9/lib/net45/_._
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..db436e6
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.dll 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
new file mode 100644
index 0000000..e832734
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.xml
@@ -0,0 +1,51 @@
+
+
+
+ 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
new file mode 100644
index 0000000..88e07e2
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.dll 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
new file mode 100644
index 0000000..53f5bef
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.xml
@@ -0,0 +1,860 @@
+
+
+
+ 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
new file mode 100644
index 0000000..23d6d1a
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.dll 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
new file mode 100644
index 0000000..6c77012
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.xml
@@ -0,0 +1,8969 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..db436e6
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.dll 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
new file mode 100644
index 0000000..e832734
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.xml
@@ -0,0 +1,51 @@
+
+
+
+ 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
new file mode 100644
index 0000000..f46c958
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.dll 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
new file mode 100644
index 0000000..93cb00d
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.xml
@@ -0,0 +1,56 @@
+
+
+
+ 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
new file mode 100644
index 0000000..23d6d1a
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.dll 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
new file mode 100644
index 0000000..6c77012
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.xml
@@ -0,0 +1,8969 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..db436e6
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.dll 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
new file mode 100644
index 0000000..e832734
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.xml
@@ -0,0 +1,51 @@
+
+
+
+ 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
new file mode 100644
index 0000000..f46c958
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.dll 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
new file mode 100644
index 0000000..93cb00d
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.xml
@@ -0,0 +1,56 @@
+
+
+
+ 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
new file mode 100644
index 0000000..23d6d1a
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.dll 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
new file mode 100644
index 0000000..6c77012
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.xml
@@ -0,0 +1,8969 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..db436e6
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.dll 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
new file mode 100644
index 0000000..e832734
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.xml
@@ -0,0 +1,51 @@
+
+
+
+ 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
new file mode 100644
index 0000000..f46c958
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.dll 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
new file mode 100644
index 0000000..93cb00d
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.xml
@@ -0,0 +1,56 @@
+
+
+
+ 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
new file mode 100644
index 0000000..4a865fc
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.dll 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
new file mode 100644
index 0000000..b47921e
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.xml
@@ -0,0 +1,475 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..db436e6
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.dll 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
new file mode 100644
index 0000000..e832734
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.xml
@@ -0,0 +1,51 @@
+
+
+
+ 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
new file mode 100644
index 0000000..f46c958
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.dll 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
new file mode 100644
index 0000000..93cb00d
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.xml
@@ -0,0 +1,56 @@
+
+
+
+ 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
new file mode 100644
index 0000000..4a865fc
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.dll 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
new file mode 100644
index 0000000..b47921e
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.xml
@@ -0,0 +1,475 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..578c237
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.dll 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
new file mode 100644
index 0000000..865aa1a
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.xml
@@ -0,0 +1,8 @@
+
+
+
+ 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
new file mode 100644
index 0000000..f46c958
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.dll 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
new file mode 100644
index 0000000..93cb00d
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.xml
@@ -0,0 +1,56 @@
+
+
+
+ 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
new file mode 100644
index 0000000..4a865fc
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.dll 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
new file mode 100644
index 0000000..b47921e
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.xml
@@ -0,0 +1,475 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
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/_._
new file mode 100644
index 0000000..e69de29
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/_._
new file mode 100644
index 0000000..e69de29
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/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net451+win81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net451+win81/_._
new file mode 100644
index 0000000..e69de29
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/_._
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..db436e6
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.dll 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
new file mode 100644
index 0000000..e832734
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.xml
@@ -0,0 +1,51 @@
+
+
+
+ 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
new file mode 100644
index 0000000..88e07e2
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.dll 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
new file mode 100644
index 0000000..53f5bef
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.xml
@@ -0,0 +1,860 @@
+
+
+
+ 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
new file mode 100644
index 0000000..23d6d1a
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.dll 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
new file mode 100644
index 0000000..6c77012
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.xml
@@ -0,0 +1,8969 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..db436e6
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.dll 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
new file mode 100644
index 0000000..e832734
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.xml
@@ -0,0 +1,51 @@
+
+
+
+ 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
new file mode 100644
index 0000000..f46c958
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.dll 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
new file mode 100644
index 0000000..93cb00d
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.xml
@@ -0,0 +1,56 @@
+
+
+
+ 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
new file mode 100644
index 0000000..23d6d1a
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.dll 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
new file mode 100644
index 0000000..6c77012
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.xml
@@ -0,0 +1,8969 @@
+
+
+
+ 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
new file mode 100644
index 0000000..db436e6
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.dll 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
new file mode 100644
index 0000000..e832734
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.xml
@@ -0,0 +1,51 @@
+
+
+
+ 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
new file mode 100644
index 0000000..f46c958
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.dll 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
new file mode 100644
index 0000000..93cb00d
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.xml
@@ -0,0 +1,56 @@
+
+
+
+ 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
new file mode 100644
index 0000000..4a865fc
Binary files /dev/null and b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.dll 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
new file mode 100644
index 0000000..b47921e
--- /dev/null
+++ b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.xml
@@ -0,0 +1,475 @@
+
+
+
+ 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/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/lib/wp8/_._ b/packages/Microsoft.Bcl.1.1.9/lib/wp8/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.1.1.9/lib/wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/wpa81/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/Microsoft.Bcl.Build.1.0.21/License-Stable.rtf b/packages/Microsoft.Bcl.Build.1.0.21/License-Stable.rtf
new file mode 100644
index 0000000..3aec6b6
--- /dev/null
+++ b/packages/Microsoft.Bcl.Build.1.0.21/License-Stable.rtf
@@ -0,0 +1,118 @@
+{\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.21/Microsoft.Bcl.Build.1.0.21.nupkg b/packages/Microsoft.Bcl.Build.1.0.21/Microsoft.Bcl.Build.1.0.21.nupkg
new file mode 100644
index 0000000..2ce3e31
Binary files /dev/null and b/packages/Microsoft.Bcl.Build.1.0.21/Microsoft.Bcl.Build.1.0.21.nupkg differ
diff --git a/packages/Microsoft.Bcl.Build.1.0.21/build/Microsoft.Bcl.Build.Tasks.dll b/packages/Microsoft.Bcl.Build.1.0.21/build/Microsoft.Bcl.Build.Tasks.dll
new file mode 100644
index 0000000..5c71879
Binary files /dev/null and b/packages/Microsoft.Bcl.Build.1.0.21/build/Microsoft.Bcl.Build.Tasks.dll differ
diff --git a/packages/Microsoft.Bcl.Build.1.0.21/build/Microsoft.Bcl.Build.targets b/packages/Microsoft.Bcl.Build.1.0.21/build/Microsoft.Bcl.Build.targets
new file mode 100644
index 0000000..0e04159
--- /dev/null
+++ b/packages/Microsoft.Bcl.Build.1.0.21/build/Microsoft.Bcl.Build.targets
@@ -0,0 +1,250 @@
+
+
+
+ true
+
+
+
+
+ false
+
+
+ $(ProjectConfigFileName)
+
+
+
+
+
+ <_FullFrameworkReferenceAssemblyPaths>$(TargetFrameworkDirectory)
+
+
+
+
+
+ <__IntermediateAppConfig>$(IntermediateOutputPath)$(MSBuildProjectFile).App.config
+ true
+
+
+
+ false
+ true
+
+
+
+
+ true
+ 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.Net.Http.2.2.28/License-Stable.rtf b/packages/Microsoft.Net.Http.2.2.28/License-Stable.rtf
new file mode 100644
index 0000000..3aec6b6
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/License-Stable.rtf
@@ -0,0 +1,118 @@
+{\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
new file mode 100644
index 0000000..d885710
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/Microsoft.Net.Http.2.2.28.nupkg 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
new file mode 100644
index 0000000..1190940
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Extensions.XML
@@ -0,0 +1,50 @@
+
+
+
+ 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
new file mode 100644
index 0000000..1aef22e
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Extensions.dll 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
new file mode 100644
index 0000000..48679fa
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Primitives.dll 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
new file mode 100644
index 0000000..53640c6
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/monoandroid/System.Net.Http.Primitives.xml
@@ -0,0 +1,8 @@
+
+
+
+ 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
new file mode 100644
index 0000000..1190940
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Extensions.XML
@@ -0,0 +1,50 @@
+
+
+
+ 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
new file mode 100644
index 0000000..1aef22e
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Extensions.dll 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
new file mode 100644
index 0000000..48679fa
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Primitives.dll 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
new file mode 100644
index 0000000..53640c6
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/monotouch/System.Net.Http.Primitives.xml
@@ -0,0 +1,8 @@
+
+
+
+ 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
new file mode 100644
index 0000000..1190940
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Extensions.XML
@@ -0,0 +1,50 @@
+
+
+
+ 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
new file mode 100644
index 0000000..1aef22e
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Extensions.dll 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
new file mode 100644
index 0000000..2a50fbe
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Primitives.dll 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
new file mode 100644
index 0000000..53640c6
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.Primitives.xml
@@ -0,0 +1,8 @@
+
+
+
+ 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
new file mode 100644
index 0000000..038e032
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.WebRequest.dll 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
new file mode 100644
index 0000000..c87a734
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.WebRequest.xml
@@ -0,0 +1,52 @@
+
+
+
+ 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
new file mode 100644
index 0000000..2cee3d6
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.dll 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
new file mode 100644
index 0000000..940e260
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/net40/System.Net.Http.xml
@@ -0,0 +1,1581 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..1190940
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Extensions.XML
@@ -0,0 +1,50 @@
+
+
+
+ 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
new file mode 100644
index 0000000..1aef22e
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Extensions.dll 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
new file mode 100644
index 0000000..48679fa
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Primitives.dll 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
new file mode 100644
index 0000000..53640c6
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/net45/System.Net.Http.Primitives.xml
@@ -0,0 +1,8 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..1190940
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Extensions.XML
@@ -0,0 +1,50 @@
+
+
+
+ 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
new file mode 100644
index 0000000..aecc82e
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Extensions.dll 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
new file mode 100644
index 0000000..fb77470
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Primitives.XML
@@ -0,0 +1,58 @@
+
+
+
+ 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
new file mode 100644
index 0000000..3a26074
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.Primitives.dll 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
new file mode 100644
index 0000000..f69b4fc
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.dll 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
new file mode 100644
index 0000000..940e260
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net40+sl4+win8+wp71+wpa81/System.Net.Http.xml
@@ -0,0 +1,1581 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..1190940
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Extensions.XML
@@ -0,0 +1,50 @@
+
+
+
+ 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
new file mode 100644
index 0000000..aecc82e
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Extensions.dll 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
new file mode 100644
index 0000000..48679fa
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Primitives.dll 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
new file mode 100644
index 0000000..53640c6
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8+wpa81/System.Net.Http.Primitives.xml
@@ -0,0 +1,8 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..1190940
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Extensions.XML
@@ -0,0 +1,50 @@
+
+
+
+ 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
new file mode 100644
index 0000000..1aef22e
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Extensions.dll 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
new file mode 100644
index 0000000..48679fa
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Primitives.dll 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
new file mode 100644
index 0000000..53640c6
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/portable-net45+win8/System.Net.Http.Primitives.xml
@@ -0,0 +1,8 @@
+
+
+
+ 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
new file mode 100644
index 0000000..e69de29
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
new file mode 100644
index 0000000..1190940
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Extensions.XML
@@ -0,0 +1,50 @@
+
+
+
+ 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
new file mode 100644
index 0000000..aecc82e
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Extensions.dll 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
new file mode 100644
index 0000000..fb77470
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Primitives.XML
@@ -0,0 +1,58 @@
+
+
+
+ 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
new file mode 100644
index 0000000..3a26074
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.Primitives.dll 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
new file mode 100644
index 0000000..f69b4fc
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.dll 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
new file mode 100644
index 0000000..940e260
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/sl4-windowsphone71/System.Net.Http.xml
@@ -0,0 +1,1581 @@
+
+
+
+ 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
new file mode 100644
index 0000000..1190940
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Extensions.XML
@@ -0,0 +1,50 @@
+
+
+
+ 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
new file mode 100644
index 0000000..1aef22e
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Extensions.dll 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
new file mode 100644
index 0000000..48679fa
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Primitives.dll 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
new file mode 100644
index 0000000..53640c6
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/win8/System.Net.Http.Primitives.xml
@@ -0,0 +1,8 @@
+
+
+
+ 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
new file mode 100644
index 0000000..1190940
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Extensions.XML
@@ -0,0 +1,50 @@
+
+
+
+ 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
new file mode 100644
index 0000000..aecc82e
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Extensions.dll 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
new file mode 100644
index 0000000..48679fa
Binary files /dev/null and b/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Primitives.dll 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
new file mode 100644
index 0000000..53640c6
--- /dev/null
+++ b/packages/Microsoft.Net.Http.2.2.28/lib/wpa81/System.Net.Http.Primitives.xml
@@ -0,0 +1,8 @@
+
+
+
+ System.Net.Http.Primitives
+
+
+
+
diff --git a/packages/Newtonsoft.Json.9.0.1/Newtonsoft.Json.9.0.1.nupkg b/packages/Newtonsoft.Json.9.0.1/Newtonsoft.Json.9.0.1.nupkg
new file mode 100644
index 0000000..87abe13
Binary files /dev/null and b/packages/Newtonsoft.Json.9.0.1/Newtonsoft.Json.9.0.1.nupkg differ
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.dll
new file mode 100644
index 0000000..2d82d01
Binary files /dev/null and b/packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.dll differ
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.xml
new file mode 100644
index 0000000..0429ef1
--- /dev/null
+++ b/packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.xml
@@ -0,0 +1,9793 @@
+
+
+
+ Newtonsoft.Json
+
+
+
+
+ Represents a BSON Oid (object id).
+
+
+
+
+ Gets or sets the value of the Oid.
+
+ The value of the Oid.
+
+
+
+ Initializes a new instance of the class.
+
+ The Oid value.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary.
+
+
+ true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether the root object will be read as a JSON array.
+
+
+ true if the root object will be read as a JSON array; otherwise, false.
+
+
+
+
+ Gets or sets the used when reading values from BSON.
+
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Changes the to Closed.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the used when writing values to BSON.
+ When set to no conversion will occur.
+
+ The used when writing values to BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The writer.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value that represents a BSON object id.
+
+ The Object ID value to write.
+
+
+
+ Writes a BSON regex.
+
+ The regex pattern.
+ The regex options.
+
+
+
+ Specifies how constructors are used when initializing objects during deserialization by the .
+
+
+
+
+ First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor.
+
+
+
+
+ Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
+
+
+
+
+ Converts a binary value to and from a base 64 string value.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Create a custom object
+
+ The object type to convert.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Creates an object which will then be populated by the serializer.
+
+ Type of the object.
+ The created object.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+
+ true if this can write JSON; otherwise, false.
+
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Provides a base class for converting a to and from JSON.
+
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an to and from its name string value.
+
+
+
+
+ Gets or sets a value indicating whether the written enum text should be camel case.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether integer values are allowed.
+
+ true if integers are allowed; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from a string (e.g. "1.2.3.4").
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z).
+
+
+
+
+ Gets or sets the date time styles used when converting a date to and from JSON.
+
+ The date time styles used when converting a date to and from JSON.
+
+
+
+ Gets or sets the date time format used when converting a date to and from JSON.
+
+ The date time format used when converting a date to and from JSON.
+
+
+
+ Gets or sets the culture used when converting a date to and from JSON.
+
+ The culture used when converting a date to and from JSON.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)).
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts XML to and from JSON.
+
+
+
+
+ Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements.
+
+ The name of the deserialize root element.
+
+
+
+ Gets or sets a flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ true if the array attibute is written to the XML; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether to write the root JSON object.
+
+ true if the JSON root object is omitted; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The calling serializer.
+ The value.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Checks if the attributeName is a namespace attribute.
+
+ Attribute name to test.
+ The attribute name prefix if it has one, otherwise an empty string.
+ true if attribute name is for a namespace attribute, otherwise false.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Specifies how dates are formatted when writing JSON text.
+
+
+
+
+ Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
+
+
+
+
+ Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
+
+
+
+
+ Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
+
+
+
+
+ Date formatted strings are not parsed to a date type and are read as strings.
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Specifies how to treat the time value when converting between string and .
+
+
+
+
+ Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
+
+
+
+
+ Treat as a UTC. If the object represents a local time, it is converted to a UTC.
+
+
+
+
+ Treat as a local time if a is being converted to a string.
+ If a string is being converted to , convert to a local time if a time zone is specified.
+
+
+
+
+ Time zone information should be preserved when converting.
+
+
+
+
+ Specifies float format handling options when writing special floating point numbers, e.g. ,
+ and with .
+
+
+
+
+ Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
+
+
+
+
+ Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
+ Note that this will produce non-valid JSON.
+
+
+
+
+ Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property.
+
+
+
+
+ Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Specifies formatting options for the .
+
+
+
+
+ No special formatting is applied. This is the default.
+
+
+
+
+ Causes child objects to be indented according to the and settings.
+
+
+
+
+ Provides an interface for using pooled arrays.
+
+ The array type content.
+
+
+
+ Rent a array from the pool. This array must be returned when it is no longer needed.
+
+ The minimum required length of the array. The returned array may be longer.
+ The rented array from the pool. This array must be returned when it is no longer needed.
+
+
+
+ Return an array to the pool.
+
+ The array that is being returned.
+
+
+
+ Instructs the to use the specified constructor when deserializing that object.
+
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Instructs the to deserialize properties with no matching class member into the specified collection
+ and write values during serialization.
+
+
+
+
+ Gets or sets a value that indicates whether to write extension data when serializing the object.
+
+
+ true to write extension data when serializing the object; otherwise, false. The default is true.
+
+
+
+
+ Gets or sets a value that indicates whether to read extension data when deserializing the object.
+
+
+ true to read extension data when deserializing the object; otherwise, false. The default is true.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Instructs the to always serialize the member, and require the member has a value.
+
+
+
+
+ Specifies how JSON comments are handled when loading JSON.
+
+
+
+
+ Ignore comments.
+
+
+
+
+ Load comments as a with type .
+
+
+
+
+ Specifies how line information is handled when loading JSON.
+
+
+
+
+ Ignore line information.
+
+
+
+
+ Load line information.
+
+
+
+
+ Specifies the settings used when loading JSON.
+
+
+
+
+ Gets or sets how JSON comments are handled when loading JSON.
+
+ The JSON comment handling.
+
+
+
+ Gets or sets how JSON line info is handled when loading JSON.
+
+ The JSON line info handling.
+
+
+
+ Specifies the settings used when merging JSON.
+
+
+
+
+ Gets or sets the method used when merging JSON arrays.
+
+ The method used when merging JSON arrays.
+
+
+
+ Gets or sets how how null value properties are merged.
+
+ How null value properties are merged.
+
+
+
+ Specifies how JSON arrays are merged together.
+
+
+
+ Concatenate arrays.
+
+
+ Union arrays, skipping items that already exist.
+
+
+ Replace all array items.
+
+
+ Merge array items together, matched by index.
+
+
+
+ Specifies how null value properties are merged.
+
+
+
+
+ The content's null value properties will be ignored during merging.
+
+
+
+
+ The content's null value properties will be merged.
+
+
+
+
+ Represents a view of a .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The name.
+
+
+
+ When overridden in a derived class, returns whether resetting an object changes its value.
+
+
+ true if resetting the component changes its value; otherwise, false.
+
+ The component to test for reset capability.
+
+
+
+ When overridden in a derived class, gets the current value of the property on a component.
+
+
+ The value of a property for a given component.
+
+ The component with the property for which to retrieve the value.
+
+
+
+
+ When overridden in a derived class, resets the value for this property of the component to the default value.
+
+ The component with the property value that is to be reset to the default value.
+
+
+
+
+ When overridden in a derived class, sets the value of the component to a different value.
+
+ The component with the property value that is to be set.
+ The new value.
+
+
+
+
+ When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
+
+
+ true if the property should be persisted; otherwise, false.
+
+ The component with the property to be examined for persistence.
+
+
+
+ When overridden in a derived class, gets the type of the component this property is bound to.
+
+
+ A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type.
+
+
+
+
+ When overridden in a derived class, gets a value indicating whether this property is read-only.
+
+
+ true if the property is read-only; otherwise, false.
+
+
+
+
+ When overridden in a derived class, gets the type of the property.
+
+
+ A that represents the type of the property.
+
+
+
+
+ Gets the hash code for the name of the member.
+
+
+
+ The hash code for the name of the member.
+
+
+
+
+ Represents a raw JSON string.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class.
+
+ The raw json.
+
+
+
+ Creates an instance of with the content of the reader's current token.
+
+ The reader.
+ An instance of with the content of the reader's current token.
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Compares tokens to determine whether they are equal.
+
+
+
+
+ Determines whether the specified objects are equal.
+
+ The first object of type to compare.
+ The second object of type to compare.
+
+ true if the specified objects are equal; otherwise, false.
+
+
+
+
+ Returns a hash code for the specified object.
+
+ The for which a hash code is to be returned.
+ A hash code for the specified object.
+ The type of is a reference type and is null.
+
+
+
+ Contains the LINQ to JSON extension methods.
+
+
+
+
+ Returns a collection of tokens that contains the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the descendants of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, and the descendants of every token in the source collection.
+
+
+
+ Returns a collection of child properties of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the properties of every object in the source collection.
+
+
+
+ Returns a collection of child values of every object in the source collection with the given key.
+
+ An of that contains the source collection.
+ The token key.
+ An of that contains the values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of child values of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child values of every object in the source collection with the given key.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ The token key.
+ An that contains the converted values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of converted child values of every object in the source collection.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Converts the value.
+
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Converts the value.
+
+ The source collection type.
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Returns a collection of child tokens of every array in the source collection.
+
+ The source collection type.
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child tokens of every array in the source collection.
+
+ An of that contains the source collection.
+ The type to convert the values to.
+ The source collection type.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Returns the input typed as .
+
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Returns the input typed as .
+
+ The source collection type.
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Represents a JSON constructor.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets or sets the name of this constructor.
+
+ The constructor name.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ The constructor name.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Represents a token that can contain other tokens.
+
+
+
+
+ Occurs when the list changes or an item in the list changes.
+
+
+
+
+ Occurs before an item is added to the collection.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Raises the event.
+
+ The instance containing the event data.
+
+
+
+ Raises the event.
+
+ The instance containing the event data.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Get the first child token of this token.
+
+
+ A containing the first child token of the .
+
+
+
+
+ Get the last child token of this token.
+
+
+ A containing the last child token of the .
+
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+
+ An of containing the child tokens of this , in document order.
+
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+
+ A containing the child values of this , in document order.
+
+
+
+
+ Returns a collection of the descendant tokens for this token in document order.
+
+ An containing the descendant tokens of the .
+
+
+
+ Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
+
+ An containing this token, and all the descendant tokens of the .
+
+
+
+ Adds the specified content as children of this .
+
+ The content to be added.
+
+
+
+ Adds the specified content as the first children of this .
+
+ The content to be added.
+
+
+
+ Creates an that can be used to add tokens to the .
+
+ An that is ready to have content written to it.
+
+
+
+ Replaces the children nodes of this token with the specified content.
+
+ The content.
+
+
+
+ Removes the child nodes from this token.
+
+
+
+
+ Merge the specified content into this .
+
+ The content to be merged.
+
+
+
+ Merge the specified content into this using .
+
+ The content to be merged.
+ The used to merge the content.
+
+
+
+ Gets the count of child JSON tokens.
+
+ The count of child JSON tokens
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ An empty collection of objects.
+
+
+
+
+ Initializes a new instance of the struct.
+
+ The enumerable.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Returns a hash code for this instance.
+
+
+ A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
+
+
+
+
+ Represents a JSON object.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets an of this object's properties.
+
+ An of this object's properties.
+
+
+
+ Gets a the specified name.
+
+ The property name.
+ A with the specified name or null.
+
+
+
+ Gets an of this object's property values.
+
+ An of this object's property values.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the with the specified property name.
+
+
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified property name.
+
+ Name of the property.
+ The with the specified property name.
+
+
+
+ Gets the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ One of the enumeration values that specifies how the strings will be compared.
+ The with the specified property name.
+
+
+
+ Tries to get the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ The value.
+ One of the enumeration values that specifies how the strings will be compared.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Adds the specified property name.
+
+ Name of the property.
+ The value.
+
+
+
+ Removes the property with the specified name.
+
+ Name of the property.
+ true if item was successfully removed; otherwise, false.
+
+
+
+ Tries the get value.
+
+ Name of the property.
+ The value.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Raises the event with the provided arguments.
+
+ Name of the property.
+
+
+
+ Returns the properties for this instance of a component.
+
+
+ A that represents the properties for this component instance.
+
+
+
+
+ Returns the properties for this instance of a component using the attribute array as a filter.
+
+ An array of type that is used as a filter.
+
+ A that represents the filtered properties for this component instance.
+
+
+
+
+ Returns a collection of custom attributes for this instance of a component.
+
+
+ An containing the attributes for this object.
+
+
+
+
+ Returns the class name of this instance of a component.
+
+
+ The class name of the object, or null if the class does not have a name.
+
+
+
+
+ Returns the name of this instance of a component.
+
+
+ The name of the object, or null if the object does not have a name.
+
+
+
+
+ Returns a type converter for this instance of a component.
+
+
+ A that is the converter for this object, or null if there is no for this object.
+
+
+
+
+ Returns the default event for this instance of a component.
+
+
+ An that represents the default event for this object, or null if this object does not have events.
+
+
+
+
+ Returns the default property for this instance of a component.
+
+
+ A that represents the default property for this object, or null if this object does not have properties.
+
+
+
+
+ Returns an editor of the specified type for this instance of a component.
+
+ A that represents the editor for this object.
+
+ An of the specified type that is the editor for this object, or null if the editor cannot be found.
+
+
+
+
+ Returns the events for this instance of a component using the specified attribute array as a filter.
+
+ An array of type that is used as a filter.
+
+ An that represents the filtered events for this component instance.
+
+
+
+
+ Returns the events for this instance of a component.
+
+
+ An that represents the events for this component instance.
+
+
+
+
+ Returns an object that contains the property described by the specified property descriptor.
+
+ A that represents the property whose owner is to be found.
+
+ An that represents the owner of the specified property.
+
+
+
+
+ Represents a JSON array.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the at the specified index.
+
+
+
+
+
+ Determines the index of a specific item in the .
+
+ The object to locate in the .
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+ The object to insert into the .
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Removes the item at the specified index.
+
+ The zero-based index of the item to remove.
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Adds an item to the .
+
+ The object to add to the .
+ The is read-only.
+
+
+
+ Removes all items from the .
+
+ The is read-only.
+
+
+
+ Determines whether the contains a specific value.
+
+ The object to locate in the .
+
+ true if is found in the ; otherwise, false.
+
+
+
+
+ Copies to.
+
+ The array.
+ Index of the array.
+
+
+
+ Gets a value indicating whether the is read-only.
+
+ true if the is read-only; otherwise, false.
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+ The object to remove from the .
+
+ true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
+
+ The is read-only.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets the at the reader's current position.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The token to read from.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets the at the writer's current position.
+
+
+
+
+ Gets the token being writen.
+
+ The token being writen.
+
+
+
+ Initializes a new instance of the class writing to the given .
+
+ The container being written to.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Represents an abstract JSON token.
+
+
+
+
+ Gets a comparer that can compare two tokens for value equality.
+
+ A that can compare two nodes for value equality.
+
+
+
+ Gets or sets the parent.
+
+ The parent.
+
+
+
+ Gets the root of this .
+
+ The root of this .
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Compares the values of two tokens, including the values of all descendant tokens.
+
+ The first to compare.
+ The second to compare.
+ true if the tokens are equal; otherwise false.
+
+
+
+ Gets the next sibling token of this node.
+
+ The that contains the next sibling token.
+
+
+
+ Gets the previous sibling token of this node.
+
+ The that contains the previous sibling token.
+
+
+
+ Gets the path of the JSON token.
+
+
+
+
+ Adds the specified content immediately after this token.
+
+ A content object that contains simple content or a collection of content objects to be added after this token.
+
+
+
+ Adds the specified content immediately before this token.
+
+ A content object that contains simple content or a collection of content objects to be added before this token.
+
+
+
+ Returns a collection of the ancestor tokens of this token.
+
+ A collection of the ancestor tokens of this token.
+
+
+
+ Returns a collection of tokens that contain this token, and the ancestors of this token.
+
+ A collection of tokens that contain this token, and the ancestors of this token.
+
+
+
+ Returns a collection of the sibling tokens after this token, in document order.
+
+ A collection of the sibling tokens after this tokens, in document order.
+
+
+
+ Returns a collection of the sibling tokens before this token, in document order.
+
+ A collection of the sibling tokens before this token, in document order.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets the with the specified key converted to the specified type.
+
+ The type to convert the token to.
+ The token key.
+ The converted token value.
+
+
+
+ Get the first child token of this token.
+
+ A containing the first child token of the .
+
+
+
+ Get the last child token of this token.
+
+ A containing the last child token of the .
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+ An of containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
+
+ The type to filter the child tokens on.
+ A containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+ A containing the child values of this , in document order.
+
+
+
+ Removes this token from its parent.
+
+
+
+
+ Replaces this token with the specified token.
+
+ The value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Returns the indented JSON for this token.
+
+
+ The indented JSON for this token.
+
+
+
+
+ Returns the JSON for this token using the given formatting and converters.
+
+ Indicates how the output is formatted.
+ A collection of which will be used when writing the token.
+ The JSON for this token using the given formatting and converters.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to [].
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from [] to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Creates an for this token.
+
+ An that can be used to read this token and its descendants.
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the value of the specified object
+
+
+
+ Creates a from an object using the specified .
+
+ The object that will be used to create .
+ The that will be used when reading the object.
+ A with the value of the specified object
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A , or null.
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ A .
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ An that contains the selected elements.
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ An that contains the selected elements.
+
+
+
+ Creates a new instance of the . All child tokens are recursively cloned.
+
+ A new instance of the .
+
+
+
+ Adds an object to the annotation list of this .
+
+ The annotation to add.
+
+
+
+ Get the first annotation object of the specified type from this .
+
+ The type of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets the first annotation object of the specified type from this .
+
+ The of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The type of the annotations to retrieve.
+ An that contains the annotations for this .
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The of the annotations to retrieve.
+ An of that contains the annotations that match the specified type for this .
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The type of annotations to remove.
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The of annotations to remove.
+
+
+
+ Represents a JSON property.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the property name.
+
+ The property name.
+
+
+
+ Gets or sets the property value.
+
+ The property value.
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Specifies the type of token.
+
+
+
+
+ No token type has been set.
+
+
+
+
+ A JSON object.
+
+
+
+
+ A JSON array.
+
+
+
+
+ A JSON constructor.
+
+
+
+
+ A JSON object property.
+
+
+
+
+ A comment.
+
+
+
+
+ An integer value.
+
+
+
+
+ A float value.
+
+
+
+
+ A string value.
+
+
+
+
+ A boolean value.
+
+
+
+
+ A null value.
+
+
+
+
+ An undefined value.
+
+
+
+
+ A date value.
+
+
+
+
+ A raw JSON value.
+
+
+
+
+ A collection of bytes value.
+
+
+
+
+ A Guid value.
+
+
+
+
+ A Uri value.
+
+
+
+
+ A TimeSpan value.
+
+
+
+
+ Represents a value in JSON (string, integer, date, etc).
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Creates a comment with the given value.
+
+ The value.
+ A comment with the given value.
+
+
+
+ Creates a string with the given value.
+
+ The value.
+ A string with the given value.
+
+
+
+ Creates a null value.
+
+ A null value.
+
+
+
+ Creates a undefined value.
+
+ A undefined value.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets or sets the underlying token value.
+
+ The underlying token value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ true if the current object is equal to the parameter; otherwise, false.
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+ The to compare with the current .
+
+ true if the specified is equal to the current ; otherwise, false.
+
+
+ The parameter is null.
+
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
+
+ An object to compare with this instance.
+
+ A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
+ Value
+ Meaning
+ Less than zero
+ This instance is less than .
+ Zero
+ This instance is equal to .
+ Greater than zero
+ This instance is greater than .
+
+
+ is not the same type as this instance.
+
+
+
+
+ Specifies metadata property handling options for the .
+
+
+
+
+ Read metadata properties located at the start of a JSON object.
+
+
+
+
+ Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
+
+
+
+
+ Do not try to read metadata properties.
+
+
+
+
+ A camel case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ The default naming strategy. Property names and dictionary keys are unchanged.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Represents a trace writer that writes to the application's instances.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Provides methods to get attributes.
+
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Represents a trace writer.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the default collection items .
+
+ The converter.
+
+
+
+ Gets or sets a value indicating whether the collection items preserve object references.
+
+ true if collection items preserve object references; otherwise, false.
+
+
+
+ Gets or sets the collection item reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the collection item type name handling.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Represents a trace writer that writes to memory. When the trace message limit is
+ reached then old trace messages will be removed as new messages are added.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Returns an enumeration of the most recent trace messages.
+
+ An enumeration of the most recent trace messages.
+
+
+
+ Returns a of the most recent trace messages.
+
+
+ A of the most recent trace messages.
+
+
+
+
+ A base class for resolving how property names and dictionary keys are serialized.
+
+
+
+
+ A flag indicating whether dictionary keys should be processed.
+ Defaults to false.
+
+
+
+
+ A flag indicating whether explicitly specified property names,
+ e.g. a property name customized with a , should be processed.
+ Defaults to false.
+
+
+
+
+ Gets the serialized name for a given property name.
+
+ The initial property name.
+ A flag indicating whether the property has had a name explicitly specfied.
+ The serialized property name.
+
+
+
+ Gets the serialized key for a given dictionary key.
+
+ The initial dictionary key.
+ The serialized dictionary key.
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Provides methods to get attributes from a , , or .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The instance to get attributes for. This parameter should be a , , or .
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ A snake case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Resolves member mappings for a type, camel casing property names.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+ Gets a value indicating whether members are being get and set using dynamic code generation.
+ This value is determined by the runtime permissions available.
+
+
+ true if using dynamic code generation; otherwise, false.
+
+
+
+
+ Gets or sets the default members search flags.
+
+ The default members search flags.
+
+
+
+ Gets or sets a value indicating whether compiler generated members should be serialized.
+
+
+ true if serialized compiler generated members; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
+
+
+ true if the interface will be ignored when serializing and deserializing types; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
+
+
+ true if the attribute will be ignored when serializing and deserializing types; otherwise, false.
+
+
+
+
+ Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
+
+ The naming strategy used to resolve how property names and dictionary keys are serialized.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ If set to true the will use a cached shared with other resolvers of the same type.
+ Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only
+ happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different
+ results. When set to false it is highly recommended to reuse instances with the .
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Gets the serializable members for the type.
+
+ The type to get serializable members for.
+ The serializable members for the type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates the constructor parameters.
+
+ The constructor to create properties for.
+ The type's member properties.
+ Properties for the given .
+
+
+
+ Creates a for the given .
+
+ The matching member property.
+ The constructor parameter.
+ A created for the given .
+
+
+
+ Resolves the default for the contract.
+
+ Type of the object.
+ The contract's default .
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Determines which contract type is created for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates properties for the given .
+
+ The type to create properties for.
+ /// The member serialization mode for the type.
+ Properties for the given .
+
+
+
+ Creates the used by the serializer to get and set values from a member.
+
+ The member.
+ The used by the serializer to get and set values from a member.
+
+
+
+ Creates a for the given .
+
+ The member's parent .
+ The member to create a for.
+ A created for the given .
+
+
+
+ Resolves the name of the property.
+
+ Name of the property.
+ Resolved name of the property.
+
+
+
+ Resolves the key of the dictionary. By default is used to resolve dictionary keys.
+
+ Key of the dictionary.
+ Resolved key of the dictionary.
+
+
+
+ Gets the resolved name of the property.
+
+ Name of the property.
+ Name of the property.
+
+
+
+ The default serialization binder used when resolving and loading classes from type names.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+ The type of the object the formatter creates a new instance of.
+
+
+
+
+ Get and set values for a using dynamic methods.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Provides information surrounding an error.
+
+
+
+
+ Gets the error.
+
+ The error.
+
+
+
+ Gets the original object that caused the error.
+
+ The original object that caused the error.
+
+
+
+ Gets the member that caused the error.
+
+ The member that caused the error.
+
+
+
+ Gets the path of the JSON location where the error occurred.
+
+ The path of the JSON location where the error occurred.
+
+
+
+ Gets or sets a value indicating whether this is handled.
+
+ true if handled; otherwise, false.
+
+
+
+ Provides data for the Error event.
+
+
+
+
+ Gets the current object the error event is being raised against.
+
+ The current object the error event is being raised against.
+
+
+
+ Gets the error context.
+
+ The error context.
+
+
+
+ Initializes a new instance of the class.
+
+ The current object.
+ The error context.
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Provides methods to get and set values.
+
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the of the collection items.
+
+ The of the collection items.
+
+
+
+ Gets a value indicating whether the collection type is a multidimensional array.
+
+ true if the collection type is a multidimensional array; otherwise, false.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the collection values.
+
+ true if the creator has a parameter with the collection values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Handles serialization callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+
+
+
+ Handles serialization error callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+ The error context.
+
+
+
+ Sets extension data for an object during deserialization.
+
+ The object to set extension data on.
+ The extension data key.
+ The extension data value.
+
+
+
+ Gets extension data for an object during serialization.
+
+ The object to set extension data on.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the underlying type for the contract.
+
+ The underlying type for the contract.
+
+
+
+ Gets or sets the type created during deserialization.
+
+ The type created during deserialization.
+
+
+
+ Gets or sets whether this type contract is serialized as a reference.
+
+ Whether this type contract is serialized as a reference.
+
+
+
+ Gets or sets the default for this contract.
+
+ The converter.
+
+
+
+ Gets or sets all methods called immediately after deserialization of the object.
+
+ The methods called immediately after deserialization of the object.
+
+
+
+ Gets or sets all methods called during deserialization of the object.
+
+ The methods called during deserialization of the object.
+
+
+
+ Gets or sets all methods called after serialization of the object graph.
+
+ The methods called after serialization of the object graph.
+
+
+
+ Gets or sets all methods called before serialization of the object.
+
+ The methods called before serialization of the object.
+
+
+
+ Gets or sets all method called when an error is thrown during the serialization of the object.
+
+ The methods called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the method called immediately after deserialization of the object.
+
+ The method called immediately after deserialization of the object.
+
+
+
+ Gets or sets the method called during deserialization of the object.
+
+ The method called during deserialization of the object.
+
+
+
+ Gets or sets the method called after serialization of the object graph.
+
+ The method called after serialization of the object graph.
+
+
+
+ Gets or sets the method called before serialization of the object.
+
+ The method called before serialization of the object.
+
+
+
+ Gets or sets the method called when an error is thrown during the serialization of the object.
+
+ The method called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the default creator method used to create the object.
+
+ The default creator method used to create the object.
+
+
+
+ Gets or sets a value indicating whether the default creator is non public.
+
+ true if the default object creator is non-public; otherwise, false.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the property name resolver.
+
+ The property name resolver.
+
+
+
+ Gets or sets the dictionary key resolver.
+
+ The dictionary key resolver.
+
+
+
+ Gets the of the dictionary keys.
+
+ The of the dictionary keys.
+
+
+
+ Gets the of the dictionary values.
+
+ The of the dictionary values.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the dictionary values.
+
+ true if the creator has a parameter with the dictionary values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the ISerializable object constructor.
+
+ The ISerializable object constructor.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Maps a JSON property to a .NET member or constructor parameter.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the type that declared this property.
+
+ The type that declared this property.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets the name of the underlying member or parameter.
+
+ The name of the underlying member or parameter.
+
+
+
+ Gets the that will get and set the during serialization.
+
+ The that will get and set the during serialization.
+
+
+
+ Gets or sets the for this property.
+
+ The for this property.
+
+
+
+ Gets or sets the type of the property.
+
+ The type of the property.
+
+
+
+ Gets or sets the for the property.
+ If set this converter takes presidence over the contract converter for the property type.
+
+ The converter.
+
+
+
+ Gets or sets the member converter.
+
+ The member converter.
+
+
+
+ Gets or sets a value indicating whether this is ignored.
+
+ true if ignored; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is readable.
+
+ true if readable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is writable.
+
+ true if writable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this has a member attribute.
+
+ true if has a member attribute; otherwise, false.
+
+
+
+ Gets the default value.
+
+ The default value.
+
+
+
+ Gets or sets a value indicating whether this is required.
+
+ A value indicating whether this is required.
+
+
+
+ Gets or sets a value indicating whether this property preserves object references.
+
+
+ true if this instance is reference; otherwise, false.
+
+
+
+
+ Gets or sets the property null value handling.
+
+ The null value handling.
+
+
+
+ Gets or sets the property default value handling.
+
+ The default value handling.
+
+
+
+ Gets or sets the property reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the property object creation handling.
+
+ The object creation handling.
+
+
+
+ Gets or sets or sets the type name handling.
+
+ The type name handling.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialize.
+
+ A predicate used to determine whether the property should be serialize.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be deserialized.
+
+ A predicate used to determine whether the property should be deserialized.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialized.
+
+ A predicate used to determine whether the property should be serialized.
+
+
+
+ Gets or sets an action used to set whether the property has been deserialized.
+
+ An action used to set whether the property has been deserialized.
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets or sets the converter used when serializing the property's collection items.
+
+ The collection's items converter.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ A collection of objects.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type.
+
+
+
+ When implemented in a derived class, extracts the key from the specified element.
+
+ The element from which to extract the key.
+ The key for the specified element.
+
+
+
+ Adds a object.
+
+ The property to add to the collection.
+
+
+
+ Gets the closest matching object.
+ First attempts to get an exact case match of propertyName and then
+ a case insensitive match.
+
+ Name of the property.
+ A matching property if found.
+
+
+
+ Gets a property by property name.
+
+ The name of the property to get.
+ Type property name string comparison.
+ A matching property if found.
+
+
+
+ Used to resolve references when serializing and deserializing JSON by the .
+
+
+
+
+ Resolves a reference to its object.
+
+ The serialization context.
+ The reference to resolve.
+ The object that
+
+
+
+ Gets the reference for the sepecified object.
+
+ The serialization context.
+ The object to get a reference for.
+ The reference to the object.
+
+
+
+ Determines whether the specified object is referenced.
+
+ The serialization context.
+ The object to test for a reference.
+
+ true if the specified object is referenced; otherwise, false.
+
+
+
+
+ Adds a reference to the specified object.
+
+ The serialization context.
+ The reference.
+ The object to reference.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the object member serialization.
+
+ The member object serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Gets the object's properties.
+
+ The object's properties.
+
+
+
+ Gets the constructor parameters required for any non-default constructor
+
+
+
+
+ Gets a collection of instances that define the parameters used with .
+
+
+
+
+ Gets or sets the override constructor used to create the object.
+ This is set when a constructor is marked up using the
+ JsonConstructor attribute.
+
+ The override constructor.
+
+
+
+ Gets or sets the parametrized constructor used to create the object.
+
+ The parametrized constructor.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+ This function is called with a collection of arguments which are defined by the collection.
+
+ The function used to create the object.
+
+
+
+ Gets or sets the extension data setter.
+
+
+
+
+ Gets or sets the extension data getter.
+
+
+
+
+ Gets or sets the extension data value type.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Lookup and create an instance of the JsonConverter type described by the argument.
+
+ The JsonConverter type to create.
+ Optional arguments to pass to an initializing constructor of the JsonConverter.
+ If null, the default constructor is used.
+
+
+
+ Represents a method that constructs an object.
+
+ The object type to create.
+
+
+
+ When applied to a method, specifies that the method is called when an error occurs serializing an object.
+
+
+
+
+ Get and set values for a using reflection.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Specifies how strings are escaped when writing JSON text.
+
+
+
+
+ Only control characters (e.g. newline) are escaped.
+
+
+
+
+ All non-ASCII and control characters (e.g. newline) are escaped.
+
+
+
+
+ HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
+
+
+
+
+ Provides a set of static (Shared in Visual Basic) methods for
+ querying objects that implement .
+
+
+
+
+ Returns the input typed as .
+
+
+
+
+ Returns an empty that has the
+ specified type argument.
+
+
+
+
+ Converts the elements of an to the
+ specified type.
+
+
+
+
+ Filters the elements of an based on a specified type.
+
+
+
+
+ Generates a sequence of integral numbers within a specified range.
+
+ The value of the first integer in the sequence.
+ The number of sequential integers to generate.
+
+
+
+ Generates a sequence that contains one repeated value.
+
+
+
+
+ Filters a sequence of values based on a predicate.
+
+
+
+
+ Filters a sequence of values based on a predicate.
+ Each element's index is used in the logic of the predicate function.
+
+
+
+
+ Projects each element of a sequence into a new form.
+
+
+
+
+ Projects each element of a sequence into a new form by
+ incorporating the element's index.
+
+
+
+
+ Projects each element of a sequence to an
+ and flattens the resulting sequences into one sequence.
+
+
+
+
+ Projects each element of a sequence to an ,
+ and flattens the resulting sequences into one sequence. The
+ index of each source element is used in the projected form of
+ that element.
+
+
+
+
+ Projects each element of a sequence to an ,
+ flattens the resulting sequences into one sequence, and invokes
+ a result selector function on each element therein.
+
+
+
+
+ Projects each element of a sequence to an ,
+ flattens the resulting sequences into one sequence, and invokes
+ a result selector function on each element therein. The index of
+ each source element is used in the intermediate projected form
+ of that element.
+
+
+
+
+ Returns elements from a sequence as long as a specified condition is true.
+
+
+
+
+ Returns elements from a sequence as long as a specified condition is true.
+ The element's index is used in the logic of the predicate function.
+
+
+
+
+ Base implementation of First operator.
+
+
+
+
+ Returns the first element of a sequence.
+
+
+
+
+ Returns the first element in a sequence that satisfies a specified condition.
+
+
+
+
+ Returns the first element of a sequence, or a default value if
+ the sequence contains no elements.
+
+
+
+
+ Returns the first element of the sequence that satisfies a
+ condition or a default value if no such element is found.
+
+
+
+
+ Base implementation of Last operator.
+
+
+
+
+ Returns the last element of a sequence.
+
+
+
+
+ Returns the last element of a sequence that satisfies a
+ specified condition.
+
+
+
+
+ Returns the last element of a sequence, or a default value if
+ the sequence contains no elements.
+
+
+
+
+ Returns the last element of a sequence that satisfies a
+ condition or a default value if no such element is found.
+
+
+
+
+ Base implementation of Single operator.
+
+
+
+
+ Returns the only element of a sequence, and throws an exception
+ if there is not exactly one element in the sequence.
+
+
+
+
+ Returns the only element of a sequence that satisfies a
+ specified condition, and throws an exception if more than one
+ such element exists.
+
+
+
+
+ Returns the only element of a sequence, or a default value if
+ the sequence is empty; this method throws an exception if there
+ is more than one element in the sequence.
+
+
+
+
+ Returns the only element of a sequence that satisfies a
+ specified condition or a default value if no such element
+ exists; this method throws an exception if more than one element
+ satisfies the condition.
+
+
+
+
+ Returns the element at a specified index in a sequence.
+
+
+
+
+ Returns the element at a specified index in a sequence or a
+ default value if the index is out of range.
+
+
+
+
+ Inverts the order of the elements in a sequence.
+
+
+
+
+ Returns a specified number of contiguous elements from the start
+ of a sequence.
+
+
+
+
+ Bypasses a specified number of elements in a sequence and then
+ returns the remaining elements.
+
+
+
+
+ Bypasses elements in a sequence as long as a specified condition
+ is true and then returns the remaining elements.
+
+
+
+
+ Bypasses elements in a sequence as long as a specified condition
+ is true and then returns the remaining elements. The element's
+ index is used in the logic of the predicate function.
+
+
+
+
+ Returns the number of elements in a sequence.
+
+
+
+
+ Returns a number that represents how many elements in the
+ specified sequence satisfy a condition.
+
+
+
+
+ Returns an that represents the total number
+ of elements in a sequence.
+
+
+
+
+ Returns an that represents how many elements
+ in a sequence satisfy a condition.
+
+
+
+
+ Concatenates two sequences.
+
+
+
+
+ Creates a from an .
+
+
+
+
+ Creates an array from an .
+
+
+
+
+ Returns distinct elements from a sequence by using the default
+ equality comparer to compare values.
+
+
+
+
+ Returns distinct elements from a sequence by using a specified
+ to compare values.
+
+
+
+
+ Creates a from an
+ according to a specified key
+ selector function.
+
+
+
+
+ Creates a from an
+ according to a specified key
+ selector function and a key comparer.
+
+
+
+
+ Creates a from an
+ according to specified key
+ and element selector functions.
+
+
+
+
+ Creates a from an
+ according to a specified key
+ selector function, a comparer and an element selector function.
+
+
+
+
+ Groups the elements of a sequence according to a specified key
+ selector function.
+
+
+
+
+ Groups the elements of a sequence according to a specified key
+ selector function and compares the keys by using a specified
+ comparer.
+
+
+
+
+ Groups the elements of a sequence according to a specified key
+ selector function and projects the elements for each group by
+ using a specified function.
+
+
+
+
+ Groups the elements of a sequence according to a specified key
+ selector function and creates a result value from each group and
+ its key.
+
+
+
+
+ Groups the elements of a sequence according to a key selector
+ function. The keys are compared by using a comparer and each
+ group's elements are projected by using a specified function.
+
+
+
+
+ Groups the elements of a sequence according to a specified key
+ selector function and creates a result value from each group and
+ its key. The elements of each group are projected by using a
+ specified function.
+
+
+
+
+ Groups the elements of a sequence according to a specified key
+ selector function and creates a result value from each group and
+ its key. The keys are compared by using a specified comparer.
+
+
+
+
+ Groups the elements of a sequence according to a specified key
+ selector function and creates a result value from each group and
+ its key. Key values are compared by using a specified comparer,
+ and the elements of each group are projected by using a
+ specified function.
+
+
+
+
+ Applies an accumulator function over a sequence.
+
+
+
+
+ Applies an accumulator function over a sequence. The specified
+ seed value is used as the initial accumulator value.
+
+
+
+
+ Applies an accumulator function over a sequence. The specified
+ seed value is used as the initial accumulator value, and the
+ specified function is used to select the result value.
+
+
+
+
+ Produces the set union of two sequences by using the default
+ equality comparer.
+
+
+
+
+ Produces the set union of two sequences by using a specified
+ .
+
+
+
+
+ Returns the elements of the specified sequence or the type
+ parameter's default value in a singleton collection if the
+ sequence is empty.
+
+
+
+
+ Returns the elements of the specified sequence or the specified
+ value in a singleton collection if the sequence is empty.
+
+
+
+
+ Determines whether all elements of a sequence satisfy a condition.
+
+
+
+
+ Determines whether a sequence contains any elements.
+
+
+
+
+ Determines whether any element of a sequence satisfies a
+ condition.
+
+
+
+
+ Determines whether a sequence contains a specified element by
+ using the default equality comparer.
+
+
+
+
+ Determines whether a sequence contains a specified element by
+ using a specified .
+
+
+
+
+ Determines whether two sequences are equal by comparing the
+ elements by using the default equality comparer for their type.
+
+
+
+
+ Determines whether two sequences are equal by comparing their
+ elements by using a specified .
+
+
+
+
+ Base implementation for Min/Max operator.
+
+
+
+
+ Base implementation for Min/Max operator for nullable types.
+
+
+
+
+ Returns the minimum value in a generic sequence.
+
+
+
+
+ Invokes a transform function on each element of a generic
+ sequence and returns the minimum resulting value.
+
+
+
+
+ Returns the maximum value in a generic sequence.
+
+
+
+
+ Invokes a transform function on each element of a generic
+ sequence and returns the maximum resulting value.
+
+
+
+
+ Makes an enumerator seen as enumerable once more.
+
+
+ The supplied enumerator must have been started. The first element
+ returned is the element the enumerator was on when passed in.
+ DO NOT use this method if the caller must be a generator. It is
+ mostly safe among aggregate operations.
+
+
+
+
+ Sorts the elements of a sequence in ascending order according to a key.
+
+
+
+
+ Sorts the elements of a sequence in ascending order by using a
+ specified comparer.
+
+
+
+
+ Sorts the elements of a sequence in descending order according to a key.
+
+
+
+
+ Sorts the elements of a sequence in descending order by using a
+ specified comparer.
+
+
+
+
+ Performs a subsequent ordering of the elements in a sequence in
+ ascending order according to a key.
+
+
+
+
+ Performs a subsequent ordering of the elements in a sequence in
+ ascending order by using a specified comparer.
+
+
+
+
+ Performs a subsequent ordering of the elements in a sequence in
+ descending order, according to a key.
+
+
+
+
+ Performs a subsequent ordering of the elements in a sequence in
+ descending order by using a specified comparer.
+
+
+
+
+ Base implementation for Intersect and Except operators.
+
+
+
+
+ Produces the set intersection of two sequences by using the
+ default equality comparer to compare values.
+
+
+
+
+ Produces the set intersection of two sequences by using the
+ specified to compare values.
+
+
+
+
+ Produces the set difference of two sequences by using the
+ default equality comparer to compare values.
+
+
+
+
+ Produces the set difference of two sequences by using the
+ specified to compare values.
+
+
+
+
+ Creates a from an
+ according to a specified key
+ selector function.
+
+
+
+
+ Creates a from an
+ according to a specified key
+ selector function and key comparer.
+
+
+
+
+ Creates a from an
+ according to specified key
+ selector and element selector functions.
+
+
+
+
+ Creates a from an
+ according to a specified key
+ selector function, a comparer, and an element selector function.
+
+
+
+
+ Correlates the elements of two sequences based on matching keys.
+ The default equality comparer is used to compare keys.
+
+
+
+
+ Correlates the elements of two sequences based on matching keys.
+ The default equality comparer is used to compare keys. A
+ specified is used to compare keys.
+
+
+
+
+ Correlates the elements of two sequences based on equality of
+ keys and groups the results. The default equality comparer is
+ used to compare keys.
+
+
+
+
+ Correlates the elements of two sequences based on equality of
+ keys and groups the results. The default equality comparer is
+ used to compare keys. A specified
+ is used to compare keys.
+
+
+
+
+ Computes the sum of a sequence of nullable values.
+
+
+
+
+ Computes the sum of a sequence of nullable
+ values that are obtained by invoking a transform function on
+ each element of the input sequence.
+
+
+
+
+ Computes the average of a sequence of nullable values.
+
+
+
+
+ Computes the average of a sequence of nullable values
+ that are obtained by invoking a transform function on each
+ element of the input sequence.
+
+
+
+
+ Computes the sum of a sequence of values.
+
+
+
+
+ Computes the sum of a sequence of
+ values that are obtained by invoking a transform function on
+ each element of the input sequence.
+
+
+
+
+ Computes the average of a sequence of values.
+
+
+
+
+ Computes the average of a sequence of values
+ that are obtained by invoking a transform function on each
+ element of the input sequence.
+
+
+
+
+ Returns the minimum value in a sequence of nullable
+ values.
+
+
+
+
+ Invokes a transform function on each element of a sequence and
+ returns the minimum nullable value.
+
+
+
+
+ Returns the maximum value in a sequence of nullable
+ values.
+
+
+
+
+ Invokes a transform function on each element of a sequence and
+ returns the maximum nullable value.
+
+
+
+
+ Computes the sum of a sequence of nullable values.
+
+
+
+
+ Computes the sum of a sequence of nullable
+ values that are obtained by invoking a transform function on
+ each element of the input sequence.
+
+
+
+
+ Computes the average of a sequence of nullable values.
+
+
+
+
+ Computes the average of a sequence of nullable values
+ that are obtained by invoking a transform function on each
+ element of the input sequence.
+
+
+
+
+ Computes the sum of a sequence of values.
+
+
+
+
+ Computes the sum of a sequence of
+ values that are obtained by invoking a transform function on
+ each element of the input sequence.
+
+
+
+
+ Computes the average of a sequence of values.
+
+
+
+
+ Computes the average of a sequence of values
+ that are obtained by invoking a transform function on each
+ element of the input sequence.
+
+
+
+
+ Returns the minimum value in a sequence of nullable
+ values.
+
+
+
+
+ Invokes a transform function on each element of a sequence and
+ returns the minimum nullable value.
+
+
+
+
+ Returns the maximum value in a sequence of nullable
+ values.
+
+
+
+
+ Invokes a transform function on each element of a sequence and
+ returns the maximum nullable value.
+
+
+
+
+ Computes the sum of a sequence of nullable values.
+
+
+
+
+ Computes the sum of a sequence of nullable
+ values that are obtained by invoking a transform function on
+ each element of the input sequence.
+
+
+
+
+ Computes the average of a sequence of nullable values.
+
+
+
+
+ Computes the average of a sequence of nullable values
+ that are obtained by invoking a transform function on each
+ element of the input sequence.
+
+
+
+
+ Computes the sum of a sequence of values.
+
+
+
+
+ Computes the sum of a sequence of
+ values that are obtained by invoking a transform function on
+ each element of the input sequence.
+
+
+
+
+ Computes the average of a sequence of values.
+
+
+
+
+ Computes the average of a sequence of values
+ that are obtained by invoking a transform function on each
+ element of the input sequence.
+
+
+
+
+ Returns the minimum value in a sequence of nullable
+ values.
+
+
+
+
+ Invokes a transform function on each element of a sequence and
+ returns the minimum nullable value.
+
+
+
+
+ Returns the maximum value in a sequence of nullable
+ values.
+
+
+
+
+ Invokes a transform function on each element of a sequence and
+ returns the maximum nullable value.
+
+
+
+
+ Computes the sum of a sequence of nullable values.
+
+
+
+
+ Computes the sum of a sequence of nullable
+ values that are obtained by invoking a transform function on
+ each element of the input sequence.
+
+
+
+
+ Computes the average of a sequence of nullable values.
+
+
+
+
+ Computes the average of a sequence of nullable values
+ that are obtained by invoking a transform function on each
+ element of the input sequence.
+
+
+
+
+ Computes the sum of a sequence of values.
+
+
+
+
+ Computes the sum of a sequence of
+ values that are obtained by invoking a transform function on
+ each element of the input sequence.
+
+
+
+
+ Computes the average of a sequence of values.
+
+
+
+
+ Computes the average of a sequence of values
+ that are obtained by invoking a transform function on each
+ element of the input sequence.
+
+
+
+
+ Returns the minimum value in a sequence of nullable
+ values.
+
+
+
+
+ Invokes a transform function on each element of a sequence and
+ returns the minimum nullable value.
+
+
+
+
+ Returns the maximum value in a sequence of nullable
+ values.
+
+
+
+
+ Invokes a transform function on each element of a sequence and
+ returns the maximum nullable value.
+
+
+
+
+ Computes the sum of a sequence of nullable values.
+
+
+
+
+ Computes the sum of a sequence of nullable
+ values that are obtained by invoking a transform function on
+ each element of the input sequence.
+
+
+
+
+ Computes the average of a sequence of nullable values.
+
+
+
+
+ Computes the average of a sequence of nullable values
+ that are obtained by invoking a transform function on each
+ element of the input sequence.
+
+
+
+
+ Computes the sum of a sequence of values.
+
+
+
+
+ Computes the sum of a sequence of
+ values that are obtained by invoking a transform function on
+ each element of the input sequence.
+
+
+
+
+ Computes the average of a sequence of values.
+
+
+
+
+ Computes the average of a sequence of values
+ that are obtained by invoking a transform function on each
+ element of the input sequence.
+
+
+
+
+ Returns the minimum value in a sequence of nullable
+ values.
+
+
+
+
+ Invokes a transform function on each element of a sequence and
+ returns the minimum nullable value.
+
+
+
+
+ Returns the maximum value in a sequence of nullable
+ values.
+
+
+
+
+ Invokes a transform function on each element of a sequence and
+ returns the maximum nullable value.
+
+
+
+
+ Represents a collection of objects that have a common key.
+
+
+
+
+ Gets the key of the .
+
+
+
+
+ Defines an indexer, size property, and Boolean search method for
+ data structures that map keys to
+ sequences of values.
+
+
+
+
+ Represents a sorted sequence.
+
+
+
+
+ Performs a subsequent ordering on the elements of an
+ according to a key.
+
+
+
+
+ Represents a collection of keys each mapped to one or more values.
+
+
+
+
+ Gets the number of key/value collection pairs in the .
+
+
+
+
+ Gets the collection of values indexed by the specified key.
+
+
+
+
+ Determines whether a specified key is in the .
+
+
+
+
+ Applies a transform function to each key and its associated
+ values and returns the results.
+
+
+
+
+ Returns a generic enumerator that iterates through the .
+
+
+
+
+ See issue #11
+ for why this method is needed and cannot be expressed as a
+ lambda at the call site.
+
+
+
+
+ See issue #11
+ for why this method is needed and cannot be expressed as a
+ lambda at the call site.
+
+
+
+
+ Converts the value to the specified type. If the value is unable to be converted, the
+ value is checked whether it assignable to the specified type.
+
+ The value to convert.
+ The culture to use when converting.
+ The type to convert or cast the value to.
+
+ The converted type. If conversion was unsuccessful, the initial value
+ is returned if assignable to the target type.
+
+
+
+
+ Gets a dictionary of the names and values of an Enum type.
+
+
+
+
+
+ Gets a dictionary of the names and values of an Enum type.
+
+ The enum type to get names and values for.
+
+
+
+
+ Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer.
+
+
+
+
+ Determines whether the collection is null or empty.
+
+ The collection.
+
+ true if the collection is null or empty; otherwise, false.
+
+
+
+
+ Adds the elements of the specified collection to the specified generic IList.
+
+ The list to add to.
+ The collection of elements to add.
+
+
+
+ Gets the type of the typed collection's items.
+
+ The type.
+ The type of the typed collection's items.
+
+
+
+ Gets the member's underlying type.
+
+ The member.
+ The underlying type of the member.
+
+
+
+ Determines whether the member is an indexed property.
+
+ The member.
+
+ true if the member is an indexed property; otherwise, false.
+
+
+
+
+ Determines whether the property is an indexed property.
+
+ The property.
+
+ true if the property is an indexed property; otherwise, false.
+
+
+
+
+ Gets the member's value on the object.
+
+ The member.
+ The target object.
+ The member's value on the object.
+
+
+
+ Sets the member's value on the target object.
+
+ The member.
+ The target.
+ The value.
+
+
+
+ Determines whether the specified MemberInfo can be read.
+
+ The MemberInfo to determine whether can be read.
+ /// if set to true then allow the member to be gotten non-publicly.
+
+ true if the specified MemberInfo can be read; otherwise, false.
+
+
+
+
+ Determines whether the specified MemberInfo can be set.
+
+ The MemberInfo to determine whether can be set.
+ if set to true then allow the member to be set non-publicly.
+ if set to true then allow the member to be set if read-only.
+
+ true if the specified MemberInfo can be set; otherwise, false.
+
+
+
+
+ Determines whether the string is all white space. Empty string will return false.
+
+ The string to test whether it is all white space.
+
+ true if the string is all white space; otherwise, false.
+
+
+
+
+ Indicating whether a property is required.
+
+
+
+
+ The property is not required. The default state.
+
+
+
+
+ The property must be defined in JSON but can be a null value.
+
+
+
+
+ The property must be defined in JSON and cannot be a null value.
+
+
+
+
+ The property is not required but it cannot be a null value.
+
+
+
+
+ Specifies reference handling options for the .
+ Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable.
+
+
+
+
+
+
+
+ Do not preserve references when serializing types.
+
+
+
+
+ Preserve references when serializing into a JSON object structure.
+
+
+
+
+ Preserve references when serializing into a JSON array structure.
+
+
+
+
+ Preserve references when serializing.
+
+
+
+
+ Provides an interface to enable a class to return line and position information.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Gets the current line position.
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Gets or sets a value indicating whether null items are allowed in the collection.
+
+ true if null items are allowed in the collection; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a flag indicating whether the array can contain null items
+
+ A flag indicating whether the array can contain null items.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the id.
+
+ The id.
+
+
+
+ Gets or sets the title.
+
+ The title.
+
+
+
+ Gets or sets the description.
+
+ The description.
+
+
+
+ Gets or sets the collection's items converter.
+
+ The collection's items converter.
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets a value that indicates whether to preserve object references.
+
+
+ true to keep object reference; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets a value that indicates whether to preserve collection's items references.
+
+
+ true to keep collection's items object references; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets the reference loop handling used when serializing the collection's items.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the type name handling used when serializing the collection's items.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Specifies default value handling options for the .
+
+
+
+
+
+
+
+
+ Include members where the member value is the same as the member's default value when serializing objects.
+ Included members are written to JSON. Has no effect when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ so that is is not written to JSON.
+ This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
+ decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
+ placing the on the property.
+
+
+
+
+ Members with a default value but no JSON will be set to their default value when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ and sets members to their default value when deserializing.
+
+
+
+
+ Instructs the to use the specified when serializing the member or class.
+
+
+
+
+ Gets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by ConverterType.
+ If null, the default constructor is used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+ Parameter list to use when constructing the . Can be null.
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the member serialization.
+
+ The member serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified member serialization.
+
+ The member serialization.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Specifies the settings on a object.
+
+
+
+
+ Gets or sets how reference loops (e.g. a class referencing itself) is handled.
+
+ Reference loop handling.
+
+
+
+ Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+ Missing member handling.
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how null values are handled during serialization and deserialization.
+
+ Null value handling.
+
+
+
+ Gets or sets how null default are handled during serialization and deserialization.
+
+ The default value handling.
+
+
+
+ Gets or sets a collection that will be used during serialization.
+
+ The converters.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+ The preserve references handling.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+ The type name handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+ The contract resolver.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+ The reference resolver.
+
+
+
+ Gets or sets a function that creates the used by the serializer when resolving references.
+
+ A function that creates the used by the serializer when resolving references.
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+ The binder.
+
+
+
+ Gets or sets the error handler called during serialization and deserialization.
+
+ The error handler called during serialization and deserialization.
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional content after deserializing an object.
+
+
+ true if there will be a check for additional content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+
+ Represents a reader that provides validation.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Sets an event handler for receiving schema validation errors.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+
+ Gets the Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+
+ Initializes a new instance of the class that
+ validates the content returned from the given .
+
+ The to read from while validating.
+
+
+
+ Gets or sets the schema.
+
+ The schema.
+
+
+
+ Gets the used to construct this .
+
+ The specified in the constructor.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+
+ A [] or a null reference if the next JSON token is null.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Specifies the member serialization options for the .
+
+
+
+
+ All public members are serialized by default. Members can be excluded using or .
+ This is the default member serialization mode.
+
+
+
+
+ Only members marked with or are serialized.
+ This member serialization mode can also be set by marking the class with .
+
+
+
+
+ All public and private fields are serialized. Members can be excluded using or .
+ This member serialization mode can also be set by marking the class with
+ and setting IgnoreSerializableAttribute on to false.
+
+
+
+
+ Specifies how object creation is handled by the .
+
+
+
+
+ Reuse existing objects, create new objects when needed.
+
+
+
+
+ Only reuse existing objects.
+
+
+
+
+ Always create new objects.
+
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+ The TextReader containing the XML data to read.
+
+
+
+ Gets or sets the reader's character buffer pool.
+
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Changes the state to closed.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Gets the current line position.
+
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Instructs the to always serialize the member with the specified name.
+
+
+
+
+ Gets or sets the used when serializing the property's collection items.
+
+ The collection's items .
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the null value handling used when serializing this property.
+
+ The null value handling.
+
+
+
+ Gets or sets the default value handling used when serializing this property.
+
+ The default value handling.
+
+
+
+ Gets or sets the reference loop handling used when serializing this property.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the object creation handling used when deserializing this property.
+
+ The object creation handling.
+
+
+
+ Gets or sets the type name handling used when serializing this property.
+
+ The type name handling.
+
+
+
+ Gets or sets whether this property's value is serialized as a reference.
+
+ Whether this property's value is serialized as a reference.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets a value indicating whether this property is required.
+
+
+ A value indicating whether this property is required.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ Name of the property.
+
+
+
+ Instructs the not to serialize the public field or public read/write property value.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the writer's character array pool.
+
+
+
+
+ Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets which character to use to quote attribute values.
+
+
+
+
+ Gets or sets which character to use for indenting when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets a value indicating whether object names will be surrounded with quotes.
+
+
+
+
+ Creates an instance of the JsonWriter class using the specified .
+
+ The TextWriter to write to.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Converts an object to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+
+ Gets the of the JSON produced by the JsonConverter.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The of the JSON produced by the JsonConverter.
+
+
+
+ Gets a value indicating whether this can read JSON.
+
+ true if this can read JSON; otherwise, false.
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+ true if this can write JSON; otherwise, false.
+
+
+
+ Represents a collection of .
+
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Specifies the state of the reader.
+
+
+
+
+ The Read method has not been called.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Reader is at a property.
+
+
+
+
+ Reader is at the start of an object.
+
+
+
+
+ Reader is in an object.
+
+
+
+
+ Reader is at the start of an array.
+
+
+
+
+ Reader is in an array.
+
+
+
+
+ The Close method has been called.
+
+
+
+
+ Reader has just read a value.
+
+
+
+
+ Reader is at the start of a constructor.
+
+
+
+
+ Reader in a constructor.
+
+
+
+
+ An error occurred that prevents the read operation from continuing.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Gets the current reader state.
+
+ The current reader state.
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the reader is closed.
+
+
+ true to close the underlying stream or when
+ the reader is closed; otherwise false. The default is true.
+
+
+
+
+ Gets or sets a value indicating whether multiple pieces of JSON content can
+ be read from a continuous stream without erroring.
+
+
+ true to support reading multiple pieces of JSON content; otherwise false. The default is false.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+ Get or set how time zones are handling when reading JSON.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how custom date formatted strings are parsed when reading JSON.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+ Gets The Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+
+
+
+ Reads the next JSON token from the stream.
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Skips the children of the current token.
+
+
+
+
+ Sets the current token.
+
+ The new token.
+
+
+
+ Sets the current token and value.
+
+ The new token.
+ The value.
+
+
+
+ Sets the state based on current token type.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Changes the to Closed.
+
+
+
+
+ Provides methods for converting between common language runtime types and JSON types.
+
+
+
+
+
+
+
+ Gets or sets a function that creates default .
+ Default settings are automatically used by serialization methods on ,
+ and and on .
+ To serialize without using any default settings create a with
+ .
+
+
+
+
+ Represents JavaScript's boolean value true as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's boolean value false as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's null as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's undefined as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's positive infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's negative infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's NaN as a string. This field is read-only.
+
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ The time zone handling when the date is converted to a string.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ The string escape handling.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Serializes the specified object to a JSON string.
+
+ The object to serialize.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a collection of .
+
+ The object to serialize.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting and a collection of .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Deserializes the JSON to a .NET object.
+
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to a .NET object using .
+
+ The JSON to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The JSON to deserialize.
+ The of object being deserialized.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type.
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type using .
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The type of the object to deserialize to.
+ The object to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The JSON to deserialize.
+ The type of the object to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The JSON to deserialize.
+ The type of the object to deserialize to.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Populates the object with values from the JSON string.
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+
+
+ Populates the object with values from the JSON string using .
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+
+
+ Serializes the XML node to a JSON string.
+
+ The node to serialize.
+ A JSON string of the XmlNode.
+
+
+
+ Serializes the XML node to a JSON string using formatting.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ A JSON string of the XmlNode.
+
+
+
+ Serializes the XML node to a JSON string using formatting and omits the root object if is true.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ Omits writing the root object.
+ A JSON string of the XmlNode.
+
+
+
+ Deserializes the XmlNode from a JSON string.
+
+ The JSON string.
+ The deserialized XmlNode
+
+
+
+ Deserializes the XmlNode from a JSON string nested in a root elment specified by .
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+ The deserialized XmlNode
+
+
+
+ Deserializes the XmlNode from a JSON string nested in a root elment specified by
+ and writes a .NET array attribute for collections.
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+
+ A flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ The deserialized XmlNode
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Serializes and deserializes objects into and from the JSON format.
+ The enables you to control how objects are encoded into JSON.
+
+
+
+
+ Occurs when the errors during serialization and deserialization.
+
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+
+
+
+ Get or set how reference loops (e.g. a class referencing itself) is handled.
+
+
+
+
+ Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+
+
+
+ Get or set how null values are handled during serialization and deserialization.
+
+
+
+
+ Get or set how null default are handled during serialization and deserialization.
+
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets a collection that will be used during serialization.
+
+ Collection that will be used during serialization.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
+
+
+ true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Creates a new instance.
+ The will not use default settings
+ from .
+
+
+ A new instance.
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will not use default settings
+ from .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance.
+ The will use default settings
+ from .
+
+
+ A new instance.
+ The will use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Deserializes the JSON structure contained by the specified .
+
+ The that contains the JSON structure to deserialize.
+ The being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The type of the object to deserialize.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+
+ Contains the JSON schema extension methods.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ When this method returns, contains any error messages generated while validating.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ The validation event handler.
+
+
+
+
+ Returns detailed information about the schema exception.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+
+ Resolves from an id.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the loaded schemas.
+
+ The loaded schemas.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets a for the specified reference.
+
+ The id.
+ A for the specified reference.
+
+
+
+
+ Specifies undefined schema Id handling options for the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Do not infer a schema Id.
+
+
+
+
+ Use the .NET type name as the schema Id.
+
+
+
+
+ Use the assembly qualified .NET type name as the schema Id.
+
+
+
+
+
+ Returns detailed information related to the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the associated with the validation error.
+
+ The JsonSchemaException associated with the validation error.
+
+
+
+ Gets the path of the JSON location where the validation error occurred.
+
+ The path of the JSON location where the validation error occurred.
+
+
+
+ Gets the text description corresponding to the validation error.
+
+ The text description.
+
+
+
+
+ Represents the callback method that will handle JSON schema validation events and the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+
+ An in-memory representation of a JSON Schema.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the id.
+
+
+
+
+ Gets or sets the title.
+
+
+
+
+ Gets or sets whether the object is required.
+
+
+
+
+ Gets or sets whether the object is read only.
+
+
+
+
+ Gets or sets whether the object is visible to users.
+
+
+
+
+ Gets or sets whether the object is transient.
+
+
+
+
+ Gets or sets the description of the object.
+
+
+
+
+ Gets or sets the types of values allowed by the object.
+
+ The type.
+
+
+
+ Gets or sets the pattern.
+
+ The pattern.
+
+
+
+ Gets or sets the minimum length.
+
+ The minimum length.
+
+
+
+ Gets or sets the maximum length.
+
+ The maximum length.
+
+
+
+ Gets or sets a number that the value should be divisble by.
+
+ A number that the value should be divisble by.
+
+
+
+ Gets or sets the minimum.
+
+ The minimum.
+
+
+
+ Gets or sets the maximum.
+
+ The maximum.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+
+
+ Gets or sets the minimum number of items.
+
+ The minimum number of items.
+
+
+
+ Gets or sets the maximum number of items.
+
+ The maximum number of items.
+
+
+
+ Gets or sets the of items.
+
+ The of items.
+
+
+
+ Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
+
+
+ true if items are validated using their array position; otherwise, false.
+
+
+
+
+ Gets or sets the of additional items.
+
+ The of additional items.
+
+
+
+ Gets or sets a value indicating whether additional items are allowed.
+
+
+ true if additional items are allowed; otherwise, false.
+
+
+
+
+ Gets or sets whether the array items must be unique.
+
+
+
+
+ Gets or sets the of properties.
+
+ The of properties.
+
+
+
+ Gets or sets the of additional properties.
+
+ The of additional properties.
+
+
+
+ Gets or sets the pattern properties.
+
+ The pattern properties.
+
+
+
+ Gets or sets a value indicating whether additional properties are allowed.
+
+
+ true if additional properties are allowed; otherwise, false.
+
+
+
+
+ Gets or sets the required property if this property is present.
+
+ The required property if this property is present.
+
+
+
+ Gets or sets the a collection of valid enum values allowed.
+
+ A collection of valid enum values allowed.
+
+
+
+ Gets or sets disallowed types.
+
+ The disallow types.
+
+
+
+ Gets or sets the default value.
+
+ The default value.
+
+
+
+ Gets or sets the collection of that this schema extends.
+
+ The collection of that this schema extends.
+
+
+
+ Gets or sets the format.
+
+ The format.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The object representing the JSON Schema.
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The to use when resolving schema references.
+ The object representing the JSON Schema.
+
+
+
+ Load a from a string that contains schema JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Parses the specified json.
+
+ The json.
+ The resolver.
+ A populated from the string that contains JSON.
+
+
+
+ Writes this schema to a .
+
+ A into which this method will write.
+
+
+
+ Writes this schema to a using the specified .
+
+ A into which this method will write.
+ The resolver used.
+
+
+
+ Returns a that represents the current .
+
+
+ A that represents the current .
+
+
+
+
+
+ Generates a from a specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets how undefined schemas are handled by the serializer.
+
+
+
+
+ Gets or sets the contract resolver.
+
+ The contract resolver.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+
+ The value types allowed by the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ No type specified.
+
+
+
+
+ String type.
+
+
+
+
+ Float type.
+
+
+
+
+ Integer type.
+
+
+
+
+ Boolean type.
+
+
+
+
+ Object type.
+
+
+
+
+ Array type.
+
+
+
+
+ Null type.
+
+
+
+
+ Any type.
+
+
+
+
+ Specifies missing member handling options for the .
+
+
+
+
+ Ignore a missing member and do not attempt to deserialize it.
+
+
+
+
+ Throw a when a missing member is encountered during deserialization.
+
+
+
+
+ Specifies null value handling options for the .
+
+
+
+
+
+
+
+
+ Include null values when serializing and deserializing objects.
+
+
+
+
+ Ignore null values when serializing and deserializing objects.
+
+
+
+
+ Specifies reference loop handling options for the .
+
+
+
+
+ Throw a when a loop is encountered.
+
+
+
+
+ Ignore loop references and do not serialize.
+
+
+
+
+ Serialize loop references.
+
+
+
+
+ Specifies type name handling options for the .
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Do not include the .NET type name when serializing types.
+
+
+
+
+ Include the .NET type name when serializing into a JSON object structure.
+
+
+
+
+ Include the .NET type name when serializing into a JSON array structure.
+
+
+
+
+ Always include the .NET type name when serializing.
+
+
+
+
+ Include the .NET type name when the type of the object being serialized is not the same as its declared type.
+
+
+
+
+ Specifies the type of JSON token.
+
+
+
+
+ This is returned by the if a method has not been called.
+
+
+
+
+ An object start token.
+
+
+
+
+ An array start token.
+
+
+
+
+ A constructor start token.
+
+
+
+
+ An object property name.
+
+
+
+
+ A comment.
+
+
+
+
+ Raw JSON.
+
+
+
+
+ An integer.
+
+
+
+
+ A float.
+
+
+
+
+ A string.
+
+
+
+
+ A boolean.
+
+
+
+
+ A null token.
+
+
+
+
+ An undefined token.
+
+
+
+
+ An object end token.
+
+
+
+
+ An array end token.
+
+
+
+
+ A constructor end token.
+
+
+
+
+ A Date.
+
+
+
+
+ Byte data.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the writer is closed.
+
+
+ true to close the underlying stream or when
+ the writer is closed; otherwise false. The default is true.
+
+
+
+
+ Gets the top.
+
+ The top.
+
+
+
+ Gets the state of the writer.
+
+
+
+
+ Gets the path of the writer.
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling when writing JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written to JSON text.
+
+
+
+
+ Get or set how and values are formatting when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when writing JSON. Defaults to .
+
+
+
+
+ Creates an instance of the JsonWriter class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the end of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the end of an array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end constructor.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes the end of the current JSON object or array.
+
+
+
+
+ Writes the current token and its children.
+
+ The to read the token from.
+
+
+
+ Writes the current token.
+
+ The to read the token from.
+ A flag indicating whether the current token's children should be written.
+
+
+
+ Writes the token and its value.
+
+ The to write.
+
+ The value to write.
+ A value is only required for tokens that have an associated value, e.g. the property name for .
+ A null value can be passed to the method for token's that don't have a value, e.g. .
+
+
+
+ Writes the token.
+
+ The to write.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON without changing the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Sets the state of the JsonWriter,
+
+ The JsonToken being written.
+ The value being written.
+
+
+
+ Specifies the state of the .
+
+
+
+
+ An exception has been thrown, which has left the in an invalid state.
+ You may call the method to put the in the Closed state.
+ Any other method calls results in an being thrown.
+
+
+
+
+ The method has been called.
+
+
+
+
+ An object is being written.
+
+
+
+
+ A array is being written.
+
+
+
+
+ A constructor is being written.
+
+
+
+
+ A property is being written.
+
+
+
+
+ A write method has not been called.
+
+
+
+
+ This attribute allows us to define extension methods without
+ requiring .NET Framework 3.5. For more information, see the section,
+ Extension Methods in .NET Framework 2.0 Apps,
+ of Basic Instincts: Extension Methods
+ column in MSDN Magazine,
+ issue Nov 2007.
+
+
+
+
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.dll
new file mode 100644
index 0000000..1ed20a0
Binary files /dev/null and b/packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.dll differ
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.xml
new file mode 100644
index 0000000..7067e44
--- /dev/null
+++ b/packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.xml
@@ -0,0 +1,8922 @@
+
+
+
+ Newtonsoft.Json
+
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary.
+
+
+ true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether the root object will be read as a JSON array.
+
+
+ true if the root object will be read as a JSON array; otherwise, false.
+
+
+
+
+ Gets or sets the used when reading values from BSON.
+
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Changes the to Closed.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the used when writing values to BSON.
+ When set to no conversion will occur.
+
+ The used when writing values to BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The writer.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value that represents a BSON object id.
+
+ The Object ID value to write.
+
+
+
+ Writes a BSON regex.
+
+ The regex pattern.
+ The regex options.
+
+
+
+ Represents a BSON Oid (object id).
+
+
+
+
+ Gets or sets the value of the Oid.
+
+ The value of the Oid.
+
+
+
+ Initializes a new instance of the class.
+
+ The Oid value.
+
+
+
+ Converts a binary value to and from a base 64 string value.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Create a custom object
+
+ The object type to convert.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Creates an object which will then be populated by the serializer.
+
+ Type of the object.
+ The created object.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+
+ true if this can write JSON; otherwise, false.
+
+
+
+
+ Provides a base class for converting a to and from JSON.
+
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an Entity Framework EntityKey to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an to and from its name string value.
+
+
+
+
+ Gets or sets a value indicating whether the written enum text should be camel case.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether integer values are allowed.
+
+ true if integers are allowed; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from a string (e.g. "1.2.3.4").
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z).
+
+
+
+
+ Gets or sets the date time styles used when converting a date to and from JSON.
+
+ The date time styles used when converting a date to and from JSON.
+
+
+
+ Gets or sets the date time format used when converting a date to and from JSON.
+
+ The date time format used when converting a date to and from JSON.
+
+
+
+ Gets or sets the culture used when converting a date to and from JSON.
+
+ The culture used when converting a date to and from JSON.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)).
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts XML to and from JSON.
+
+
+
+
+ Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements.
+
+ The name of the deserialize root element.
+
+
+
+ Gets or sets a flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ true if the array attibute is written to the XML; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether to write the root JSON object.
+
+ true if the JSON root object is omitted; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The calling serializer.
+ The value.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Checks if the attributeName is a namespace attribute.
+
+ Attribute name to test.
+ The attribute name prefix if it has one, otherwise an empty string.
+ true if attribute name is for a namespace attribute, otherwise false.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Specifies how constructors are used when initializing objects during deserialization by the .
+
+
+
+
+ First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor.
+
+
+
+
+ Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
+
+
+
+
+ Specifies how dates are formatted when writing JSON text.
+
+
+
+
+ Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
+
+
+
+
+ Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
+
+
+
+
+ Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
+
+
+
+
+ Date formatted strings are not parsed to a date type and are read as strings.
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Specifies how to treat the time value when converting between string and .
+
+
+
+
+ Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
+
+
+
+
+ Treat as a UTC. If the object represents a local time, it is converted to a UTC.
+
+
+
+
+ Treat as a local time if a is being converted to a string.
+ If a string is being converted to , convert to a local time if a time zone is specified.
+
+
+
+
+ Time zone information should be preserved when converting.
+
+
+
+
+ Specifies float format handling options when writing special floating point numbers, e.g. ,
+ and with .
+
+
+
+
+ Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
+
+
+
+
+ Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
+ Note that this will produce non-valid JSON.
+
+
+
+
+ Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property.
+
+
+
+
+ Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Specifies formatting options for the .
+
+
+
+
+ No special formatting is applied. This is the default.
+
+
+
+
+ Causes child objects to be indented according to the and settings.
+
+
+
+
+ Provides an interface for using pooled arrays.
+
+ The array type content.
+
+
+
+ Rent a array from the pool. This array must be returned when it is no longer needed.
+
+ The minimum required length of the array. The returned array may be longer.
+ The rented array from the pool. This array must be returned when it is no longer needed.
+
+
+
+ Return an array to the pool.
+
+ The array that is being returned.
+
+
+
+ Instructs the to use the specified constructor when deserializing that object.
+
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Instructs the to deserialize properties with no matching class member into the specified collection
+ and write values during serialization.
+
+
+
+
+ Gets or sets a value that indicates whether to write extension data when serializing the object.
+
+
+ true to write extension data when serializing the object; otherwise, false. The default is true.
+
+
+
+
+ Gets or sets a value that indicates whether to read extension data when deserializing the object.
+
+
+ true to read extension data when deserializing the object; otherwise, false. The default is true.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Instructs the to always serialize the member, and require the member has a value.
+
+
+
+
+ Specifies how JSON comments are handled when loading JSON.
+
+
+
+
+ Ignore comments.
+
+
+
+
+ Load comments as a with type .
+
+
+
+
+ Specifies how line information is handled when loading JSON.
+
+
+
+
+ Ignore line information.
+
+
+
+
+ Load line information.
+
+
+
+
+ Represents a view of a .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The name.
+
+
+
+ When overridden in a derived class, returns whether resetting an object changes its value.
+
+
+ true if resetting the component changes its value; otherwise, false.
+
+ The component to test for reset capability.
+
+
+
+ When overridden in a derived class, gets the current value of the property on a component.
+
+
+ The value of a property for a given component.
+
+ The component with the property for which to retrieve the value.
+
+
+
+
+ When overridden in a derived class, resets the value for this property of the component to the default value.
+
+ The component with the property value that is to be reset to the default value.
+
+
+
+
+ When overridden in a derived class, sets the value of the component to a different value.
+
+ The component with the property value that is to be set.
+ The new value.
+
+
+
+
+ When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
+
+
+ true if the property should be persisted; otherwise, false.
+
+ The component with the property to be examined for persistence.
+
+
+
+ When overridden in a derived class, gets the type of the component this property is bound to.
+
+
+ A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type.
+
+
+
+
+ When overridden in a derived class, gets a value indicating whether this property is read-only.
+
+
+ true if the property is read-only; otherwise, false.
+
+
+
+
+ When overridden in a derived class, gets the type of the property.
+
+
+ A that represents the type of the property.
+
+
+
+
+ Gets the hash code for the name of the member.
+
+
+
+ The hash code for the name of the member.
+
+
+
+
+ Specifies the settings used when loading JSON.
+
+
+
+
+ Gets or sets how JSON comments are handled when loading JSON.
+
+ The JSON comment handling.
+
+
+
+ Gets or sets how JSON line info is handled when loading JSON.
+
+ The JSON line info handling.
+
+
+
+ Specifies the settings used when merging JSON.
+
+
+
+
+ Gets or sets the method used when merging JSON arrays.
+
+ The method used when merging JSON arrays.
+
+
+
+ Gets or sets how how null value properties are merged.
+
+ How null value properties are merged.
+
+
+
+ Specifies how JSON arrays are merged together.
+
+
+
+ Concatenate arrays.
+
+
+ Union arrays, skipping items that already exist.
+
+
+ Replace all array items.
+
+
+ Merge array items together, matched by index.
+
+
+
+ Specifies how null value properties are merged.
+
+
+
+
+ The content's null value properties will be ignored during merging.
+
+
+
+
+ The content's null value properties will be merged.
+
+
+
+
+ Represents a raw JSON string.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class.
+
+ The raw json.
+
+
+
+ Creates an instance of with the content of the reader's current token.
+
+ The reader.
+ An instance of with the content of the reader's current token.
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Compares tokens to determine whether they are equal.
+
+
+
+
+ Determines whether the specified objects are equal.
+
+ The first object of type to compare.
+ The second object of type to compare.
+
+ true if the specified objects are equal; otherwise, false.
+
+
+
+
+ Returns a hash code for the specified object.
+
+ The for which a hash code is to be returned.
+ A hash code for the specified object.
+ The type of is a reference type and is null.
+
+
+
+ Contains the LINQ to JSON extension methods.
+
+
+
+
+ Returns a collection of tokens that contains the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the descendants of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, and the descendants of every token in the source collection.
+
+
+
+ Returns a collection of child properties of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the properties of every object in the source collection.
+
+
+
+ Returns a collection of child values of every object in the source collection with the given key.
+
+ An of that contains the source collection.
+ The token key.
+ An of that contains the values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of child values of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child values of every object in the source collection with the given key.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ The token key.
+ An that contains the converted values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of converted child values of every object in the source collection.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Converts the value.
+
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Converts the value.
+
+ The source collection type.
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Returns a collection of child tokens of every array in the source collection.
+
+ The source collection type.
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child tokens of every array in the source collection.
+
+ An of that contains the source collection.
+ The type to convert the values to.
+ The source collection type.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Returns the input typed as .
+
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Returns the input typed as .
+
+ The source collection type.
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Represents a JSON constructor.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets or sets the name of this constructor.
+
+ The constructor name.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ The constructor name.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Represents a token that can contain other tokens.
+
+
+
+
+ Occurs when the list changes or an item in the list changes.
+
+
+
+
+ Occurs before an item is added to the collection.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Raises the event.
+
+ The instance containing the event data.
+
+
+
+ Raises the event.
+
+ The instance containing the event data.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Get the first child token of this token.
+
+
+ A containing the first child token of the .
+
+
+
+
+ Get the last child token of this token.
+
+
+ A containing the last child token of the .
+
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+
+ An of containing the child tokens of this , in document order.
+
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+
+ A containing the child values of this , in document order.
+
+
+
+
+ Returns a collection of the descendant tokens for this token in document order.
+
+ An containing the descendant tokens of the .
+
+
+
+ Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
+
+ An containing this token, and all the descendant tokens of the .
+
+
+
+ Adds the specified content as children of this .
+
+ The content to be added.
+
+
+
+ Adds the specified content as the first children of this .
+
+ The content to be added.
+
+
+
+ Creates an that can be used to add tokens to the .
+
+ An that is ready to have content written to it.
+
+
+
+ Replaces the children nodes of this token with the specified content.
+
+ The content.
+
+
+
+ Removes the child nodes from this token.
+
+
+
+
+ Merge the specified content into this .
+
+ The content to be merged.
+
+
+
+ Merge the specified content into this using .
+
+ The content to be merged.
+ The used to merge the content.
+
+
+
+ Gets the count of child JSON tokens.
+
+ The count of child JSON tokens
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ An empty collection of objects.
+
+
+
+
+ Initializes a new instance of the struct.
+
+ The enumerable.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Returns a hash code for this instance.
+
+
+ A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
+
+
+
+
+ Represents a JSON object.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Occurs when a property value is changing.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets an of this object's properties.
+
+ An of this object's properties.
+
+
+
+ Gets a the specified name.
+
+ The property name.
+ A with the specified name or null.
+
+
+
+ Gets an of this object's property values.
+
+ An of this object's property values.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the with the specified property name.
+
+
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified property name.
+
+ Name of the property.
+ The with the specified property name.
+
+
+
+ Gets the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ One of the enumeration values that specifies how the strings will be compared.
+ The with the specified property name.
+
+
+
+ Tries to get the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ The value.
+ One of the enumeration values that specifies how the strings will be compared.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Adds the specified property name.
+
+ Name of the property.
+ The value.
+
+
+
+ Removes the property with the specified name.
+
+ Name of the property.
+ true if item was successfully removed; otherwise, false.
+
+
+
+ Tries the get value.
+
+ Name of the property.
+ The value.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Raises the event with the provided arguments.
+
+ Name of the property.
+
+
+
+ Raises the event with the provided arguments.
+
+ Name of the property.
+
+
+
+ Returns the properties for this instance of a component.
+
+
+ A that represents the properties for this component instance.
+
+
+
+
+ Returns the properties for this instance of a component using the attribute array as a filter.
+
+ An array of type that is used as a filter.
+
+ A that represents the filtered properties for this component instance.
+
+
+
+
+ Returns a collection of custom attributes for this instance of a component.
+
+
+ An containing the attributes for this object.
+
+
+
+
+ Returns the class name of this instance of a component.
+
+
+ The class name of the object, or null if the class does not have a name.
+
+
+
+
+ Returns the name of this instance of a component.
+
+
+ The name of the object, or null if the object does not have a name.
+
+
+
+
+ Returns a type converter for this instance of a component.
+
+
+ A that is the converter for this object, or null if there is no for this object.
+
+
+
+
+ Returns the default event for this instance of a component.
+
+
+ An that represents the default event for this object, or null if this object does not have events.
+
+
+
+
+ Returns the default property for this instance of a component.
+
+
+ A that represents the default property for this object, or null if this object does not have properties.
+
+
+
+
+ Returns an editor of the specified type for this instance of a component.
+
+ A that represents the editor for this object.
+
+ An of the specified type that is the editor for this object, or null if the editor cannot be found.
+
+
+
+
+ Returns the events for this instance of a component using the specified attribute array as a filter.
+
+ An array of type that is used as a filter.
+
+ An that represents the filtered events for this component instance.
+
+
+
+
+ Returns the events for this instance of a component.
+
+
+ An that represents the events for this component instance.
+
+
+
+
+ Returns an object that contains the property described by the specified property descriptor.
+
+ A that represents the property whose owner is to be found.
+
+ An that represents the owner of the specified property.
+
+
+
+
+ Represents a JSON array.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the at the specified index.
+
+
+
+
+
+ Determines the index of a specific item in the .
+
+ The object to locate in the .
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+ The object to insert into the .
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Removes the item at the specified index.
+
+ The zero-based index of the item to remove.
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Adds an item to the .
+
+ The object to add to the .
+ The is read-only.
+
+
+
+ Removes all items from the .
+
+ The is read-only.
+
+
+
+ Determines whether the contains a specific value.
+
+ The object to locate in the .
+
+ true if is found in the ; otherwise, false.
+
+
+
+
+ Copies to.
+
+ The array.
+ Index of the array.
+
+
+
+ Gets a value indicating whether the is read-only.
+
+ true if the is read-only; otherwise, false.
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+ The object to remove from the .
+
+ true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
+
+ The is read-only.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets the at the reader's current position.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The token to read from.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets the at the writer's current position.
+
+
+
+
+ Gets the token being writen.
+
+ The token being writen.
+
+
+
+ Initializes a new instance of the class writing to the given .
+
+ The container being written to.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Represents an abstract JSON token.
+
+
+
+
+ Gets a comparer that can compare two tokens for value equality.
+
+ A that can compare two nodes for value equality.
+
+
+
+ Gets or sets the parent.
+
+ The parent.
+
+
+
+ Gets the root of this .
+
+ The root of this .
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Compares the values of two tokens, including the values of all descendant tokens.
+
+ The first to compare.
+ The second to compare.
+ true if the tokens are equal; otherwise false.
+
+
+
+ Gets the next sibling token of this node.
+
+ The that contains the next sibling token.
+
+
+
+ Gets the previous sibling token of this node.
+
+ The that contains the previous sibling token.
+
+
+
+ Gets the path of the JSON token.
+
+
+
+
+ Adds the specified content immediately after this token.
+
+ A content object that contains simple content or a collection of content objects to be added after this token.
+
+
+
+ Adds the specified content immediately before this token.
+
+ A content object that contains simple content or a collection of content objects to be added before this token.
+
+
+
+ Returns a collection of the ancestor tokens of this token.
+
+ A collection of the ancestor tokens of this token.
+
+
+
+ Returns a collection of tokens that contain this token, and the ancestors of this token.
+
+ A collection of tokens that contain this token, and the ancestors of this token.
+
+
+
+ Returns a collection of the sibling tokens after this token, in document order.
+
+ A collection of the sibling tokens after this tokens, in document order.
+
+
+
+ Returns a collection of the sibling tokens before this token, in document order.
+
+ A collection of the sibling tokens before this token, in document order.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets the with the specified key converted to the specified type.
+
+ The type to convert the token to.
+ The token key.
+ The converted token value.
+
+
+
+ Get the first child token of this token.
+
+ A containing the first child token of the .
+
+
+
+ Get the last child token of this token.
+
+ A containing the last child token of the .
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+ An of containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
+
+ The type to filter the child tokens on.
+ A containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+ A containing the child values of this , in document order.
+
+
+
+ Removes this token from its parent.
+
+
+
+
+ Replaces this token with the specified token.
+
+ The value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Returns the indented JSON for this token.
+
+
+ The indented JSON for this token.
+
+
+
+
+ Returns the JSON for this token using the given formatting and converters.
+
+ Indicates how the output is formatted.
+ A collection of which will be used when writing the token.
+ The JSON for this token using the given formatting and converters.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to [].
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from [] to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Creates an for this token.
+
+ An that can be used to read this token and its descendants.
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the value of the specified object
+
+
+
+ Creates a from an object using the specified .
+
+ The object that will be used to create .
+ The that will be used when reading the object.
+ A with the value of the specified object
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A , or null.
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ A .
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ An that contains the selected elements.
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ An that contains the selected elements.
+
+
+
+ Creates a new instance of the . All child tokens are recursively cloned.
+
+ A new instance of the .
+
+
+
+ Adds an object to the annotation list of this .
+
+ The annotation to add.
+
+
+
+ Get the first annotation object of the specified type from this .
+
+ The type of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets the first annotation object of the specified type from this .
+
+ The of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The type of the annotations to retrieve.
+ An that contains the annotations for this .
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The of the annotations to retrieve.
+ An of that contains the annotations that match the specified type for this .
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The type of annotations to remove.
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The of annotations to remove.
+
+
+
+ Represents a JSON property.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the property name.
+
+ The property name.
+
+
+
+ Gets or sets the property value.
+
+ The property value.
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Specifies the type of token.
+
+
+
+
+ No token type has been set.
+
+
+
+
+ A JSON object.
+
+
+
+
+ A JSON array.
+
+
+
+
+ A JSON constructor.
+
+
+
+
+ A JSON object property.
+
+
+
+
+ A comment.
+
+
+
+
+ An integer value.
+
+
+
+
+ A float value.
+
+
+
+
+ A string value.
+
+
+
+
+ A boolean value.
+
+
+
+
+ A null value.
+
+
+
+
+ An undefined value.
+
+
+
+
+ A date value.
+
+
+
+
+ A raw JSON value.
+
+
+
+
+ A collection of bytes value.
+
+
+
+
+ A Guid value.
+
+
+
+
+ A Uri value.
+
+
+
+
+ A TimeSpan value.
+
+
+
+
+ Represents a value in JSON (string, integer, date, etc).
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Creates a comment with the given value.
+
+ The value.
+ A comment with the given value.
+
+
+
+ Creates a string with the given value.
+
+ The value.
+ A string with the given value.
+
+
+
+ Creates a null value.
+
+ A null value.
+
+
+
+ Creates a undefined value.
+
+ A undefined value.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets or sets the underlying token value.
+
+ The underlying token value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ true if the current object is equal to the parameter; otherwise, false.
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+ The to compare with the current .
+
+ true if the specified is equal to the current ; otherwise, false.
+
+
+ The parameter is null.
+
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
+
+ An object to compare with this instance.
+
+ A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
+ Value
+ Meaning
+ Less than zero
+ This instance is less than .
+ Zero
+ This instance is equal to .
+ Greater than zero
+ This instance is greater than .
+
+
+ is not the same type as this instance.
+
+
+
+
+ Specifies metadata property handling options for the .
+
+
+
+
+ Read metadata properties located at the start of a JSON object.
+
+
+
+
+ Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
+
+
+
+
+ Do not try to read metadata properties.
+
+
+
+
+ A camel case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ The default naming strategy. Property names and dictionary keys are unchanged.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Represents a trace writer that writes to the application's instances.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Provides methods to get attributes.
+
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Represents a trace writer.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the default collection items .
+
+ The converter.
+
+
+
+ Gets or sets a value indicating whether the collection items preserve object references.
+
+ true if collection items preserve object references; otherwise, false.
+
+
+
+ Gets or sets the collection item reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the collection item type name handling.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Represents a trace writer that writes to memory. When the trace message limit is
+ reached then old trace messages will be removed as new messages are added.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Returns an enumeration of the most recent trace messages.
+
+ An enumeration of the most recent trace messages.
+
+
+
+ Returns a of the most recent trace messages.
+
+
+ A of the most recent trace messages.
+
+
+
+
+ A base class for resolving how property names and dictionary keys are serialized.
+
+
+
+
+ A flag indicating whether dictionary keys should be processed.
+ Defaults to false.
+
+
+
+
+ A flag indicating whether explicitly specified property names,
+ e.g. a property name customized with a , should be processed.
+ Defaults to false.
+
+
+
+
+ Gets the serialized name for a given property name.
+
+ The initial property name.
+ A flag indicating whether the property has had a name explicitly specfied.
+ The serialized property name.
+
+
+
+ Gets the serialized key for a given dictionary key.
+
+ The initial dictionary key.
+ The serialized dictionary key.
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Provides methods to get attributes from a , , or .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The instance to get attributes for. This parameter should be a , , or .
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ A snake case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the ISerializable object constructor.
+
+ The ISerializable object constructor.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Get and set values for a using dynamic methods.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Provides data for the Error event.
+
+
+
+
+ Gets the current object the error event is being raised against.
+
+ The current object the error event is being raised against.
+
+
+
+ Gets the error context.
+
+ The error context.
+
+
+
+ Initializes a new instance of the class.
+
+ The current object.
+ The error context.
+
+
+
+ Resolves member mappings for a type, camel casing property names.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+ Gets a value indicating whether members are being get and set using dynamic code generation.
+ This value is determined by the runtime permissions available.
+
+
+ true if using dynamic code generation; otherwise, false.
+
+
+
+
+ Gets or sets the default members search flags.
+
+ The default members search flags.
+
+
+
+ Gets or sets a value indicating whether compiler generated members should be serialized.
+
+
+ true if serialized compiler generated members; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
+
+
+ true if the interface will be ignored when serializing and deserializing types; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
+
+
+ true if the attribute will be ignored when serializing and deserializing types; otherwise, false.
+
+
+
+
+ Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
+
+ The naming strategy used to resolve how property names and dictionary keys are serialized.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ If set to true the will use a cached shared with other resolvers of the same type.
+ Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only
+ happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different
+ results. When set to false it is highly recommended to reuse instances with the .
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Gets the serializable members for the type.
+
+ The type to get serializable members for.
+ The serializable members for the type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates the constructor parameters.
+
+ The constructor to create properties for.
+ The type's member properties.
+ Properties for the given .
+
+
+
+ Creates a for the given .
+
+ The matching member property.
+ The constructor parameter.
+ A created for the given .
+
+
+
+ Resolves the default for the contract.
+
+ Type of the object.
+ The contract's default .
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Determines which contract type is created for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates properties for the given .
+
+ The type to create properties for.
+ /// The member serialization mode for the type.
+ Properties for the given .
+
+
+
+ Creates the used by the serializer to get and set values from a member.
+
+ The member.
+ The used by the serializer to get and set values from a member.
+
+
+
+ Creates a for the given .
+
+ The member's parent .
+ The member to create a for.
+ A created for the given .
+
+
+
+ Resolves the name of the property.
+
+ Name of the property.
+ Resolved name of the property.
+
+
+
+ Resolves the key of the dictionary. By default is used to resolve dictionary keys.
+
+ Key of the dictionary.
+ Resolved key of the dictionary.
+
+
+
+ Gets the resolved name of the property.
+
+ Name of the property.
+ Name of the property.
+
+
+
+ The default serialization binder used when resolving and loading classes from type names.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+ The type of the object the formatter creates a new instance of.
+
+
+
+
+ Provides information surrounding an error.
+
+
+
+
+ Gets the error.
+
+ The error.
+
+
+
+ Gets the original object that caused the error.
+
+ The original object that caused the error.
+
+
+
+ Gets the member that caused the error.
+
+ The member that caused the error.
+
+
+
+ Gets the path of the JSON location where the error occurred.
+
+ The path of the JSON location where the error occurred.
+
+
+
+ Gets or sets a value indicating whether this is handled.
+
+ true if handled; otherwise, false.
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Provides methods to get and set values.
+
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the of the collection items.
+
+ The of the collection items.
+
+
+
+ Gets a value indicating whether the collection type is a multidimensional array.
+
+ true if the collection type is a multidimensional array; otherwise, false.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the collection values.
+
+ true if the creator has a parameter with the collection values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Handles serialization callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+
+
+
+ Handles serialization error callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+ The error context.
+
+
+
+ Sets extension data for an object during deserialization.
+
+ The object to set extension data on.
+ The extension data key.
+ The extension data value.
+
+
+
+ Gets extension data for an object during serialization.
+
+ The object to set extension data on.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the underlying type for the contract.
+
+ The underlying type for the contract.
+
+
+
+ Gets or sets the type created during deserialization.
+
+ The type created during deserialization.
+
+
+
+ Gets or sets whether this type contract is serialized as a reference.
+
+ Whether this type contract is serialized as a reference.
+
+
+
+ Gets or sets the default for this contract.
+
+ The converter.
+
+
+
+ Gets or sets all methods called immediately after deserialization of the object.
+
+ The methods called immediately after deserialization of the object.
+
+
+
+ Gets or sets all methods called during deserialization of the object.
+
+ The methods called during deserialization of the object.
+
+
+
+ Gets or sets all methods called after serialization of the object graph.
+
+ The methods called after serialization of the object graph.
+
+
+
+ Gets or sets all methods called before serialization of the object.
+
+ The methods called before serialization of the object.
+
+
+
+ Gets or sets all method called when an error is thrown during the serialization of the object.
+
+ The methods called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the method called immediately after deserialization of the object.
+
+ The method called immediately after deserialization of the object.
+
+
+
+ Gets or sets the method called during deserialization of the object.
+
+ The method called during deserialization of the object.
+
+
+
+ Gets or sets the method called after serialization of the object graph.
+
+ The method called after serialization of the object graph.
+
+
+
+ Gets or sets the method called before serialization of the object.
+
+ The method called before serialization of the object.
+
+
+
+ Gets or sets the method called when an error is thrown during the serialization of the object.
+
+ The method called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the default creator method used to create the object.
+
+ The default creator method used to create the object.
+
+
+
+ Gets or sets a value indicating whether the default creator is non public.
+
+ true if the default object creator is non-public; otherwise, false.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the property name resolver.
+
+ The property name resolver.
+
+
+
+ Gets or sets the dictionary key resolver.
+
+ The dictionary key resolver.
+
+
+
+ Gets the of the dictionary keys.
+
+ The of the dictionary keys.
+
+
+
+ Gets the of the dictionary values.
+
+ The of the dictionary values.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the dictionary values.
+
+ true if the creator has a parameter with the dictionary values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Maps a JSON property to a .NET member or constructor parameter.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the type that declared this property.
+
+ The type that declared this property.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets the name of the underlying member or parameter.
+
+ The name of the underlying member or parameter.
+
+
+
+ Gets the that will get and set the during serialization.
+
+ The that will get and set the during serialization.
+
+
+
+ Gets or sets the for this property.
+
+ The for this property.
+
+
+
+ Gets or sets the type of the property.
+
+ The type of the property.
+
+
+
+ Gets or sets the for the property.
+ If set this converter takes presidence over the contract converter for the property type.
+
+ The converter.
+
+
+
+ Gets or sets the member converter.
+
+ The member converter.
+
+
+
+ Gets or sets a value indicating whether this is ignored.
+
+ true if ignored; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is readable.
+
+ true if readable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is writable.
+
+ true if writable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this has a member attribute.
+
+ true if has a member attribute; otherwise, false.
+
+
+
+ Gets the default value.
+
+ The default value.
+
+
+
+ Gets or sets a value indicating whether this is required.
+
+ A value indicating whether this is required.
+
+
+
+ Gets or sets a value indicating whether this property preserves object references.
+
+
+ true if this instance is reference; otherwise, false.
+
+
+
+
+ Gets or sets the property null value handling.
+
+ The null value handling.
+
+
+
+ Gets or sets the property default value handling.
+
+ The default value handling.
+
+
+
+ Gets or sets the property reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the property object creation handling.
+
+ The object creation handling.
+
+
+
+ Gets or sets or sets the type name handling.
+
+ The type name handling.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialize.
+
+ A predicate used to determine whether the property should be serialize.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be deserialized.
+
+ A predicate used to determine whether the property should be deserialized.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialized.
+
+ A predicate used to determine whether the property should be serialized.
+
+
+
+ Gets or sets an action used to set whether the property has been deserialized.
+
+ An action used to set whether the property has been deserialized.
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets or sets the converter used when serializing the property's collection items.
+
+ The collection's items converter.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ A collection of objects.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type.
+
+
+
+ When implemented in a derived class, extracts the key from the specified element.
+
+ The element from which to extract the key.
+ The key for the specified element.
+
+
+
+ Adds a object.
+
+ The property to add to the collection.
+
+
+
+ Gets the closest matching object.
+ First attempts to get an exact case match of propertyName and then
+ a case insensitive match.
+
+ Name of the property.
+ A matching property if found.
+
+
+
+ Gets a property by property name.
+
+ The name of the property to get.
+ Type property name string comparison.
+ A matching property if found.
+
+
+
+ Used to resolve references when serializing and deserializing JSON by the .
+
+
+
+
+ Resolves a reference to its object.
+
+ The serialization context.
+ The reference to resolve.
+ The object that
+
+
+
+ Gets the reference for the sepecified object.
+
+ The serialization context.
+ The object to get a reference for.
+ The reference to the object.
+
+
+
+ Determines whether the specified object is referenced.
+
+ The serialization context.
+ The object to test for a reference.
+
+ true if the specified object is referenced; otherwise, false.
+
+
+
+
+ Adds a reference to the specified object.
+
+ The serialization context.
+ The reference.
+ The object to reference.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the object member serialization.
+
+ The member object serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Gets the object's properties.
+
+ The object's properties.
+
+
+
+ Gets the constructor parameters required for any non-default constructor
+
+
+
+
+ Gets a collection of instances that define the parameters used with .
+
+
+
+
+ Gets or sets the override constructor used to create the object.
+ This is set when a constructor is marked up using the
+ JsonConstructor attribute.
+
+ The override constructor.
+
+
+
+ Gets or sets the parametrized constructor used to create the object.
+
+ The parametrized constructor.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+ This function is called with a collection of arguments which are defined by the collection.
+
+ The function used to create the object.
+
+
+
+ Gets or sets the extension data setter.
+
+
+
+
+ Gets or sets the extension data getter.
+
+
+
+
+ Gets or sets the extension data value type.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Lookup and create an instance of the JsonConverter type described by the argument.
+
+ The JsonConverter type to create.
+ Optional arguments to pass to an initializing constructor of the JsonConverter.
+ If null, the default constructor is used.
+
+
+
+ Get and set values for a using reflection.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ When applied to a method, specifies that the method is called when an error occurs serializing an object.
+
+
+
+
+ Represents a method that constructs an object.
+
+ The object type to create.
+
+
+
+ Specifies how strings are escaped when writing JSON text.
+
+
+
+
+ Only control characters (e.g. newline) are escaped.
+
+
+
+
+ All non-ASCII and control characters (e.g. newline) are escaped.
+
+
+
+
+ HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
+
+
+
+
+ Converts the value to the specified type. If the value is unable to be converted, the
+ value is checked whether it assignable to the specified type.
+
+ The value to convert.
+ The culture to use when converting.
+ The type to convert or cast the value to.
+
+ The converted type. If conversion was unsuccessful, the initial value
+ is returned if assignable to the target type.
+
+
+
+
+ Gets a dictionary of the names and values of an Enum type.
+
+
+
+
+
+ Gets a dictionary of the names and values of an Enum type.
+
+ The enum type to get names and values for.
+
+
+
+
+ Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer.
+
+
+
+
+ Determines whether the collection is null or empty.
+
+ The collection.
+
+ true if the collection is null or empty; otherwise, false.
+
+
+
+
+ Adds the elements of the specified collection to the specified generic IList.
+
+ The list to add to.
+ The collection of elements to add.
+
+
+
+ Gets the type of the typed collection's items.
+
+ The type.
+ The type of the typed collection's items.
+
+
+
+ Gets the member's underlying type.
+
+ The member.
+ The underlying type of the member.
+
+
+
+ Determines whether the member is an indexed property.
+
+ The member.
+
+ true if the member is an indexed property; otherwise, false.
+
+
+
+
+ Determines whether the property is an indexed property.
+
+ The property.
+
+ true if the property is an indexed property; otherwise, false.
+
+
+
+
+ Gets the member's value on the object.
+
+ The member.
+ The target object.
+ The member's value on the object.
+
+
+
+ Sets the member's value on the target object.
+
+ The member.
+ The target.
+ The value.
+
+
+
+ Determines whether the specified MemberInfo can be read.
+
+ The MemberInfo to determine whether can be read.
+ /// if set to true then allow the member to be gotten non-publicly.
+
+ true if the specified MemberInfo can be read; otherwise, false.
+
+
+
+
+ Determines whether the specified MemberInfo can be set.
+
+ The MemberInfo to determine whether can be set.
+ if set to true then allow the member to be set non-publicly.
+ if set to true then allow the member to be set if read-only.
+
+ true if the specified MemberInfo can be set; otherwise, false.
+
+
+
+
+ Determines whether the string is all white space. Empty string will return false.
+
+ The string to test whether it is all white space.
+
+ true if the string is all white space; otherwise, false.
+
+
+
+
+ Indicating whether a property is required.
+
+
+
+
+ The property is not required. The default state.
+
+
+
+
+ The property must be defined in JSON but can be a null value.
+
+
+
+
+ The property must be defined in JSON and cannot be a null value.
+
+
+
+
+ The property is not required but it cannot be a null value.
+
+
+
+
+ Specifies reference handling options for the .
+ Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable.
+
+
+
+
+
+
+
+ Do not preserve references when serializing types.
+
+
+
+
+ Preserve references when serializing into a JSON object structure.
+
+
+
+
+ Preserve references when serializing into a JSON array structure.
+
+
+
+
+ Preserve references when serializing.
+
+
+
+
+ Provides an interface to enable a class to return line and position information.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Gets the current line position.
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Gets or sets a value indicating whether null items are allowed in the collection.
+
+ true if null items are allowed in the collection; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a flag indicating whether the array can contain null items
+
+ A flag indicating whether the array can contain null items.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the id.
+
+ The id.
+
+
+
+ Gets or sets the title.
+
+ The title.
+
+
+
+ Gets or sets the description.
+
+ The description.
+
+
+
+ Gets or sets the collection's items converter.
+
+ The collection's items converter.
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets a value that indicates whether to preserve object references.
+
+
+ true to keep object reference; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets a value that indicates whether to preserve collection's items references.
+
+
+ true to keep collection's items object references; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets the reference loop handling used when serializing the collection's items.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the type name handling used when serializing the collection's items.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Specifies default value handling options for the .
+
+
+
+
+
+
+
+
+ Include members where the member value is the same as the member's default value when serializing objects.
+ Included members are written to JSON. Has no effect when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ so that is is not written to JSON.
+ This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
+ decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
+ placing the on the property.
+
+
+
+
+ Members with a default value but no JSON will be set to their default value when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ and sets members to their default value when deserializing.
+
+
+
+
+ Instructs the to use the specified when serializing the member or class.
+
+
+
+
+ Gets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by ConverterType.
+ If null, the default constructor is used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+ Parameter list to use when constructing the . Can be null.
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the member serialization.
+
+ The member serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified member serialization.
+
+ The member serialization.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Specifies the settings on a object.
+
+
+
+
+ Gets or sets how reference loops (e.g. a class referencing itself) is handled.
+
+ Reference loop handling.
+
+
+
+ Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+ Missing member handling.
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how null values are handled during serialization and deserialization.
+
+ Null value handling.
+
+
+
+ Gets or sets how null default are handled during serialization and deserialization.
+
+ The default value handling.
+
+
+
+ Gets or sets a collection that will be used during serialization.
+
+ The converters.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+ The preserve references handling.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+ The type name handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+ The contract resolver.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+ The reference resolver.
+
+
+
+ Gets or sets a function that creates the used by the serializer when resolving references.
+
+ A function that creates the used by the serializer when resolving references.
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+ The binder.
+
+
+
+ Gets or sets the error handler called during serialization and deserialization.
+
+ The error handler called during serialization and deserialization.
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional content after deserializing an object.
+
+
+ true if there will be a check for additional content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+
+ Represents a reader that provides validation.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Sets an event handler for receiving schema validation errors.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+
+ Gets the Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+
+ Initializes a new instance of the class that
+ validates the content returned from the given .
+
+ The to read from while validating.
+
+
+
+ Gets or sets the schema.
+
+ The schema.
+
+
+
+ Gets the used to construct this .
+
+ The specified in the constructor.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+
+ A [] or a null reference if the next JSON token is null.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Specifies the member serialization options for the .
+
+
+
+
+ All public members are serialized by default. Members can be excluded using or .
+ This is the default member serialization mode.
+
+
+
+
+ Only members marked with or are serialized.
+ This member serialization mode can also be set by marking the class with .
+
+
+
+
+ All public and private fields are serialized. Members can be excluded using or .
+ This member serialization mode can also be set by marking the class with
+ and setting IgnoreSerializableAttribute on to false.
+
+
+
+
+ Specifies how object creation is handled by the .
+
+
+
+
+ Reuse existing objects, create new objects when needed.
+
+
+
+
+ Only reuse existing objects.
+
+
+
+
+ Always create new objects.
+
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+ The TextReader containing the XML data to read.
+
+
+
+ Gets or sets the reader's character buffer pool.
+
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Changes the state to closed.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Gets the current line position.
+
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Instructs the to always serialize the member with the specified name.
+
+
+
+
+ Gets or sets the used when serializing the property's collection items.
+
+ The collection's items .
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the null value handling used when serializing this property.
+
+ The null value handling.
+
+
+
+ Gets or sets the default value handling used when serializing this property.
+
+ The default value handling.
+
+
+
+ Gets or sets the reference loop handling used when serializing this property.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the object creation handling used when deserializing this property.
+
+ The object creation handling.
+
+
+
+ Gets or sets the type name handling used when serializing this property.
+
+ The type name handling.
+
+
+
+ Gets or sets whether this property's value is serialized as a reference.
+
+ Whether this property's value is serialized as a reference.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets a value indicating whether this property is required.
+
+
+ A value indicating whether this property is required.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ Name of the property.
+
+
+
+ Instructs the not to serialize the public field or public read/write property value.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the writer's character array pool.
+
+
+
+
+ Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets which character to use to quote attribute values.
+
+
+
+
+ Gets or sets which character to use for indenting when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets a value indicating whether object names will be surrounded with quotes.
+
+
+
+
+ Creates an instance of the JsonWriter class using the specified .
+
+ The TextWriter to write to.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Converts an object to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+
+ Gets the of the JSON produced by the JsonConverter.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The of the JSON produced by the JsonConverter.
+
+
+
+ Gets a value indicating whether this can read JSON.
+
+ true if this can read JSON; otherwise, false.
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+ true if this can write JSON; otherwise, false.
+
+
+
+ Represents a collection of .
+
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Specifies the state of the reader.
+
+
+
+
+ The Read method has not been called.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Reader is at a property.
+
+
+
+
+ Reader is at the start of an object.
+
+
+
+
+ Reader is in an object.
+
+
+
+
+ Reader is at the start of an array.
+
+
+
+
+ Reader is in an array.
+
+
+
+
+ The Close method has been called.
+
+
+
+
+ Reader has just read a value.
+
+
+
+
+ Reader is at the start of a constructor.
+
+
+
+
+ Reader in a constructor.
+
+
+
+
+ An error occurred that prevents the read operation from continuing.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Gets the current reader state.
+
+ The current reader state.
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the reader is closed.
+
+
+ true to close the underlying stream or when
+ the reader is closed; otherwise false. The default is true.
+
+
+
+
+ Gets or sets a value indicating whether multiple pieces of JSON content can
+ be read from a continuous stream without erroring.
+
+
+ true to support reading multiple pieces of JSON content; otherwise false. The default is false.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+ Get or set how time zones are handling when reading JSON.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how custom date formatted strings are parsed when reading JSON.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+ Gets The Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+
+
+
+ Reads the next JSON token from the stream.
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Skips the children of the current token.
+
+
+
+
+ Sets the current token.
+
+ The new token.
+
+
+
+ Sets the current token and value.
+
+ The new token.
+ The value.
+
+
+
+ Sets the state based on current token type.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Changes the to Closed.
+
+
+
+
+ Provides methods for converting between common language runtime types and JSON types.
+
+
+
+
+
+
+
+ Gets or sets a function that creates default .
+ Default settings are automatically used by serialization methods on ,
+ and and on .
+ To serialize without using any default settings create a with
+ .
+
+
+
+
+ Represents JavaScript's boolean value true as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's boolean value false as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's null as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's undefined as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's positive infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's negative infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's NaN as a string. This field is read-only.
+
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ The time zone handling when the date is converted to a string.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ The string escape handling.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Serializes the specified object to a JSON string.
+
+ The object to serialize.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a collection of .
+
+ The object to serialize.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting and a collection of .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Deserializes the JSON to a .NET object.
+
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to a .NET object using .
+
+ The JSON to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The JSON to deserialize.
+ The of object being deserialized.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type.
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type using .
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The type of the object to deserialize to.
+ The object to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The JSON to deserialize.
+ The type of the object to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The JSON to deserialize.
+ The type of the object to deserialize to.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Populates the object with values from the JSON string.
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+
+
+ Populates the object with values from the JSON string using .
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+
+
+ Serializes the XML node to a JSON string.
+
+ The node to serialize.
+ A JSON string of the XmlNode.
+
+
+
+ Serializes the XML node to a JSON string using formatting.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ A JSON string of the XmlNode.
+
+
+
+ Serializes the XML node to a JSON string using formatting and omits the root object if is true.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ Omits writing the root object.
+ A JSON string of the XmlNode.
+
+
+
+ Deserializes the XmlNode from a JSON string.
+
+ The JSON string.
+ The deserialized XmlNode
+
+
+
+ Deserializes the XmlNode from a JSON string nested in a root elment specified by .
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+ The deserialized XmlNode
+
+
+
+ Deserializes the XmlNode from a JSON string nested in a root elment specified by
+ and writes a .NET array attribute for collections.
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+
+ A flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ The deserialized XmlNode
+
+
+
+ Serializes the to a JSON string.
+
+ The node to convert to JSON.
+ A JSON string of the XNode.
+
+
+
+ Serializes the to a JSON string using formatting.
+
+ The node to convert to JSON.
+ Indicates how the output is formatted.
+ A JSON string of the XNode.
+
+
+
+ Serializes the to a JSON string using formatting and omits the root object if is true.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ Omits writing the root object.
+ A JSON string of the XNode.
+
+
+
+ Deserializes the from a JSON string.
+
+ The JSON string.
+ The deserialized XNode
+
+
+
+ Deserializes the from a JSON string nested in a root elment specified by .
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+ The deserialized XNode
+
+
+
+ Deserializes the from a JSON string nested in a root elment specified by
+ and writes a .NET array attribute for collections.
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+
+ A flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ The deserialized XNode
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Serializes and deserializes objects into and from the JSON format.
+ The enables you to control how objects are encoded into JSON.
+
+
+
+
+ Occurs when the errors during serialization and deserialization.
+
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+
+
+
+ Get or set how reference loops (e.g. a class referencing itself) is handled.
+
+
+
+
+ Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+
+
+
+ Get or set how null values are handled during serialization and deserialization.
+
+
+
+
+ Get or set how null default are handled during serialization and deserialization.
+
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets a collection that will be used during serialization.
+
+ Collection that will be used during serialization.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
+
+
+ true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Creates a new instance.
+ The will not use default settings
+ from .
+
+
+ A new instance.
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will not use default settings
+ from .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance.
+ The will use default settings
+ from .
+
+
+ A new instance.
+ The will use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Deserializes the JSON structure contained by the specified .
+
+ The that contains the JSON structure to deserialize.
+ The being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The type of the object to deserialize.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+
+ Contains the JSON schema extension methods.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ When this method returns, contains any error messages generated while validating.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ The validation event handler.
+
+
+
+
+ Returns detailed information about the schema exception.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+
+ Resolves from an id.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the loaded schemas.
+
+ The loaded schemas.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets a for the specified reference.
+
+ The id.
+ A for the specified reference.
+
+
+
+
+ Specifies undefined schema Id handling options for the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Do not infer a schema Id.
+
+
+
+
+ Use the .NET type name as the schema Id.
+
+
+
+
+ Use the assembly qualified .NET type name as the schema Id.
+
+
+
+
+
+ Returns detailed information related to the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the associated with the validation error.
+
+ The JsonSchemaException associated with the validation error.
+
+
+
+ Gets the path of the JSON location where the validation error occurred.
+
+ The path of the JSON location where the validation error occurred.
+
+
+
+ Gets the text description corresponding to the validation error.
+
+ The text description.
+
+
+
+
+ Represents the callback method that will handle JSON schema validation events and the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+
+ An in-memory representation of a JSON Schema.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the id.
+
+
+
+
+ Gets or sets the title.
+
+
+
+
+ Gets or sets whether the object is required.
+
+
+
+
+ Gets or sets whether the object is read only.
+
+
+
+
+ Gets or sets whether the object is visible to users.
+
+
+
+
+ Gets or sets whether the object is transient.
+
+
+
+
+ Gets or sets the description of the object.
+
+
+
+
+ Gets or sets the types of values allowed by the object.
+
+ The type.
+
+
+
+ Gets or sets the pattern.
+
+ The pattern.
+
+
+
+ Gets or sets the minimum length.
+
+ The minimum length.
+
+
+
+ Gets or sets the maximum length.
+
+ The maximum length.
+
+
+
+ Gets or sets a number that the value should be divisble by.
+
+ A number that the value should be divisble by.
+
+
+
+ Gets or sets the minimum.
+
+ The minimum.
+
+
+
+ Gets or sets the maximum.
+
+ The maximum.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+
+
+ Gets or sets the minimum number of items.
+
+ The minimum number of items.
+
+
+
+ Gets or sets the maximum number of items.
+
+ The maximum number of items.
+
+
+
+ Gets or sets the of items.
+
+ The of items.
+
+
+
+ Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
+
+
+ true if items are validated using their array position; otherwise, false.
+
+
+
+
+ Gets or sets the of additional items.
+
+ The of additional items.
+
+
+
+ Gets or sets a value indicating whether additional items are allowed.
+
+
+ true if additional items are allowed; otherwise, false.
+
+
+
+
+ Gets or sets whether the array items must be unique.
+
+
+
+
+ Gets or sets the of properties.
+
+ The of properties.
+
+
+
+ Gets or sets the of additional properties.
+
+ The of additional properties.
+
+
+
+ Gets or sets the pattern properties.
+
+ The pattern properties.
+
+
+
+ Gets or sets a value indicating whether additional properties are allowed.
+
+
+ true if additional properties are allowed; otherwise, false.
+
+
+
+
+ Gets or sets the required property if this property is present.
+
+ The required property if this property is present.
+
+
+
+ Gets or sets the a collection of valid enum values allowed.
+
+ A collection of valid enum values allowed.
+
+
+
+ Gets or sets disallowed types.
+
+ The disallow types.
+
+
+
+ Gets or sets the default value.
+
+ The default value.
+
+
+
+ Gets or sets the collection of that this schema extends.
+
+ The collection of that this schema extends.
+
+
+
+ Gets or sets the format.
+
+ The format.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The object representing the JSON Schema.
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The to use when resolving schema references.
+ The object representing the JSON Schema.
+
+
+
+ Load a from a string that contains schema JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Parses the specified json.
+
+ The json.
+ The resolver.
+ A populated from the string that contains JSON.
+
+
+
+ Writes this schema to a .
+
+ A into which this method will write.
+
+
+
+ Writes this schema to a using the specified .
+
+ A into which this method will write.
+ The resolver used.
+
+
+
+ Returns a that represents the current .
+
+
+ A that represents the current .
+
+
+
+
+
+ Generates a from a specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets how undefined schemas are handled by the serializer.
+
+
+
+
+ Gets or sets the contract resolver.
+
+ The contract resolver.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+
+ The value types allowed by the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ No type specified.
+
+
+
+
+ String type.
+
+
+
+
+ Float type.
+
+
+
+
+ Integer type.
+
+
+
+
+ Boolean type.
+
+
+
+
+ Object type.
+
+
+
+
+ Array type.
+
+
+
+
+ Null type.
+
+
+
+
+ Any type.
+
+
+
+
+ Specifies missing member handling options for the .
+
+
+
+
+ Ignore a missing member and do not attempt to deserialize it.
+
+
+
+
+ Throw a when a missing member is encountered during deserialization.
+
+
+
+
+ Specifies null value handling options for the .
+
+
+
+
+
+
+
+
+ Include null values when serializing and deserializing objects.
+
+
+
+
+ Ignore null values when serializing and deserializing objects.
+
+
+
+
+ Specifies reference loop handling options for the .
+
+
+
+
+ Throw a when a loop is encountered.
+
+
+
+
+ Ignore loop references and do not serialize.
+
+
+
+
+ Serialize loop references.
+
+
+
+
+ Specifies type name handling options for the .
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Do not include the .NET type name when serializing types.
+
+
+
+
+ Include the .NET type name when serializing into a JSON object structure.
+
+
+
+
+ Include the .NET type name when serializing into a JSON array structure.
+
+
+
+
+ Always include the .NET type name when serializing.
+
+
+
+
+ Include the .NET type name when the type of the object being serialized is not the same as its declared type.
+
+
+
+
+ Specifies the type of JSON token.
+
+
+
+
+ This is returned by the if a method has not been called.
+
+
+
+
+ An object start token.
+
+
+
+
+ An array start token.
+
+
+
+
+ A constructor start token.
+
+
+
+
+ An object property name.
+
+
+
+
+ A comment.
+
+
+
+
+ Raw JSON.
+
+
+
+
+ An integer.
+
+
+
+
+ A float.
+
+
+
+
+ A string.
+
+
+
+
+ A boolean.
+
+
+
+
+ A null token.
+
+
+
+
+ An undefined token.
+
+
+
+
+ An object end token.
+
+
+
+
+ An array end token.
+
+
+
+
+ A constructor end token.
+
+
+
+
+ A Date.
+
+
+
+
+ Byte data.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the writer is closed.
+
+
+ true to close the underlying stream or when
+ the writer is closed; otherwise false. The default is true.
+
+
+
+
+ Gets the top.
+
+ The top.
+
+
+
+ Gets the state of the writer.
+
+
+
+
+ Gets the path of the writer.
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling when writing JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written to JSON text.
+
+
+
+
+ Get or set how and values are formatting when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when writing JSON. Defaults to .
+
+
+
+
+ Creates an instance of the JsonWriter class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the end of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the end of an array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end constructor.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes the end of the current JSON object or array.
+
+
+
+
+ Writes the current token and its children.
+
+ The to read the token from.
+
+
+
+ Writes the current token.
+
+ The to read the token from.
+ A flag indicating whether the current token's children should be written.
+
+
+
+ Writes the token and its value.
+
+ The to write.
+
+ The value to write.
+ A value is only required for tokens that have an associated value, e.g. the property name for .
+ A null value can be passed to the method for token's that don't have a value, e.g. .
+
+
+
+ Writes the token.
+
+ The to write.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON without changing the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Sets the state of the JsonWriter,
+
+ The JsonToken being written.
+ The value being written.
+
+
+
+ Specifies the state of the .
+
+
+
+
+ An exception has been thrown, which has left the in an invalid state.
+ You may call the method to put the in the Closed state.
+ Any other method calls results in an being thrown.
+
+
+
+
+ The method has been called.
+
+
+
+
+ An object is being written.
+
+
+
+
+ A array is being written.
+
+
+
+
+ A constructor is being written.
+
+
+
+
+ A property is being written.
+
+
+
+
+ A write method has not been called.
+
+
+
+
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.dll
new file mode 100644
index 0000000..20dae62
Binary files /dev/null and b/packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.dll differ
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.xml
new file mode 100644
index 0000000..ce1bca8
--- /dev/null
+++ b/packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.xml
@@ -0,0 +1,9229 @@
+
+
+
+ Newtonsoft.Json
+
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary.
+
+
+ true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether the root object will be read as a JSON array.
+
+
+ true if the root object will be read as a JSON array; otherwise, false.
+
+
+
+
+ Gets or sets the used when reading values from BSON.
+
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Changes the to Closed.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the used when writing values to BSON.
+ When set to no conversion will occur.
+
+ The used when writing values to BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The writer.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value that represents a BSON object id.
+
+ The Object ID value to write.
+
+
+
+ Writes a BSON regex.
+
+ The regex pattern.
+ The regex options.
+
+
+
+ Represents a BSON Oid (object id).
+
+
+
+
+ Gets or sets the value of the Oid.
+
+ The value of the Oid.
+
+
+
+ Initializes a new instance of the class.
+
+ The Oid value.
+
+
+
+ Converts a binary value to and from a base 64 string value.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Create a custom object
+
+ The object type to convert.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Creates an object which will then be populated by the serializer.
+
+ Type of the object.
+ The created object.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+
+ true if this can write JSON; otherwise, false.
+
+
+
+
+ Provides a base class for converting a to and from JSON.
+
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a F# discriminated union type to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an Entity Framework EntityKey to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an ExpandoObject to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+
+ true if this can write JSON; otherwise, false.
+
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an to and from its name string value.
+
+
+
+
+ Gets or sets a value indicating whether the written enum text should be camel case.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether integer values are allowed.
+
+ true if integers are allowed; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from a string (e.g. "1.2.3.4").
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z).
+
+
+
+
+ Gets or sets the date time styles used when converting a date to and from JSON.
+
+ The date time styles used when converting a date to and from JSON.
+
+
+
+ Gets or sets the date time format used when converting a date to and from JSON.
+
+ The date time format used when converting a date to and from JSON.
+
+
+
+ Gets or sets the culture used when converting a date to and from JSON.
+
+ The culture used when converting a date to and from JSON.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)).
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts XML to and from JSON.
+
+
+
+
+ Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements.
+
+ The name of the deserialize root element.
+
+
+
+ Gets or sets a flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ true if the array attibute is written to the XML; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether to write the root JSON object.
+
+ true if the JSON root object is omitted; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The calling serializer.
+ The value.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Checks if the attributeName is a namespace attribute.
+
+ Attribute name to test.
+ The attribute name prefix if it has one, otherwise an empty string.
+ true if attribute name is for a namespace attribute, otherwise false.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Specifies how constructors are used when initializing objects during deserialization by the .
+
+
+
+
+ First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor.
+
+
+
+
+ Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
+
+
+
+
+ Specifies float format handling options when writing special floating point numbers, e.g. ,
+ and with .
+
+
+
+
+ Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
+
+
+
+
+ Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
+ Note that this will produce non-valid JSON.
+
+
+
+
+ Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property.
+
+
+
+
+ Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Provides an interface for using pooled arrays.
+
+ The array type content.
+
+
+
+ Rent a array from the pool. This array must be returned when it is no longer needed.
+
+ The minimum required length of the array. The returned array may be longer.
+ The rented array from the pool. This array must be returned when it is no longer needed.
+
+
+
+ Return an array to the pool.
+
+ The array that is being returned.
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Specifies how dates are formatted when writing JSON text.
+
+
+
+
+ Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
+
+
+
+
+ Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
+
+
+
+
+ Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
+
+
+
+
+ Date formatted strings are not parsed to a date type and are read as strings.
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Specifies how to treat the time value when converting between string and .
+
+
+
+
+ Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
+
+
+
+
+ Treat as a UTC. If the object represents a local time, it is converted to a UTC.
+
+
+
+
+ Treat as a local time if a is being converted to a string.
+ If a string is being converted to , convert to a local time if a time zone is specified.
+
+
+
+
+ Time zone information should be preserved when converting.
+
+
+
+
+ Specifies formatting options for the .
+
+
+
+
+ No special formatting is applied. This is the default.
+
+
+
+
+ Causes child objects to be indented according to the and settings.
+
+
+
+
+ Instructs the to use the specified constructor when deserializing that object.
+
+
+
+
+ Instructs the to deserialize properties with no matching class member into the specified collection
+ and write values during serialization.
+
+
+
+
+ Gets or sets a value that indicates whether to write extension data when serializing the object.
+
+
+ true to write extension data when serializing the object; otherwise, false. The default is true.
+
+
+
+
+ Gets or sets a value that indicates whether to read extension data when deserializing the object.
+
+
+ true to read extension data when deserializing the object; otherwise, false. The default is true.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Instructs the to always serialize the member, and require the member has a value.
+
+
+
+
+ Specifies how JSON comments are handled when loading JSON.
+
+
+
+
+ Ignore comments.
+
+
+
+
+ Load comments as a with type .
+
+
+
+
+ Specifies how line information is handled when loading JSON.
+
+
+
+
+ Ignore line information.
+
+
+
+
+ Load line information.
+
+
+
+
+ Specifies the settings used when loading JSON.
+
+
+
+
+ Gets or sets how JSON comments are handled when loading JSON.
+
+ The JSON comment handling.
+
+
+
+ Gets or sets how JSON line info is handled when loading JSON.
+
+ The JSON line info handling.
+
+
+
+ Specifies the settings used when merging JSON.
+
+
+
+
+ Gets or sets the method used when merging JSON arrays.
+
+ The method used when merging JSON arrays.
+
+
+
+ Gets or sets how how null value properties are merged.
+
+ How null value properties are merged.
+
+
+
+ Specifies how JSON arrays are merged together.
+
+
+
+ Concatenate arrays.
+
+
+ Union arrays, skipping items that already exist.
+
+
+ Replace all array items.
+
+
+ Merge array items together, matched by index.
+
+
+
+ Specifies how null value properties are merged.
+
+
+
+
+ The content's null value properties will be ignored during merging.
+
+
+
+
+ The content's null value properties will be merged.
+
+
+
+
+ Represents a raw JSON string.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class.
+
+ The raw json.
+
+
+
+ Creates an instance of with the content of the reader's current token.
+
+ The reader.
+ An instance of with the content of the reader's current token.
+
+
+
+ Represents a view of a .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The name.
+
+
+
+ When overridden in a derived class, returns whether resetting an object changes its value.
+
+
+ true if resetting the component changes its value; otherwise, false.
+
+ The component to test for reset capability.
+
+
+
+ When overridden in a derived class, gets the current value of the property on a component.
+
+
+ The value of a property for a given component.
+
+ The component with the property for which to retrieve the value.
+
+
+
+
+ When overridden in a derived class, resets the value for this property of the component to the default value.
+
+ The component with the property value that is to be reset to the default value.
+
+
+
+
+ When overridden in a derived class, sets the value of the component to a different value.
+
+ The component with the property value that is to be set.
+ The new value.
+
+
+
+
+ When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
+
+
+ true if the property should be persisted; otherwise, false.
+
+ The component with the property to be examined for persistence.
+
+
+
+ When overridden in a derived class, gets the type of the component this property is bound to.
+
+
+ A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type.
+
+
+
+
+ When overridden in a derived class, gets a value indicating whether this property is read-only.
+
+
+ true if the property is read-only; otherwise, false.
+
+
+
+
+ When overridden in a derived class, gets the type of the property.
+
+
+ A that represents the type of the property.
+
+
+
+
+ Gets the hash code for the name of the member.
+
+
+
+ The hash code for the name of the member.
+
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Compares tokens to determine whether they are equal.
+
+
+
+
+ Determines whether the specified objects are equal.
+
+ The first object of type to compare.
+ The second object of type to compare.
+
+ true if the specified objects are equal; otherwise, false.
+
+
+
+
+ Returns a hash code for the specified object.
+
+ The for which a hash code is to be returned.
+ A hash code for the specified object.
+ The type of is a reference type and is null.
+
+
+
+ Contains the LINQ to JSON extension methods.
+
+
+
+
+ Returns a collection of tokens that contains the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the descendants of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, and the descendants of every token in the source collection.
+
+
+
+ Returns a collection of child properties of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the properties of every object in the source collection.
+
+
+
+ Returns a collection of child values of every object in the source collection with the given key.
+
+ An of that contains the source collection.
+ The token key.
+ An of that contains the values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of child values of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child values of every object in the source collection with the given key.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ The token key.
+ An that contains the converted values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of converted child values of every object in the source collection.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Converts the value.
+
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Converts the value.
+
+ The source collection type.
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Returns a collection of child tokens of every array in the source collection.
+
+ The source collection type.
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child tokens of every array in the source collection.
+
+ An of that contains the source collection.
+ The type to convert the values to.
+ The source collection type.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Returns the input typed as .
+
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Returns the input typed as .
+
+ The source collection type.
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Represents a JSON constructor.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets or sets the name of this constructor.
+
+ The constructor name.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ The constructor name.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Represents a token that can contain other tokens.
+
+
+
+
+ Occurs when the list changes or an item in the list changes.
+
+
+
+
+ Occurs before an item is added to the collection.
+
+
+
+
+ Occurs when the items list of the collection has changed, or the collection is reset.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Raises the event.
+
+ The instance containing the event data.
+
+
+
+ Raises the event.
+
+ The instance containing the event data.
+
+
+
+ Raises the event.
+
+ The instance containing the event data.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Get the first child token of this token.
+
+
+ A containing the first child token of the .
+
+
+
+
+ Get the last child token of this token.
+
+
+ A containing the last child token of the .
+
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+
+ An of containing the child tokens of this , in document order.
+
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+
+ A containing the child values of this , in document order.
+
+
+
+
+ Returns a collection of the descendant tokens for this token in document order.
+
+ An containing the descendant tokens of the .
+
+
+
+ Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
+
+ An containing this token, and all the descendant tokens of the .
+
+
+
+ Adds the specified content as children of this .
+
+ The content to be added.
+
+
+
+ Adds the specified content as the first children of this .
+
+ The content to be added.
+
+
+
+ Creates an that can be used to add tokens to the .
+
+ An that is ready to have content written to it.
+
+
+
+ Replaces the children nodes of this token with the specified content.
+
+ The content.
+
+
+
+ Removes the child nodes from this token.
+
+
+
+
+ Merge the specified content into this .
+
+ The content to be merged.
+
+
+
+ Merge the specified content into this using .
+
+ The content to be merged.
+ The used to merge the content.
+
+
+
+ Gets the count of child JSON tokens.
+
+ The count of child JSON tokens
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ An empty collection of objects.
+
+
+
+
+ Initializes a new instance of the struct.
+
+ The enumerable.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Returns a hash code for this instance.
+
+
+ A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
+
+
+
+
+ Represents a JSON object.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Occurs when a property value is changing.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets an of this object's properties.
+
+ An of this object's properties.
+
+
+
+ Gets a the specified name.
+
+ The property name.
+ A with the specified name or null.
+
+
+
+ Gets an of this object's property values.
+
+ An of this object's property values.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the with the specified property name.
+
+
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified property name.
+
+ Name of the property.
+ The with the specified property name.
+
+
+
+ Gets the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ One of the enumeration values that specifies how the strings will be compared.
+ The with the specified property name.
+
+
+
+ Tries to get the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ The value.
+ One of the enumeration values that specifies how the strings will be compared.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Adds the specified property name.
+
+ Name of the property.
+ The value.
+
+
+
+ Removes the property with the specified name.
+
+ Name of the property.
+ true if item was successfully removed; otherwise, false.
+
+
+
+ Tries the get value.
+
+ Name of the property.
+ The value.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Raises the event with the provided arguments.
+
+ Name of the property.
+
+
+
+ Raises the event with the provided arguments.
+
+ Name of the property.
+
+
+
+ Returns the properties for this instance of a component.
+
+
+ A that represents the properties for this component instance.
+
+
+
+
+ Returns the properties for this instance of a component using the attribute array as a filter.
+
+ An array of type that is used as a filter.
+
+ A that represents the filtered properties for this component instance.
+
+
+
+
+ Returns a collection of custom attributes for this instance of a component.
+
+
+ An containing the attributes for this object.
+
+
+
+
+ Returns the class name of this instance of a component.
+
+
+ The class name of the object, or null if the class does not have a name.
+
+
+
+
+ Returns the name of this instance of a component.
+
+
+ The name of the object, or null if the object does not have a name.
+
+
+
+
+ Returns a type converter for this instance of a component.
+
+
+ A that is the converter for this object, or null if there is no for this object.
+
+
+
+
+ Returns the default event for this instance of a component.
+
+
+ An that represents the default event for this object, or null if this object does not have events.
+
+
+
+
+ Returns the default property for this instance of a component.
+
+
+ A that represents the default property for this object, or null if this object does not have properties.
+
+
+
+
+ Returns an editor of the specified type for this instance of a component.
+
+ A that represents the editor for this object.
+
+ An of the specified type that is the editor for this object, or null if the editor cannot be found.
+
+
+
+
+ Returns the events for this instance of a component using the specified attribute array as a filter.
+
+ An array of type that is used as a filter.
+
+ An that represents the filtered events for this component instance.
+
+
+
+
+ Returns the events for this instance of a component.
+
+
+ An that represents the events for this component instance.
+
+
+
+
+ Returns an object that contains the property described by the specified property descriptor.
+
+ A that represents the property whose owner is to be found.
+
+ An that represents the owner of the specified property.
+
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Represents a JSON array.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the at the specified index.
+
+
+
+
+
+ Determines the index of a specific item in the .
+
+ The object to locate in the .
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+ The object to insert into the .
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Removes the item at the specified index.
+
+ The zero-based index of the item to remove.
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Adds an item to the .
+
+ The object to add to the .
+ The is read-only.
+
+
+
+ Removes all items from the .
+
+ The is read-only.
+
+
+
+ Determines whether the contains a specific value.
+
+ The object to locate in the .
+
+ true if is found in the ; otherwise, false.
+
+
+
+
+ Copies to.
+
+ The array.
+ Index of the array.
+
+
+
+ Gets a value indicating whether the is read-only.
+
+ true if the is read-only; otherwise, false.
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+ The object to remove from the .
+
+ true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
+
+ The is read-only.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets the at the reader's current position.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The token to read from.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets the at the writer's current position.
+
+
+
+
+ Gets the token being writen.
+
+ The token being writen.
+
+
+
+ Initializes a new instance of the class writing to the given .
+
+ The container being written to.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Represents an abstract JSON token.
+
+
+
+
+ Gets a comparer that can compare two tokens for value equality.
+
+ A that can compare two nodes for value equality.
+
+
+
+ Gets or sets the parent.
+
+ The parent.
+
+
+
+ Gets the root of this .
+
+ The root of this .
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Compares the values of two tokens, including the values of all descendant tokens.
+
+ The first to compare.
+ The second to compare.
+ true if the tokens are equal; otherwise false.
+
+
+
+ Gets the next sibling token of this node.
+
+ The that contains the next sibling token.
+
+
+
+ Gets the previous sibling token of this node.
+
+ The that contains the previous sibling token.
+
+
+
+ Gets the path of the JSON token.
+
+
+
+
+ Adds the specified content immediately after this token.
+
+ A content object that contains simple content or a collection of content objects to be added after this token.
+
+
+
+ Adds the specified content immediately before this token.
+
+ A content object that contains simple content or a collection of content objects to be added before this token.
+
+
+
+ Returns a collection of the ancestor tokens of this token.
+
+ A collection of the ancestor tokens of this token.
+
+
+
+ Returns a collection of tokens that contain this token, and the ancestors of this token.
+
+ A collection of tokens that contain this token, and the ancestors of this token.
+
+
+
+ Returns a collection of the sibling tokens after this token, in document order.
+
+ A collection of the sibling tokens after this tokens, in document order.
+
+
+
+ Returns a collection of the sibling tokens before this token, in document order.
+
+ A collection of the sibling tokens before this token, in document order.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets the with the specified key converted to the specified type.
+
+ The type to convert the token to.
+ The token key.
+ The converted token value.
+
+
+
+ Get the first child token of this token.
+
+ A containing the first child token of the .
+
+
+
+ Get the last child token of this token.
+
+ A containing the last child token of the .
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+ An of containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
+
+ The type to filter the child tokens on.
+ A containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+ A containing the child values of this , in document order.
+
+
+
+ Removes this token from its parent.
+
+
+
+
+ Replaces this token with the specified token.
+
+ The value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Returns the indented JSON for this token.
+
+
+ The indented JSON for this token.
+
+
+
+
+ Returns the JSON for this token using the given formatting and converters.
+
+ Indicates how the output is formatted.
+ A collection of which will be used when writing the token.
+ The JSON for this token using the given formatting and converters.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to [].
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from [] to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Creates an for this token.
+
+ An that can be used to read this token and its descendants.
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the value of the specified object
+
+
+
+ Creates a from an object using the specified .
+
+ The object that will be used to create .
+ The that will be used when reading the object.
+ A with the value of the specified object
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A , or null.
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ A .
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ An that contains the selected elements.
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ An that contains the selected elements.
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Creates a new instance of the . All child tokens are recursively cloned.
+
+ A new instance of the .
+
+
+
+ Adds an object to the annotation list of this .
+
+ The annotation to add.
+
+
+
+ Get the first annotation object of the specified type from this .
+
+ The type of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets the first annotation object of the specified type from this .
+
+ The of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The type of the annotations to retrieve.
+ An that contains the annotations for this .
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The of the annotations to retrieve.
+ An of that contains the annotations that match the specified type for this .
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The type of annotations to remove.
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The of annotations to remove.
+
+
+
+ Represents a JSON property.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the property name.
+
+ The property name.
+
+
+
+ Gets or sets the property value.
+
+ The property value.
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Specifies the type of token.
+
+
+
+
+ No token type has been set.
+
+
+
+
+ A JSON object.
+
+
+
+
+ A JSON array.
+
+
+
+
+ A JSON constructor.
+
+
+
+
+ A JSON object property.
+
+
+
+
+ A comment.
+
+
+
+
+ An integer value.
+
+
+
+
+ A float value.
+
+
+
+
+ A string value.
+
+
+
+
+ A boolean value.
+
+
+
+
+ A null value.
+
+
+
+
+ An undefined value.
+
+
+
+
+ A date value.
+
+
+
+
+ A raw JSON value.
+
+
+
+
+ A collection of bytes value.
+
+
+
+
+ A Guid value.
+
+
+
+
+ A Uri value.
+
+
+
+
+ A TimeSpan value.
+
+
+
+
+ Represents a value in JSON (string, integer, date, etc).
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Creates a comment with the given value.
+
+ The value.
+ A comment with the given value.
+
+
+
+ Creates a string with the given value.
+
+ The value.
+ A string with the given value.
+
+
+
+ Creates a null value.
+
+ A null value.
+
+
+
+ Creates a undefined value.
+
+ A undefined value.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets or sets the underlying token value.
+
+ The underlying token value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ true if the current object is equal to the parameter; otherwise, false.
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+ The to compare with the current .
+
+ true if the specified is equal to the current ; otherwise, false.
+
+
+ The parameter is null.
+
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
+
+ An object to compare with this instance.
+
+ A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
+ Value
+ Meaning
+ Less than zero
+ This instance is less than .
+ Zero
+ This instance is equal to .
+ Greater than zero
+ This instance is greater than .
+
+
+ is not the same type as this instance.
+
+
+
+
+ Specifies metadata property handling options for the .
+
+
+
+
+ Read metadata properties located at the start of a JSON object.
+
+
+
+
+ Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
+
+
+
+
+ Do not try to read metadata properties.
+
+
+
+
+ A camel case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ The default naming strategy. Property names and dictionary keys are unchanged.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Represents a trace writer that writes to the application's instances.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Get and set values for a using dynamic methods.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Provides methods to get attributes.
+
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Represents a trace writer.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the default collection items .
+
+ The converter.
+
+
+
+ Gets or sets a value indicating whether the collection items preserve object references.
+
+ true if collection items preserve object references; otherwise, false.
+
+
+
+ Gets or sets the collection item reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the collection item type name handling.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Represents a trace writer that writes to memory. When the trace message limit is
+ reached then old trace messages will be removed as new messages are added.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Returns an enumeration of the most recent trace messages.
+
+ An enumeration of the most recent trace messages.
+
+
+
+ Returns a of the most recent trace messages.
+
+
+ A of the most recent trace messages.
+
+
+
+
+ A base class for resolving how property names and dictionary keys are serialized.
+
+
+
+
+ A flag indicating whether dictionary keys should be processed.
+ Defaults to false.
+
+
+
+
+ A flag indicating whether explicitly specified property names,
+ e.g. a property name customized with a , should be processed.
+ Defaults to false.
+
+
+
+
+ Gets the serialized name for a given property name.
+
+ The initial property name.
+ A flag indicating whether the property has had a name explicitly specfied.
+ The serialized property name.
+
+
+
+ Gets the serialized key for a given dictionary key.
+
+ The initial dictionary key.
+ The serialized dictionary key.
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Provides methods to get attributes from a , , or .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The instance to get attributes for. This parameter should be a , , or .
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ A snake case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the object's properties.
+
+ The object's properties.
+
+
+
+ Gets or sets the property name resolver.
+
+ The property name resolver.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the ISerializable object constructor.
+
+ The ISerializable object constructor.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Get and set values for a using dynamic methods.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Provides data for the Error event.
+
+
+
+
+ Gets the current object the error event is being raised against.
+
+ The current object the error event is being raised against.
+
+
+
+ Gets the error context.
+
+ The error context.
+
+
+
+ Initializes a new instance of the class.
+
+ The current object.
+ The error context.
+
+
+
+ Resolves member mappings for a type, camel casing property names.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+ Gets a value indicating whether members are being get and set using dynamic code generation.
+ This value is determined by the runtime permissions available.
+
+
+ true if using dynamic code generation; otherwise, false.
+
+
+
+
+ Gets or sets the default members search flags.
+
+ The default members search flags.
+
+
+
+ Gets or sets a value indicating whether compiler generated members should be serialized.
+
+
+ true if serialized compiler generated members; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
+
+
+ true if the interface will be ignored when serializing and deserializing types; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
+
+
+ true if the attribute will be ignored when serializing and deserializing types; otherwise, false.
+
+
+
+
+ Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
+
+ The naming strategy used to resolve how property names and dictionary keys are serialized.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ If set to true the will use a cached shared with other resolvers of the same type.
+ Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only
+ happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different
+ results. When set to false it is highly recommended to reuse instances with the .
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Gets the serializable members for the type.
+
+ The type to get serializable members for.
+ The serializable members for the type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates the constructor parameters.
+
+ The constructor to create properties for.
+ The type's member properties.
+ Properties for the given .
+
+
+
+ Creates a for the given .
+
+ The matching member property.
+ The constructor parameter.
+ A created for the given .
+
+
+
+ Resolves the default for the contract.
+
+ Type of the object.
+ The contract's default .
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Determines which contract type is created for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates properties for the given .
+
+ The type to create properties for.
+ /// The member serialization mode for the type.
+ Properties for the given .
+
+
+
+ Creates the used by the serializer to get and set values from a member.
+
+ The member.
+ The used by the serializer to get and set values from a member.
+
+
+
+ Creates a for the given .
+
+ The member's parent .
+ The member to create a for.
+ A created for the given .
+
+
+
+ Resolves the name of the property.
+
+ Name of the property.
+ Resolved name of the property.
+
+
+
+ Resolves the key of the dictionary. By default is used to resolve dictionary keys.
+
+ Key of the dictionary.
+ Resolved key of the dictionary.
+
+
+
+ Gets the resolved name of the property.
+
+ Name of the property.
+ Name of the property.
+
+
+
+ The default serialization binder used when resolving and loading classes from type names.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+ The type of the object the formatter creates a new instance of.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ The type of the object the formatter creates a new instance of.
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+
+
+ Provides information surrounding an error.
+
+
+
+
+ Gets the error.
+
+ The error.
+
+
+
+ Gets the original object that caused the error.
+
+ The original object that caused the error.
+
+
+
+ Gets the member that caused the error.
+
+ The member that caused the error.
+
+
+
+ Gets the path of the JSON location where the error occurred.
+
+ The path of the JSON location where the error occurred.
+
+
+
+ Gets or sets a value indicating whether this is handled.
+
+ true if handled; otherwise, false.
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Provides methods to get and set values.
+
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the of the collection items.
+
+ The of the collection items.
+
+
+
+ Gets a value indicating whether the collection type is a multidimensional array.
+
+ true if the collection type is a multidimensional array; otherwise, false.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the collection values.
+
+ true if the creator has a parameter with the collection values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Handles serialization callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+
+
+
+ Handles serialization error callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+ The error context.
+
+
+
+ Sets extension data for an object during deserialization.
+
+ The object to set extension data on.
+ The extension data key.
+ The extension data value.
+
+
+
+ Gets extension data for an object during serialization.
+
+ The object to set extension data on.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the underlying type for the contract.
+
+ The underlying type for the contract.
+
+
+
+ Gets or sets the type created during deserialization.
+
+ The type created during deserialization.
+
+
+
+ Gets or sets whether this type contract is serialized as a reference.
+
+ Whether this type contract is serialized as a reference.
+
+
+
+ Gets or sets the default for this contract.
+
+ The converter.
+
+
+
+ Gets or sets all methods called immediately after deserialization of the object.
+
+ The methods called immediately after deserialization of the object.
+
+
+
+ Gets or sets all methods called during deserialization of the object.
+
+ The methods called during deserialization of the object.
+
+
+
+ Gets or sets all methods called after serialization of the object graph.
+
+ The methods called after serialization of the object graph.
+
+
+
+ Gets or sets all methods called before serialization of the object.
+
+ The methods called before serialization of the object.
+
+
+
+ Gets or sets all method called when an error is thrown during the serialization of the object.
+
+ The methods called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the method called immediately after deserialization of the object.
+
+ The method called immediately after deserialization of the object.
+
+
+
+ Gets or sets the method called during deserialization of the object.
+
+ The method called during deserialization of the object.
+
+
+
+ Gets or sets the method called after serialization of the object graph.
+
+ The method called after serialization of the object graph.
+
+
+
+ Gets or sets the method called before serialization of the object.
+
+ The method called before serialization of the object.
+
+
+
+ Gets or sets the method called when an error is thrown during the serialization of the object.
+
+ The method called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the default creator method used to create the object.
+
+ The default creator method used to create the object.
+
+
+
+ Gets or sets a value indicating whether the default creator is non public.
+
+ true if the default object creator is non-public; otherwise, false.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the property name resolver.
+
+ The property name resolver.
+
+
+
+ Gets or sets the dictionary key resolver.
+
+ The dictionary key resolver.
+
+
+
+ Gets the of the dictionary keys.
+
+ The of the dictionary keys.
+
+
+
+ Gets the of the dictionary values.
+
+ The of the dictionary values.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the dictionary values.
+
+ true if the creator has a parameter with the dictionary values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Maps a JSON property to a .NET member or constructor parameter.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the type that declared this property.
+
+ The type that declared this property.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets the name of the underlying member or parameter.
+
+ The name of the underlying member or parameter.
+
+
+
+ Gets the that will get and set the during serialization.
+
+ The that will get and set the during serialization.
+
+
+
+ Gets or sets the for this property.
+
+ The for this property.
+
+
+
+ Gets or sets the type of the property.
+
+ The type of the property.
+
+
+
+ Gets or sets the for the property.
+ If set this converter takes presidence over the contract converter for the property type.
+
+ The converter.
+
+
+
+ Gets or sets the member converter.
+
+ The member converter.
+
+
+
+ Gets or sets a value indicating whether this is ignored.
+
+ true if ignored; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is readable.
+
+ true if readable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is writable.
+
+ true if writable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this has a member attribute.
+
+ true if has a member attribute; otherwise, false.
+
+
+
+ Gets the default value.
+
+ The default value.
+
+
+
+ Gets or sets a value indicating whether this is required.
+
+ A value indicating whether this is required.
+
+
+
+ Gets or sets a value indicating whether this property preserves object references.
+
+
+ true if this instance is reference; otherwise, false.
+
+
+
+
+ Gets or sets the property null value handling.
+
+ The null value handling.
+
+
+
+ Gets or sets the property default value handling.
+
+ The default value handling.
+
+
+
+ Gets or sets the property reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the property object creation handling.
+
+ The object creation handling.
+
+
+
+ Gets or sets or sets the type name handling.
+
+ The type name handling.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialize.
+
+ A predicate used to determine whether the property should be serialize.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be deserialized.
+
+ A predicate used to determine whether the property should be deserialized.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialized.
+
+ A predicate used to determine whether the property should be serialized.
+
+
+
+ Gets or sets an action used to set whether the property has been deserialized.
+
+ An action used to set whether the property has been deserialized.
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets or sets the converter used when serializing the property's collection items.
+
+ The collection's items converter.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ A collection of objects.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type.
+
+
+
+ When implemented in a derived class, extracts the key from the specified element.
+
+ The element from which to extract the key.
+ The key for the specified element.
+
+
+
+ Adds a object.
+
+ The property to add to the collection.
+
+
+
+ Gets the closest matching object.
+ First attempts to get an exact case match of propertyName and then
+ a case insensitive match.
+
+ Name of the property.
+ A matching property if found.
+
+
+
+ Gets a property by property name.
+
+ The name of the property to get.
+ Type property name string comparison.
+ A matching property if found.
+
+
+
+ Used to resolve references when serializing and deserializing JSON by the .
+
+
+
+
+ Resolves a reference to its object.
+
+ The serialization context.
+ The reference to resolve.
+ The object that
+
+
+
+ Gets the reference for the sepecified object.
+
+ The serialization context.
+ The object to get a reference for.
+ The reference to the object.
+
+
+
+ Determines whether the specified object is referenced.
+
+ The serialization context.
+ The object to test for a reference.
+
+ true if the specified object is referenced; otherwise, false.
+
+
+
+
+ Adds a reference to the specified object.
+
+ The serialization context.
+ The reference.
+ The object to reference.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the object member serialization.
+
+ The member object serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Gets the object's properties.
+
+ The object's properties.
+
+
+
+ Gets the constructor parameters required for any non-default constructor
+
+
+
+
+ Gets a collection of instances that define the parameters used with .
+
+
+
+
+ Gets or sets the override constructor used to create the object.
+ This is set when a constructor is marked up using the
+ JsonConstructor attribute.
+
+ The override constructor.
+
+
+
+ Gets or sets the parametrized constructor used to create the object.
+
+ The parametrized constructor.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+ This function is called with a collection of arguments which are defined by the collection.
+
+ The function used to create the object.
+
+
+
+ Gets or sets the extension data setter.
+
+
+
+
+ Gets or sets the extension data getter.
+
+
+
+
+ Gets or sets the extension data value type.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Lookup and create an instance of the JsonConverter type described by the argument.
+
+ The JsonConverter type to create.
+ Optional arguments to pass to an initializing constructor of the JsonConverter.
+ If null, the default constructor is used.
+
+
+
+ Get and set values for a using reflection.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ When applied to a method, specifies that the method is called when an error occurs serializing an object.
+
+
+
+
+ Represents a method that constructs an object.
+
+ The object type to create.
+
+
+
+ Specifies how strings are escaped when writing JSON text.
+
+
+
+
+ Only control characters (e.g. newline) are escaped.
+
+
+
+
+ All non-ASCII and control characters (e.g. newline) are escaped.
+
+
+
+
+ HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
+
+
+
+
+ Helper method for generating a MetaObject which calls a
+ specific method on Dynamic that returns a result
+
+
+
+
+ Helper method for generating a MetaObject which calls a
+ specific method on Dynamic, but uses one of the arguments for
+ the result.
+
+
+
+
+ Helper method for generating a MetaObject which calls a
+ specific method on Dynamic, but uses one of the arguments for
+ the result.
+
+
+
+
+ Returns a Restrictions object which includes our current restrictions merged
+ with a restriction limiting our type
+
+
+
+
+ Converts the value to the specified type. If the value is unable to be converted, the
+ value is checked whether it assignable to the specified type.
+
+ The value to convert.
+ The culture to use when converting.
+ The type to convert or cast the value to.
+
+ The converted type. If conversion was unsuccessful, the initial value
+ is returned if assignable to the target type.
+
+
+
+
+ Gets a dictionary of the names and values of an Enum type.
+
+
+
+
+
+ Gets a dictionary of the names and values of an Enum type.
+
+ The enum type to get names and values for.
+
+
+
+
+ Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer.
+
+
+
+
+ Determines whether the collection is null or empty.
+
+ The collection.
+
+ true if the collection is null or empty; otherwise, false.
+
+
+
+
+ Adds the elements of the specified collection to the specified generic IList.
+
+ The list to add to.
+ The collection of elements to add.
+
+
+
+ Gets the type of the typed collection's items.
+
+ The type.
+ The type of the typed collection's items.
+
+
+
+ Gets the member's underlying type.
+
+ The member.
+ The underlying type of the member.
+
+
+
+ Determines whether the member is an indexed property.
+
+ The member.
+
+ true if the member is an indexed property; otherwise, false.
+
+
+
+
+ Determines whether the property is an indexed property.
+
+ The property.
+
+ true if the property is an indexed property; otherwise, false.
+
+
+
+
+ Gets the member's value on the object.
+
+ The member.
+ The target object.
+ The member's value on the object.
+
+
+
+ Sets the member's value on the target object.
+
+ The member.
+ The target.
+ The value.
+
+
+
+ Determines whether the specified MemberInfo can be read.
+
+ The MemberInfo to determine whether can be read.
+ /// if set to true then allow the member to be gotten non-publicly.
+
+ true if the specified MemberInfo can be read; otherwise, false.
+
+
+
+
+ Determines whether the specified MemberInfo can be set.
+
+ The MemberInfo to determine whether can be set.
+ if set to true then allow the member to be set non-publicly.
+ if set to true then allow the member to be set if read-only.
+
+ true if the specified MemberInfo can be set; otherwise, false.
+
+
+
+
+ Determines whether the string is all white space. Empty string will return false.
+
+ The string to test whether it is all white space.
+
+ true if the string is all white space; otherwise, false.
+
+
+
+
+ Indicating whether a property is required.
+
+
+
+
+ The property is not required. The default state.
+
+
+
+
+ The property must be defined in JSON but can be a null value.
+
+
+
+
+ The property must be defined in JSON and cannot be a null value.
+
+
+
+
+ The property is not required but it cannot be a null value.
+
+
+
+
+ Specifies reference handling options for the .
+ Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable.
+
+
+
+
+
+
+
+ Do not preserve references when serializing types.
+
+
+
+
+ Preserve references when serializing into a JSON object structure.
+
+
+
+
+ Preserve references when serializing into a JSON array structure.
+
+
+
+
+ Preserve references when serializing.
+
+
+
+
+ Provides an interface to enable a class to return line and position information.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Gets the current line position.
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Gets or sets a value indicating whether null items are allowed in the collection.
+
+ true if null items are allowed in the collection; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a flag indicating whether the array can contain null items
+
+ A flag indicating whether the array can contain null items.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the id.
+
+ The id.
+
+
+
+ Gets or sets the title.
+
+ The title.
+
+
+
+ Gets or sets the description.
+
+ The description.
+
+
+
+ Gets or sets the collection's items converter.
+
+ The collection's items converter.
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets a value that indicates whether to preserve object references.
+
+
+ true to keep object reference; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets a value that indicates whether to preserve collection's items references.
+
+
+ true to keep collection's items object references; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets the reference loop handling used when serializing the collection's items.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the type name handling used when serializing the collection's items.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Specifies default value handling options for the .
+
+
+
+
+
+
+
+
+ Include members where the member value is the same as the member's default value when serializing objects.
+ Included members are written to JSON. Has no effect when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ so that is is not written to JSON.
+ This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
+ decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
+ placing the on the property.
+
+
+
+
+ Members with a default value but no JSON will be set to their default value when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ and sets members to their default value when deserializing.
+
+
+
+
+ Instructs the to use the specified when serializing the member or class.
+
+
+
+
+ Gets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by ConverterType.
+ If null, the default constructor is used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+ Parameter list to use when constructing the . Can be null.
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the member serialization.
+
+ The member serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified member serialization.
+
+ The member serialization.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Specifies the settings on a object.
+
+
+
+
+ Gets or sets how reference loops (e.g. a class referencing itself) is handled.
+
+ Reference loop handling.
+
+
+
+ Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+ Missing member handling.
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how null values are handled during serialization and deserialization.
+
+ Null value handling.
+
+
+
+ Gets or sets how null default are handled during serialization and deserialization.
+
+ The default value handling.
+
+
+
+ Gets or sets a collection that will be used during serialization.
+
+ The converters.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+ The preserve references handling.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+ The type name handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+ The contract resolver.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+ The reference resolver.
+
+
+
+ Gets or sets a function that creates the used by the serializer when resolving references.
+
+ A function that creates the used by the serializer when resolving references.
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+ The binder.
+
+
+
+ Gets or sets the error handler called during serialization and deserialization.
+
+ The error handler called during serialization and deserialization.
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional content after deserializing an object.
+
+
+ true if there will be a check for additional content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+
+ Represents a reader that provides validation.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Sets an event handler for receiving schema validation errors.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+
+ Gets the Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+
+ Initializes a new instance of the class that
+ validates the content returned from the given .
+
+ The to read from while validating.
+
+
+
+ Gets or sets the schema.
+
+ The schema.
+
+
+
+ Gets the used to construct this .
+
+ The specified in the constructor.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+
+ A [] or a null reference if the next JSON token is null.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Specifies the member serialization options for the .
+
+
+
+
+ All public members are serialized by default. Members can be excluded using or .
+ This is the default member serialization mode.
+
+
+
+
+ Only members marked with or are serialized.
+ This member serialization mode can also be set by marking the class with .
+
+
+
+
+ All public and private fields are serialized. Members can be excluded using or .
+ This member serialization mode can also be set by marking the class with
+ and setting IgnoreSerializableAttribute on to false.
+
+
+
+
+ Specifies how object creation is handled by the .
+
+
+
+
+ Reuse existing objects, create new objects when needed.
+
+
+
+
+ Only reuse existing objects.
+
+
+
+
+ Always create new objects.
+
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+ The TextReader containing the XML data to read.
+
+
+
+ Gets or sets the reader's character buffer pool.
+
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Changes the state to closed.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Gets the current line position.
+
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Instructs the to always serialize the member with the specified name.
+
+
+
+
+ Gets or sets the used when serializing the property's collection items.
+
+ The collection's items .
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the null value handling used when serializing this property.
+
+ The null value handling.
+
+
+
+ Gets or sets the default value handling used when serializing this property.
+
+ The default value handling.
+
+
+
+ Gets or sets the reference loop handling used when serializing this property.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the object creation handling used when deserializing this property.
+
+ The object creation handling.
+
+
+
+ Gets or sets the type name handling used when serializing this property.
+
+ The type name handling.
+
+
+
+ Gets or sets whether this property's value is serialized as a reference.
+
+ Whether this property's value is serialized as a reference.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets a value indicating whether this property is required.
+
+
+ A value indicating whether this property is required.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ Name of the property.
+
+
+
+ Instructs the not to serialize the public field or public read/write property value.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the writer's character array pool.
+
+
+
+
+ Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets which character to use to quote attribute values.
+
+
+
+
+ Gets or sets which character to use for indenting when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets a value indicating whether object names will be surrounded with quotes.
+
+
+
+
+ Creates an instance of the JsonWriter class using the specified .
+
+ The TextWriter to write to.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Converts an object to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+
+ Gets the of the JSON produced by the JsonConverter.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The of the JSON produced by the JsonConverter.
+
+
+
+ Gets a value indicating whether this can read JSON.
+
+ true if this can read JSON; otherwise, false.
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+ true if this can write JSON; otherwise, false.
+
+
+
+ Represents a collection of .
+
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Specifies the state of the reader.
+
+
+
+
+ The Read method has not been called.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Reader is at a property.
+
+
+
+
+ Reader is at the start of an object.
+
+
+
+
+ Reader is in an object.
+
+
+
+
+ Reader is at the start of an array.
+
+
+
+
+ Reader is in an array.
+
+
+
+
+ The Close method has been called.
+
+
+
+
+ Reader has just read a value.
+
+
+
+
+ Reader is at the start of a constructor.
+
+
+
+
+ Reader in a constructor.
+
+
+
+
+ An error occurred that prevents the read operation from continuing.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Gets the current reader state.
+
+ The current reader state.
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the reader is closed.
+
+
+ true to close the underlying stream or when
+ the reader is closed; otherwise false. The default is true.
+
+
+
+
+ Gets or sets a value indicating whether multiple pieces of JSON content can
+ be read from a continuous stream without erroring.
+
+
+ true to support reading multiple pieces of JSON content; otherwise false. The default is false.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+ Get or set how time zones are handling when reading JSON.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how custom date formatted strings are parsed when reading JSON.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+ Gets The Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+
+
+
+ Reads the next JSON token from the stream.
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Skips the children of the current token.
+
+
+
+
+ Sets the current token.
+
+ The new token.
+
+
+
+ Sets the current token and value.
+
+ The new token.
+ The value.
+
+
+
+ Sets the state based on current token type.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Changes the to Closed.
+
+
+
+
+ Provides methods for converting between common language runtime types and JSON types.
+
+
+
+
+
+
+
+ Gets or sets a function that creates default .
+ Default settings are automatically used by serialization methods on ,
+ and and on .
+ To serialize without using any default settings create a with
+ .
+
+
+
+
+ Represents JavaScript's boolean value true as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's boolean value false as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's null as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's undefined as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's positive infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's negative infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's NaN as a string. This field is read-only.
+
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ The time zone handling when the date is converted to a string.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ The string escape handling.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Serializes the specified object to a JSON string.
+
+ The object to serialize.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a collection of .
+
+ The object to serialize.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting and a collection of .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Asynchronously serializes the specified object to a JSON string.
+ Serialization will happen on a new thread.
+
+ The object to serialize.
+
+ A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
+
+
+
+
+ Asynchronously serializes the specified object to a JSON string using formatting.
+ Serialization will happen on a new thread.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+
+ A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
+
+
+
+
+ Asynchronously serializes the specified object to a JSON string using formatting and a collection of .
+ Serialization will happen on a new thread.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
+
+
+
+
+ Deserializes the JSON to a .NET object.
+
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to a .NET object using .
+
+ The JSON to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The JSON to deserialize.
+ The of object being deserialized.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type.
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type using .
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The type of the object to deserialize to.
+ The object to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The JSON to deserialize.
+ The type of the object to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The JSON to deserialize.
+ The type of the object to deserialize to.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type.
+ Deserialization will happen on a new thread.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type using .
+ Deserialization will happen on a new thread.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type.
+ Deserialization will happen on a new thread.
+
+ The JSON to deserialize.
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type using .
+ Deserialization will happen on a new thread.
+
+ The JSON to deserialize.
+ The type of the object to deserialize to.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Populates the object with values from the JSON string.
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+
+
+ Populates the object with values from the JSON string using .
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+
+
+ Asynchronously populates the object with values from the JSON string using .
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+ A task that represents the asynchronous populate operation.
+
+
+
+
+ Serializes the XML node to a JSON string.
+
+ The node to serialize.
+ A JSON string of the XmlNode.
+
+
+
+ Serializes the XML node to a JSON string using formatting.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ A JSON string of the XmlNode.
+
+
+
+ Serializes the XML node to a JSON string using formatting and omits the root object if is true.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ Omits writing the root object.
+ A JSON string of the XmlNode.
+
+
+
+ Deserializes the XmlNode from a JSON string.
+
+ The JSON string.
+ The deserialized XmlNode
+
+
+
+ Deserializes the XmlNode from a JSON string nested in a root elment specified by .
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+ The deserialized XmlNode
+
+
+
+ Deserializes the XmlNode from a JSON string nested in a root elment specified by
+ and writes a .NET array attribute for collections.
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+
+ A flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ The deserialized XmlNode
+
+
+
+ Serializes the to a JSON string.
+
+ The node to convert to JSON.
+ A JSON string of the XNode.
+
+
+
+ Serializes the to a JSON string using formatting.
+
+ The node to convert to JSON.
+ Indicates how the output is formatted.
+ A JSON string of the XNode.
+
+
+
+ Serializes the to a JSON string using formatting and omits the root object if is true.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ Omits writing the root object.
+ A JSON string of the XNode.
+
+
+
+ Deserializes the from a JSON string.
+
+ The JSON string.
+ The deserialized XNode
+
+
+
+ Deserializes the from a JSON string nested in a root elment specified by .
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+ The deserialized XNode
+
+
+
+ Deserializes the from a JSON string nested in a root elment specified by
+ and writes a .NET array attribute for collections.
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+
+ A flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ The deserialized XNode
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Serializes and deserializes objects into and from the JSON format.
+ The enables you to control how objects are encoded into JSON.
+
+
+
+
+ Occurs when the errors during serialization and deserialization.
+
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+
+
+
+ Get or set how reference loops (e.g. a class referencing itself) is handled.
+
+
+
+
+ Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+
+
+
+ Get or set how null values are handled during serialization and deserialization.
+
+
+
+
+ Get or set how null default are handled during serialization and deserialization.
+
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets a collection that will be used during serialization.
+
+ Collection that will be used during serialization.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
+
+
+ true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Creates a new instance.
+ The will not use default settings
+ from .
+
+
+ A new instance.
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will not use default settings
+ from .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance.
+ The will use default settings
+ from .
+
+
+ A new instance.
+ The will use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Deserializes the JSON structure contained by the specified .
+
+ The that contains the JSON structure to deserialize.
+ The being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The type of the object to deserialize.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+
+ Contains the JSON schema extension methods.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ When this method returns, contains any error messages generated while validating.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ The validation event handler.
+
+
+
+
+ Returns detailed information about the schema exception.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+
+ Resolves from an id.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the loaded schemas.
+
+ The loaded schemas.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets a for the specified reference.
+
+ The id.
+ A for the specified reference.
+
+
+
+
+ Specifies undefined schema Id handling options for the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Do not infer a schema Id.
+
+
+
+
+ Use the .NET type name as the schema Id.
+
+
+
+
+ Use the assembly qualified .NET type name as the schema Id.
+
+
+
+
+
+ Returns detailed information related to the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the associated with the validation error.
+
+ The JsonSchemaException associated with the validation error.
+
+
+
+ Gets the path of the JSON location where the validation error occurred.
+
+ The path of the JSON location where the validation error occurred.
+
+
+
+ Gets the text description corresponding to the validation error.
+
+ The text description.
+
+
+
+
+ Represents the callback method that will handle JSON schema validation events and the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+
+ An in-memory representation of a JSON Schema.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the id.
+
+
+
+
+ Gets or sets the title.
+
+
+
+
+ Gets or sets whether the object is required.
+
+
+
+
+ Gets or sets whether the object is read only.
+
+
+
+
+ Gets or sets whether the object is visible to users.
+
+
+
+
+ Gets or sets whether the object is transient.
+
+
+
+
+ Gets or sets the description of the object.
+
+
+
+
+ Gets or sets the types of values allowed by the object.
+
+ The type.
+
+
+
+ Gets or sets the pattern.
+
+ The pattern.
+
+
+
+ Gets or sets the minimum length.
+
+ The minimum length.
+
+
+
+ Gets or sets the maximum length.
+
+ The maximum length.
+
+
+
+ Gets or sets a number that the value should be divisble by.
+
+ A number that the value should be divisble by.
+
+
+
+ Gets or sets the minimum.
+
+ The minimum.
+
+
+
+ Gets or sets the maximum.
+
+ The maximum.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+
+
+ Gets or sets the minimum number of items.
+
+ The minimum number of items.
+
+
+
+ Gets or sets the maximum number of items.
+
+ The maximum number of items.
+
+
+
+ Gets or sets the of items.
+
+ The of items.
+
+
+
+ Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
+
+
+ true if items are validated using their array position; otherwise, false.
+
+
+
+
+ Gets or sets the of additional items.
+
+ The of additional items.
+
+
+
+ Gets or sets a value indicating whether additional items are allowed.
+
+
+ true if additional items are allowed; otherwise, false.
+
+
+
+
+ Gets or sets whether the array items must be unique.
+
+
+
+
+ Gets or sets the of properties.
+
+ The of properties.
+
+
+
+ Gets or sets the of additional properties.
+
+ The of additional properties.
+
+
+
+ Gets or sets the pattern properties.
+
+ The pattern properties.
+
+
+
+ Gets or sets a value indicating whether additional properties are allowed.
+
+
+ true if additional properties are allowed; otherwise, false.
+
+
+
+
+ Gets or sets the required property if this property is present.
+
+ The required property if this property is present.
+
+
+
+ Gets or sets the a collection of valid enum values allowed.
+
+ A collection of valid enum values allowed.
+
+
+
+ Gets or sets disallowed types.
+
+ The disallow types.
+
+
+
+ Gets or sets the default value.
+
+ The default value.
+
+
+
+ Gets or sets the collection of that this schema extends.
+
+ The collection of that this schema extends.
+
+
+
+ Gets or sets the format.
+
+ The format.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The object representing the JSON Schema.
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The to use when resolving schema references.
+ The object representing the JSON Schema.
+
+
+
+ Load a from a string that contains schema JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Parses the specified json.
+
+ The json.
+ The resolver.
+ A populated from the string that contains JSON.
+
+
+
+ Writes this schema to a .
+
+ A into which this method will write.
+
+
+
+ Writes this schema to a using the specified .
+
+ A into which this method will write.
+ The resolver used.
+
+
+
+ Returns a that represents the current .
+
+
+ A that represents the current .
+
+
+
+
+
+ Generates a from a specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets how undefined schemas are handled by the serializer.
+
+
+
+
+ Gets or sets the contract resolver.
+
+ The contract resolver.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+
+ The value types allowed by the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ No type specified.
+
+
+
+
+ String type.
+
+
+
+
+ Float type.
+
+
+
+
+ Integer type.
+
+
+
+
+ Boolean type.
+
+
+
+
+ Object type.
+
+
+
+
+ Array type.
+
+
+
+
+ Null type.
+
+
+
+
+ Any type.
+
+
+
+
+ Specifies missing member handling options for the .
+
+
+
+
+ Ignore a missing member and do not attempt to deserialize it.
+
+
+
+
+ Throw a when a missing member is encountered during deserialization.
+
+
+
+
+ Specifies null value handling options for the .
+
+
+
+
+
+
+
+
+ Include null values when serializing and deserializing objects.
+
+
+
+
+ Ignore null values when serializing and deserializing objects.
+
+
+
+
+ Specifies reference loop handling options for the .
+
+
+
+
+ Throw a when a loop is encountered.
+
+
+
+
+ Ignore loop references and do not serialize.
+
+
+
+
+ Serialize loop references.
+
+
+
+
+ Specifies type name handling options for the .
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Do not include the .NET type name when serializing types.
+
+
+
+
+ Include the .NET type name when serializing into a JSON object structure.
+
+
+
+
+ Include the .NET type name when serializing into a JSON array structure.
+
+
+
+
+ Always include the .NET type name when serializing.
+
+
+
+
+ Include the .NET type name when the type of the object being serialized is not the same as its declared type.
+
+
+
+
+ Specifies the type of JSON token.
+
+
+
+
+ This is returned by the if a method has not been called.
+
+
+
+
+ An object start token.
+
+
+
+
+ An array start token.
+
+
+
+
+ A constructor start token.
+
+
+
+
+ An object property name.
+
+
+
+
+ A comment.
+
+
+
+
+ Raw JSON.
+
+
+
+
+ An integer.
+
+
+
+
+ A float.
+
+
+
+
+ A string.
+
+
+
+
+ A boolean.
+
+
+
+
+ A null token.
+
+
+
+
+ An undefined token.
+
+
+
+
+ An object end token.
+
+
+
+
+ An array end token.
+
+
+
+
+ A constructor end token.
+
+
+
+
+ A Date.
+
+
+
+
+ Byte data.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the writer is closed.
+
+
+ true to close the underlying stream or when
+ the writer is closed; otherwise false. The default is true.
+
+
+
+
+ Gets the top.
+
+ The top.
+
+
+
+ Gets the state of the writer.
+
+
+
+
+ Gets the path of the writer.
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling when writing JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written to JSON text.
+
+
+
+
+ Get or set how and values are formatting when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when writing JSON. Defaults to .
+
+
+
+
+ Creates an instance of the JsonWriter class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the end of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the end of an array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end constructor.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes the end of the current JSON object or array.
+
+
+
+
+ Writes the current token and its children.
+
+ The to read the token from.
+
+
+
+ Writes the current token.
+
+ The to read the token from.
+ A flag indicating whether the current token's children should be written.
+
+
+
+ Writes the token and its value.
+
+ The to write.
+
+ The value to write.
+ A value is only required for tokens that have an associated value, e.g. the property name for .
+ A null value can be passed to the method for token's that don't have a value, e.g. .
+
+
+
+ Writes the token.
+
+ The to write.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON without changing the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Sets the state of the JsonWriter,
+
+ The JsonToken being written.
+ The value being written.
+
+
+
+ Specifies the state of the .
+
+
+
+
+ An exception has been thrown, which has left the in an invalid state.
+ You may call the method to put the in the Closed state.
+ Any other method calls results in an being thrown.
+
+
+
+
+ The method has been called.
+
+
+
+
+ An object is being written.
+
+
+
+
+ A array is being written.
+
+
+
+
+ A constructor is being written.
+
+
+
+
+ A property is being written.
+
+
+
+
+ A write method has not been called.
+
+
+
+
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.dll
new file mode 100644
index 0000000..be6558d
Binary files /dev/null and b/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.dll differ
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.xml
new file mode 100644
index 0000000..c719433
--- /dev/null
+++ b/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.xml
@@ -0,0 +1,9229 @@
+
+
+
+ Newtonsoft.Json
+
+
+
+
+ Represents a BSON Oid (object id).
+
+
+
+
+ Gets or sets the value of the Oid.
+
+ The value of the Oid.
+
+
+
+ Initializes a new instance of the class.
+
+ The Oid value.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary.
+
+
+ true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether the root object will be read as a JSON array.
+
+
+ true if the root object will be read as a JSON array; otherwise, false.
+
+
+
+
+ Gets or sets the used when reading values from BSON.
+
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Changes the to Closed.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the used when writing values to BSON.
+ When set to no conversion will occur.
+
+ The used when writing values to BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The writer.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value that represents a BSON object id.
+
+ The Object ID value to write.
+
+
+
+ Writes a BSON regex.
+
+ The regex pattern.
+ The regex options.
+
+
+
+ Specifies how constructors are used when initializing objects during deserialization by the .
+
+
+
+
+ First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor.
+
+
+
+
+ Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
+
+
+
+
+ Converts a binary value to and from a base 64 string value.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Create a custom object
+
+ The object type to convert.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Creates an object which will then be populated by the serializer.
+
+ Type of the object.
+ The created object.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+
+ true if this can write JSON; otherwise, false.
+
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Provides a base class for converting a to and from JSON.
+
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a F# discriminated union type to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an Entity Framework EntityKey to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an ExpandoObject to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+
+ true if this can write JSON; otherwise, false.
+
+
+
+
+ Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z).
+
+
+
+
+ Gets or sets the date time styles used when converting a date to and from JSON.
+
+ The date time styles used when converting a date to and from JSON.
+
+
+
+ Gets or sets the date time format used when converting a date to and from JSON.
+
+ The date time format used when converting a date to and from JSON.
+
+
+
+ Gets or sets the culture used when converting a date to and from JSON.
+
+ The culture used when converting a date to and from JSON.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)).
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an to and from its name string value.
+
+
+
+
+ Gets or sets a value indicating whether the written enum text should be camel case.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether integer values are allowed.
+
+ true if integers are allowed; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from a string (e.g. "1.2.3.4").
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts XML to and from JSON.
+
+
+
+
+ Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements.
+
+ The name of the deserialize root element.
+
+
+
+ Gets or sets a flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ true if the array attibute is written to the XML; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether to write the root JSON object.
+
+ true if the JSON root object is omitted; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The calling serializer.
+ The value.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Checks if the attributeName is a namespace attribute.
+
+ Attribute name to test.
+ The attribute name prefix if it has one, otherwise an empty string.
+ true if attribute name is for a namespace attribute, otherwise false.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Specifies how dates are formatted when writing JSON text.
+
+
+
+
+ Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
+
+
+
+
+ Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
+
+
+
+
+ Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
+
+
+
+
+ Date formatted strings are not parsed to a date type and are read as strings.
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Specifies how to treat the time value when converting between string and .
+
+
+
+
+ Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
+
+
+
+
+ Treat as a UTC. If the object represents a local time, it is converted to a UTC.
+
+
+
+
+ Treat as a local time if a is being converted to a string.
+ If a string is being converted to , convert to a local time if a time zone is specified.
+
+
+
+
+ Time zone information should be preserved when converting.
+
+
+
+
+ Specifies default value handling options for the .
+
+
+
+
+
+
+
+
+ Include members where the member value is the same as the member's default value when serializing objects.
+ Included members are written to JSON. Has no effect when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ so that is is not written to JSON.
+ This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
+ decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
+ placing the on the property.
+
+
+
+
+ Members with a default value but no JSON will be set to their default value when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ and sets members to their default value when deserializing.
+
+
+
+
+ Specifies float format handling options when writing special floating point numbers, e.g. ,
+ and with .
+
+
+
+
+ Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
+
+
+
+
+ Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
+ Note that this will produce non-valid JSON.
+
+
+
+
+ Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property.
+
+
+
+
+ Specifies formatting options for the .
+
+
+
+
+ No special formatting is applied. This is the default.
+
+
+
+
+ Causes child objects to be indented according to the and settings.
+
+
+
+
+ Provides an interface for using pooled arrays.
+
+ The array type content.
+
+
+
+ Rent a array from the pool. This array must be returned when it is no longer needed.
+
+ The minimum required length of the array. The returned array may be longer.
+ The rented array from the pool. This array must be returned when it is no longer needed.
+
+
+
+ Return an array to the pool.
+
+ The array that is being returned.
+
+
+
+ Provides an interface to enable a class to return line and position information.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Gets the current line position.
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Gets or sets a value indicating whether null items are allowed in the collection.
+
+ true if null items are allowed in the collection; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a flag indicating whether the array can contain null items
+
+ A flag indicating whether the array can contain null items.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Instructs the to use the specified constructor when deserializing that object.
+
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the id.
+
+ The id.
+
+
+
+ Gets or sets the title.
+
+ The title.
+
+
+
+ Gets or sets the description.
+
+ The description.
+
+
+
+ Gets or sets the collection's items converter.
+
+ The collection's items converter.
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets a value that indicates whether to preserve object references.
+
+
+ true to keep object reference; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets a value that indicates whether to preserve collection's items references.
+
+
+ true to keep collection's items object references; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets the reference loop handling used when serializing the collection's items.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the type name handling used when serializing the collection's items.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Provides methods for converting between common language runtime types and JSON types.
+
+
+
+
+
+
+
+ Gets or sets a function that creates default .
+ Default settings are automatically used by serialization methods on ,
+ and and on .
+ To serialize without using any default settings create a with
+ .
+
+
+
+
+ Represents JavaScript's boolean value true as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's boolean value false as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's null as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's undefined as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's positive infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's negative infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's NaN as a string. This field is read-only.
+
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ The time zone handling when the date is converted to a string.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ The string escape handling.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Serializes the specified object to a JSON string.
+
+ The object to serialize.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a collection of .
+
+ The object to serialize.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting and a collection of .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Asynchronously serializes the specified object to a JSON string.
+ Serialization will happen on a new thread.
+
+ The object to serialize.
+
+ A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
+
+
+
+
+ Asynchronously serializes the specified object to a JSON string using formatting.
+ Serialization will happen on a new thread.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+
+ A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
+
+
+
+
+ Asynchronously serializes the specified object to a JSON string using formatting and a collection of .
+ Serialization will happen on a new thread.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
+
+
+
+
+ Deserializes the JSON to a .NET object.
+
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to a .NET object using .
+
+ The JSON to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The JSON to deserialize.
+ The of object being deserialized.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type.
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type using .
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The type of the object to deserialize to.
+ The object to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The JSON to deserialize.
+ The type of the object to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The JSON to deserialize.
+ The type of the object to deserialize to.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type.
+ Deserialization will happen on a new thread.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type using .
+ Deserialization will happen on a new thread.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type.
+ Deserialization will happen on a new thread.
+
+ The JSON to deserialize.
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type using .
+ Deserialization will happen on a new thread.
+
+ The JSON to deserialize.
+ The type of the object to deserialize to.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Populates the object with values from the JSON string.
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+
+
+ Populates the object with values from the JSON string using .
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+
+
+ Asynchronously populates the object with values from the JSON string using .
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+ A task that represents the asynchronous populate operation.
+
+
+
+
+ Serializes the XML node to a JSON string.
+
+ The node to serialize.
+ A JSON string of the XmlNode.
+
+
+
+ Serializes the XML node to a JSON string using formatting.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ A JSON string of the XmlNode.
+
+
+
+ Serializes the XML node to a JSON string using formatting and omits the root object if is true.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ Omits writing the root object.
+ A JSON string of the XmlNode.
+
+
+
+ Deserializes the XmlNode from a JSON string.
+
+ The JSON string.
+ The deserialized XmlNode
+
+
+
+ Deserializes the XmlNode from a JSON string nested in a root elment specified by .
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+ The deserialized XmlNode
+
+
+
+ Deserializes the XmlNode from a JSON string nested in a root elment specified by
+ and writes a .NET array attribute for collections.
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+
+ A flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ The deserialized XmlNode
+
+
+
+ Serializes the to a JSON string.
+
+ The node to convert to JSON.
+ A JSON string of the XNode.
+
+
+
+ Serializes the to a JSON string using formatting.
+
+ The node to convert to JSON.
+ Indicates how the output is formatted.
+ A JSON string of the XNode.
+
+
+
+ Serializes the to a JSON string using formatting and omits the root object if is true.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ Omits writing the root object.
+ A JSON string of the XNode.
+
+
+
+ Deserializes the from a JSON string.
+
+ The JSON string.
+ The deserialized XNode
+
+
+
+ Deserializes the from a JSON string nested in a root elment specified by .
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+ The deserialized XNode
+
+
+
+ Deserializes the from a JSON string nested in a root elment specified by
+ and writes a .NET array attribute for collections.
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+
+ A flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ The deserialized XNode
+
+
+
+ Converts an object to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+
+ Gets the of the JSON produced by the JsonConverter.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The of the JSON produced by the JsonConverter.
+
+
+
+ Gets a value indicating whether this can read JSON.
+
+ true if this can read JSON; otherwise, false.
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+ true if this can write JSON; otherwise, false.
+
+
+
+ Instructs the to use the specified when serializing the member or class.
+
+
+
+
+ Gets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by ConverterType.
+ If null, the default constructor is used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+ Parameter list to use when constructing the . Can be null.
+
+
+
+ Represents a collection of .
+
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Instructs the to deserialize properties with no matching class member into the specified collection
+ and write values during serialization.
+
+
+
+
+ Gets or sets a value that indicates whether to write extension data when serializing the object.
+
+
+ true to write extension data when serializing the object; otherwise, false. The default is true.
+
+
+
+
+ Gets or sets a value that indicates whether to read extension data when deserializing the object.
+
+
+ true to read extension data when deserializing the object; otherwise, false. The default is true.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Instructs the not to serialize the public field or public read/write property value.
+
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the member serialization.
+
+ The member serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified member serialization.
+
+ The member serialization.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Instructs the to always serialize the member with the specified name.
+
+
+
+
+ Gets or sets the used when serializing the property's collection items.
+
+ The collection's items .
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the null value handling used when serializing this property.
+
+ The null value handling.
+
+
+
+ Gets or sets the default value handling used when serializing this property.
+
+ The default value handling.
+
+
+
+ Gets or sets the reference loop handling used when serializing this property.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the object creation handling used when deserializing this property.
+
+ The object creation handling.
+
+
+
+ Gets or sets the type name handling used when serializing this property.
+
+ The type name handling.
+
+
+
+ Gets or sets whether this property's value is serialized as a reference.
+
+ Whether this property's value is serialized as a reference.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets a value indicating whether this property is required.
+
+
+ A value indicating whether this property is required.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ Name of the property.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Specifies the state of the reader.
+
+
+
+
+ The Read method has not been called.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Reader is at a property.
+
+
+
+
+ Reader is at the start of an object.
+
+
+
+
+ Reader is in an object.
+
+
+
+
+ Reader is at the start of an array.
+
+
+
+
+ Reader is in an array.
+
+
+
+
+ The Close method has been called.
+
+
+
+
+ Reader has just read a value.
+
+
+
+
+ Reader is at the start of a constructor.
+
+
+
+
+ Reader in a constructor.
+
+
+
+
+ An error occurred that prevents the read operation from continuing.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Gets the current reader state.
+
+ The current reader state.
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the reader is closed.
+
+
+ true to close the underlying stream or when
+ the reader is closed; otherwise false. The default is true.
+
+
+
+
+ Gets or sets a value indicating whether multiple pieces of JSON content can
+ be read from a continuous stream without erroring.
+
+
+ true to support reading multiple pieces of JSON content; otherwise false. The default is false.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+ Get or set how time zones are handling when reading JSON.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how custom date formatted strings are parsed when reading JSON.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+ Gets The Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+
+
+
+ Reads the next JSON token from the stream.
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Skips the children of the current token.
+
+
+
+
+ Sets the current token.
+
+ The new token.
+
+
+
+ Sets the current token and value.
+
+ The new token.
+ The value.
+
+
+
+ Sets the state based on current token type.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Changes the to Closed.
+
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Instructs the to always serialize the member, and require the member has a value.
+
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Serializes and deserializes objects into and from the JSON format.
+ The enables you to control how objects are encoded into JSON.
+
+
+
+
+ Occurs when the errors during serialization and deserialization.
+
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+
+
+
+ Get or set how reference loops (e.g. a class referencing itself) is handled.
+
+
+
+
+ Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+
+
+
+ Get or set how null values are handled during serialization and deserialization.
+
+
+
+
+ Get or set how null default are handled during serialization and deserialization.
+
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets a collection that will be used during serialization.
+
+ Collection that will be used during serialization.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
+
+
+ true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Creates a new instance.
+ The will not use default settings
+ from .
+
+
+ A new instance.
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will not use default settings
+ from .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance.
+ The will use default settings
+ from .
+
+
+ A new instance.
+ The will use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Deserializes the JSON structure contained by the specified .
+
+ The that contains the JSON structure to deserialize.
+ The being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The type of the object to deserialize.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+ Specifies the settings on a object.
+
+
+
+
+ Gets or sets how reference loops (e.g. a class referencing itself) is handled.
+
+ Reference loop handling.
+
+
+
+ Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+ Missing member handling.
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how null values are handled during serialization and deserialization.
+
+ Null value handling.
+
+
+
+ Gets or sets how null default are handled during serialization and deserialization.
+
+ The default value handling.
+
+
+
+ Gets or sets a collection that will be used during serialization.
+
+ The converters.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+ The preserve references handling.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+ The type name handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+ The contract resolver.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+ The reference resolver.
+
+
+
+ Gets or sets a function that creates the used by the serializer when resolving references.
+
+ A function that creates the used by the serializer when resolving references.
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+ The binder.
+
+
+
+ Gets or sets the error handler called during serialization and deserialization.
+
+ The error handler called during serialization and deserialization.
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional content after deserializing an object.
+
+
+ true if there will be a check for additional content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+ The TextReader containing the XML data to read.
+
+
+
+ Gets or sets the reader's character buffer pool.
+
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Changes the state to closed.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Gets the current line position.
+
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the writer's character array pool.
+
+
+
+
+ Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets which character to use to quote attribute values.
+
+
+
+
+ Gets or sets which character to use for indenting when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets a value indicating whether object names will be surrounded with quotes.
+
+
+
+
+ Creates an instance of the JsonWriter class using the specified .
+
+ The TextWriter to write to.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ Specifies the type of JSON token.
+
+
+
+
+ This is returned by the if a method has not been called.
+
+
+
+
+ An object start token.
+
+
+
+
+ An array start token.
+
+
+
+
+ A constructor start token.
+
+
+
+
+ An object property name.
+
+
+
+
+ A comment.
+
+
+
+
+ Raw JSON.
+
+
+
+
+ An integer.
+
+
+
+
+ A float.
+
+
+
+
+ A string.
+
+
+
+
+ A boolean.
+
+
+
+
+ A null token.
+
+
+
+
+ An undefined token.
+
+
+
+
+ An object end token.
+
+
+
+
+ An array end token.
+
+
+
+
+ A constructor end token.
+
+
+
+
+ A Date.
+
+
+
+
+ Byte data.
+
+
+
+
+
+ Represents a reader that provides validation.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Sets an event handler for receiving schema validation errors.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+
+ Gets the Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+
+ Initializes a new instance of the class that
+ validates the content returned from the given .
+
+ The to read from while validating.
+
+
+
+ Gets or sets the schema.
+
+ The schema.
+
+
+
+ Gets the used to construct this .
+
+ The specified in the constructor.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+
+ A [] or a null reference if the next JSON token is null.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the writer is closed.
+
+
+ true to close the underlying stream or when
+ the writer is closed; otherwise false. The default is true.
+
+
+
+
+ Gets the top.
+
+ The top.
+
+
+
+ Gets the state of the writer.
+
+
+
+
+ Gets the path of the writer.
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling when writing JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written to JSON text.
+
+
+
+
+ Get or set how and values are formatting when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when writing JSON. Defaults to .
+
+
+
+
+ Creates an instance of the JsonWriter class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the end of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the end of an array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end constructor.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes the end of the current JSON object or array.
+
+
+
+
+ Writes the current token and its children.
+
+ The to read the token from.
+
+
+
+ Writes the current token.
+
+ The to read the token from.
+ A flag indicating whether the current token's children should be written.
+
+
+
+ Writes the token and its value.
+
+ The to write.
+
+ The value to write.
+ A value is only required for tokens that have an associated value, e.g. the property name for .
+ A null value can be passed to the method for token's that don't have a value, e.g. .
+
+
+
+ Writes the token.
+
+ The to write.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON without changing the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Sets the state of the JsonWriter,
+
+ The JsonToken being written.
+ The value being written.
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+ Specifies how JSON comments are handled when loading JSON.
+
+
+
+
+ Ignore comments.
+
+
+
+
+ Load comments as a with type .
+
+
+
+
+ Specifies how line information is handled when loading JSON.
+
+
+
+
+ Ignore line information.
+
+
+
+
+ Load line information.
+
+
+
+
+ Contains the LINQ to JSON extension methods.
+
+
+
+
+ Returns a collection of tokens that contains the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the descendants of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, and the descendants of every token in the source collection.
+
+
+
+ Returns a collection of child properties of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the properties of every object in the source collection.
+
+
+
+ Returns a collection of child values of every object in the source collection with the given key.
+
+ An of that contains the source collection.
+ The token key.
+ An of that contains the values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of child values of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child values of every object in the source collection with the given key.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ The token key.
+ An that contains the converted values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of converted child values of every object in the source collection.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Converts the value.
+
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Converts the value.
+
+ The source collection type.
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Returns a collection of child tokens of every array in the source collection.
+
+ The source collection type.
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child tokens of every array in the source collection.
+
+ An of that contains the source collection.
+ The type to convert the values to.
+ The source collection type.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Returns the input typed as .
+
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Returns the input typed as .
+
+ The source collection type.
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Represents a JSON array.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the at the specified index.
+
+
+
+
+
+ Determines the index of a specific item in the .
+
+ The object to locate in the .
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+ The object to insert into the .
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Removes the item at the specified index.
+
+ The zero-based index of the item to remove.
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Adds an item to the .
+
+ The object to add to the .
+ The is read-only.
+
+
+
+ Removes all items from the .
+
+ The is read-only.
+
+
+
+ Determines whether the contains a specific value.
+
+ The object to locate in the .
+
+ true if is found in the ; otherwise, false.
+
+
+
+
+ Copies to.
+
+ The array.
+ Index of the array.
+
+
+
+ Gets a value indicating whether the is read-only.
+
+ true if the is read-only; otherwise, false.
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+ The object to remove from the .
+
+ true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
+
+ The is read-only.
+
+
+
+ Represents a JSON constructor.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets or sets the name of this constructor.
+
+ The constructor name.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ The constructor name.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Represents a token that can contain other tokens.
+
+
+
+
+ Occurs when the list changes or an item in the list changes.
+
+
+
+
+ Occurs before an item is added to the collection.
+
+
+
+
+ Occurs when the items list of the collection has changed, or the collection is reset.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Raises the event.
+
+ The instance containing the event data.
+
+
+
+ Raises the event.
+
+ The instance containing the event data.
+
+
+
+ Raises the event.
+
+ The instance containing the event data.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Get the first child token of this token.
+
+
+ A containing the first child token of the .
+
+
+
+
+ Get the last child token of this token.
+
+
+ A containing the last child token of the .
+
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+
+ An of containing the child tokens of this , in document order.
+
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+
+ A containing the child values of this , in document order.
+
+
+
+
+ Returns a collection of the descendant tokens for this token in document order.
+
+ An containing the descendant tokens of the .
+
+
+
+ Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
+
+ An containing this token, and all the descendant tokens of the .
+
+
+
+ Adds the specified content as children of this .
+
+ The content to be added.
+
+
+
+ Adds the specified content as the first children of this .
+
+ The content to be added.
+
+
+
+ Creates an that can be used to add tokens to the .
+
+ An that is ready to have content written to it.
+
+
+
+ Replaces the children nodes of this token with the specified content.
+
+ The content.
+
+
+
+ Removes the child nodes from this token.
+
+
+
+
+ Merge the specified content into this .
+
+ The content to be merged.
+
+
+
+ Merge the specified content into this using .
+
+ The content to be merged.
+ The used to merge the content.
+
+
+
+ Gets the count of child JSON tokens.
+
+ The count of child JSON tokens
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ An empty collection of objects.
+
+
+
+
+ Initializes a new instance of the struct.
+
+ The enumerable.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Returns a hash code for this instance.
+
+
+ A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
+
+
+
+
+ Represents a JSON object.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Occurs when a property value is changing.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets an of this object's properties.
+
+ An of this object's properties.
+
+
+
+ Gets a the specified name.
+
+ The property name.
+ A with the specified name or null.
+
+
+
+ Gets an of this object's property values.
+
+ An of this object's property values.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the with the specified property name.
+
+
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified property name.
+
+ Name of the property.
+ The with the specified property name.
+
+
+
+ Gets the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ One of the enumeration values that specifies how the strings will be compared.
+ The with the specified property name.
+
+
+
+ Tries to get the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ The value.
+ One of the enumeration values that specifies how the strings will be compared.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Adds the specified property name.
+
+ Name of the property.
+ The value.
+
+
+
+ Removes the property with the specified name.
+
+ Name of the property.
+ true if item was successfully removed; otherwise, false.
+
+
+
+ Tries the get value.
+
+ Name of the property.
+ The value.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Raises the event with the provided arguments.
+
+ Name of the property.
+
+
+
+ Raises the event with the provided arguments.
+
+ Name of the property.
+
+
+
+ Returns the properties for this instance of a component.
+
+
+ A that represents the properties for this component instance.
+
+
+
+
+ Returns the properties for this instance of a component using the attribute array as a filter.
+
+ An array of type that is used as a filter.
+
+ A that represents the filtered properties for this component instance.
+
+
+
+
+ Returns a collection of custom attributes for this instance of a component.
+
+
+ An containing the attributes for this object.
+
+
+
+
+ Returns the class name of this instance of a component.
+
+
+ The class name of the object, or null if the class does not have a name.
+
+
+
+
+ Returns the name of this instance of a component.
+
+
+ The name of the object, or null if the object does not have a name.
+
+
+
+
+ Returns a type converter for this instance of a component.
+
+
+ A that is the converter for this object, or null if there is no for this object.
+
+
+
+
+ Returns the default event for this instance of a component.
+
+
+ An that represents the default event for this object, or null if this object does not have events.
+
+
+
+
+ Returns the default property for this instance of a component.
+
+
+ A that represents the default property for this object, or null if this object does not have properties.
+
+
+
+
+ Returns an editor of the specified type for this instance of a component.
+
+ A that represents the editor for this object.
+
+ An of the specified type that is the editor for this object, or null if the editor cannot be found.
+
+
+
+
+ Returns the events for this instance of a component using the specified attribute array as a filter.
+
+ An array of type that is used as a filter.
+
+ An that represents the filtered events for this component instance.
+
+
+
+
+ Returns the events for this instance of a component.
+
+
+ An that represents the events for this component instance.
+
+
+
+
+ Returns an object that contains the property described by the specified property descriptor.
+
+ A that represents the property whose owner is to be found.
+
+ An that represents the owner of the specified property.
+
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Specifies the settings used when merging JSON.
+
+
+
+
+ Gets or sets the method used when merging JSON arrays.
+
+ The method used when merging JSON arrays.
+
+
+
+ Gets or sets how how null value properties are merged.
+
+ How null value properties are merged.
+
+
+
+ Represents a JSON property.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the property name.
+
+ The property name.
+
+
+
+ Gets or sets the property value.
+
+ The property value.
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Represents a view of a .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The name.
+
+
+
+ When overridden in a derived class, returns whether resetting an object changes its value.
+
+
+ true if resetting the component changes its value; otherwise, false.
+
+ The component to test for reset capability.
+
+
+
+ When overridden in a derived class, gets the current value of the property on a component.
+
+
+ The value of a property for a given component.
+
+ The component with the property for which to retrieve the value.
+
+
+
+
+ When overridden in a derived class, resets the value for this property of the component to the default value.
+
+ The component with the property value that is to be reset to the default value.
+
+
+
+
+ When overridden in a derived class, sets the value of the component to a different value.
+
+ The component with the property value that is to be set.
+ The new value.
+
+
+
+
+ When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
+
+
+ true if the property should be persisted; otherwise, false.
+
+ The component with the property to be examined for persistence.
+
+
+
+ When overridden in a derived class, gets the type of the component this property is bound to.
+
+
+ A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type.
+
+
+
+
+ When overridden in a derived class, gets a value indicating whether this property is read-only.
+
+
+ true if the property is read-only; otherwise, false.
+
+
+
+
+ When overridden in a derived class, gets the type of the property.
+
+
+ A that represents the type of the property.
+
+
+
+
+ Gets the hash code for the name of the member.
+
+
+
+ The hash code for the name of the member.
+
+
+
+
+ Represents a raw JSON string.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class.
+
+ The raw json.
+
+
+
+ Creates an instance of with the content of the reader's current token.
+
+ The reader.
+ An instance of with the content of the reader's current token.
+
+
+
+ Represents an abstract JSON token.
+
+
+
+
+ Gets a comparer that can compare two tokens for value equality.
+
+ A that can compare two nodes for value equality.
+
+
+
+ Gets or sets the parent.
+
+ The parent.
+
+
+
+ Gets the root of this .
+
+ The root of this .
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Compares the values of two tokens, including the values of all descendant tokens.
+
+ The first to compare.
+ The second to compare.
+ true if the tokens are equal; otherwise false.
+
+
+
+ Gets the next sibling token of this node.
+
+ The that contains the next sibling token.
+
+
+
+ Gets the previous sibling token of this node.
+
+ The that contains the previous sibling token.
+
+
+
+ Gets the path of the JSON token.
+
+
+
+
+ Adds the specified content immediately after this token.
+
+ A content object that contains simple content or a collection of content objects to be added after this token.
+
+
+
+ Adds the specified content immediately before this token.
+
+ A content object that contains simple content or a collection of content objects to be added before this token.
+
+
+
+ Returns a collection of the ancestor tokens of this token.
+
+ A collection of the ancestor tokens of this token.
+
+
+
+ Returns a collection of tokens that contain this token, and the ancestors of this token.
+
+ A collection of tokens that contain this token, and the ancestors of this token.
+
+
+
+ Returns a collection of the sibling tokens after this token, in document order.
+
+ A collection of the sibling tokens after this tokens, in document order.
+
+
+
+ Returns a collection of the sibling tokens before this token, in document order.
+
+ A collection of the sibling tokens before this token, in document order.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets the with the specified key converted to the specified type.
+
+ The type to convert the token to.
+ The token key.
+ The converted token value.
+
+
+
+ Get the first child token of this token.
+
+ A containing the first child token of the .
+
+
+
+ Get the last child token of this token.
+
+ A containing the last child token of the .
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+ An of containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
+
+ The type to filter the child tokens on.
+ A containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+ A containing the child values of this , in document order.
+
+
+
+ Removes this token from its parent.
+
+
+
+
+ Replaces this token with the specified token.
+
+ The value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Returns the indented JSON for this token.
+
+
+ The indented JSON for this token.
+
+
+
+
+ Returns the JSON for this token using the given formatting and converters.
+
+ Indicates how the output is formatted.
+ A collection of which will be used when writing the token.
+ The JSON for this token using the given formatting and converters.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to [].
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from [] to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Creates an for this token.
+
+ An that can be used to read this token and its descendants.
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the value of the specified object
+
+
+
+ Creates a from an object using the specified .
+
+ The object that will be used to create .
+ The that will be used when reading the object.
+ A with the value of the specified object
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A , or null.
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ A .
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ An that contains the selected elements.
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ An that contains the selected elements.
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Creates a new instance of the . All child tokens are recursively cloned.
+
+ A new instance of the .
+
+
+
+ Adds an object to the annotation list of this .
+
+ The annotation to add.
+
+
+
+ Get the first annotation object of the specified type from this .
+
+ The type of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets the first annotation object of the specified type from this .
+
+ The of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The type of the annotations to retrieve.
+ An that contains the annotations for this .
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The of the annotations to retrieve.
+ An of that contains the annotations that match the specified type for this .
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The type of annotations to remove.
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The of annotations to remove.
+
+
+
+ Compares tokens to determine whether they are equal.
+
+
+
+
+ Determines whether the specified objects are equal.
+
+ The first object of type to compare.
+ The second object of type to compare.
+
+ true if the specified objects are equal; otherwise, false.
+
+
+
+
+ Returns a hash code for the specified object.
+
+ The for which a hash code is to be returned.
+ A hash code for the specified object.
+ The type of is a reference type and is null.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets the at the reader's current position.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The token to read from.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Specifies the type of token.
+
+
+
+
+ No token type has been set.
+
+
+
+
+ A JSON object.
+
+
+
+
+ A JSON array.
+
+
+
+
+ A JSON constructor.
+
+
+
+
+ A JSON object property.
+
+
+
+
+ A comment.
+
+
+
+
+ An integer value.
+
+
+
+
+ A float value.
+
+
+
+
+ A string value.
+
+
+
+
+ A boolean value.
+
+
+
+
+ A null value.
+
+
+
+
+ An undefined value.
+
+
+
+
+ A date value.
+
+
+
+
+ A raw JSON value.
+
+
+
+
+ A collection of bytes value.
+
+
+
+
+ A Guid value.
+
+
+
+
+ A Uri value.
+
+
+
+
+ A TimeSpan value.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets the at the writer's current position.
+
+
+
+
+ Gets the token being writen.
+
+ The token being writen.
+
+
+
+ Initializes a new instance of the class writing to the given .
+
+ The container being written to.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Represents a value in JSON (string, integer, date, etc).
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Creates a comment with the given value.
+
+ The value.
+ A comment with the given value.
+
+
+
+ Creates a string with the given value.
+
+ The value.
+ A string with the given value.
+
+
+
+ Creates a null value.
+
+ A null value.
+
+
+
+ Creates a undefined value.
+
+ A undefined value.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets or sets the underlying token value.
+
+ The underlying token value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ true if the current object is equal to the parameter; otherwise, false.
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+ The to compare with the current .
+
+ true if the specified is equal to the current ; otherwise, false.
+
+
+ The parameter is null.
+
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
+
+ An object to compare with this instance.
+
+ A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
+ Value
+ Meaning
+ Less than zero
+ This instance is less than .
+ Zero
+ This instance is equal to .
+ Greater than zero
+ This instance is greater than .
+
+
+ is not the same type as this instance.
+
+
+
+
+ Specifies the settings used when loading JSON.
+
+
+
+
+ Gets or sets how JSON comments are handled when loading JSON.
+
+ The JSON comment handling.
+
+
+
+ Gets or sets how JSON line info is handled when loading JSON.
+
+ The JSON line info handling.
+
+
+
+ Specifies how JSON arrays are merged together.
+
+
+
+ Concatenate arrays.
+
+
+ Union arrays, skipping items that already exist.
+
+
+ Replace all array items.
+
+
+ Merge array items together, matched by index.
+
+
+
+ Specifies how null value properties are merged.
+
+
+
+
+ The content's null value properties will be ignored during merging.
+
+
+
+
+ The content's null value properties will be merged.
+
+
+
+
+ Specifies the member serialization options for the .
+
+
+
+
+ All public members are serialized by default. Members can be excluded using or .
+ This is the default member serialization mode.
+
+
+
+
+ Only members marked with or are serialized.
+ This member serialization mode can also be set by marking the class with .
+
+
+
+
+ All public and private fields are serialized. Members can be excluded using or .
+ This member serialization mode can also be set by marking the class with
+ and setting IgnoreSerializableAttribute on to false.
+
+
+
+
+ Specifies metadata property handling options for the .
+
+
+
+
+ Read metadata properties located at the start of a JSON object.
+
+
+
+
+ Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
+
+
+
+
+ Do not try to read metadata properties.
+
+
+
+
+ Specifies missing member handling options for the .
+
+
+
+
+ Ignore a missing member and do not attempt to deserialize it.
+
+
+
+
+ Throw a when a missing member is encountered during deserialization.
+
+
+
+
+ Specifies null value handling options for the .
+
+
+
+
+
+
+
+
+ Include null values when serializing and deserializing objects.
+
+
+
+
+ Ignore null values when serializing and deserializing objects.
+
+
+
+
+ Specifies how object creation is handled by the .
+
+
+
+
+ Reuse existing objects, create new objects when needed.
+
+
+
+
+ Only reuse existing objects.
+
+
+
+
+ Always create new objects.
+
+
+
+
+ Specifies reference handling options for the .
+ Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable.
+
+
+
+
+
+
+
+ Do not preserve references when serializing types.
+
+
+
+
+ Preserve references when serializing into a JSON object structure.
+
+
+
+
+ Preserve references when serializing into a JSON array structure.
+
+
+
+
+ Preserve references when serializing.
+
+
+
+
+ Specifies reference loop handling options for the .
+
+
+
+
+ Throw a when a loop is encountered.
+
+
+
+
+ Ignore loop references and do not serialize.
+
+
+
+
+ Serialize loop references.
+
+
+
+
+ Indicating whether a property is required.
+
+
+
+
+ The property is not required. The default state.
+
+
+
+
+ The property must be defined in JSON but can be a null value.
+
+
+
+
+ The property must be defined in JSON and cannot be a null value.
+
+
+
+
+ The property is not required but it cannot be a null value.
+
+
+
+
+
+ Contains the JSON schema extension methods.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ When this method returns, contains any error messages generated while validating.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ The validation event handler.
+
+
+
+
+ An in-memory representation of a JSON Schema.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the id.
+
+
+
+
+ Gets or sets the title.
+
+
+
+
+ Gets or sets whether the object is required.
+
+
+
+
+ Gets or sets whether the object is read only.
+
+
+
+
+ Gets or sets whether the object is visible to users.
+
+
+
+
+ Gets or sets whether the object is transient.
+
+
+
+
+ Gets or sets the description of the object.
+
+
+
+
+ Gets or sets the types of values allowed by the object.
+
+ The type.
+
+
+
+ Gets or sets the pattern.
+
+ The pattern.
+
+
+
+ Gets or sets the minimum length.
+
+ The minimum length.
+
+
+
+ Gets or sets the maximum length.
+
+ The maximum length.
+
+
+
+ Gets or sets a number that the value should be divisble by.
+
+ A number that the value should be divisble by.
+
+
+
+ Gets or sets the minimum.
+
+ The minimum.
+
+
+
+ Gets or sets the maximum.
+
+ The maximum.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+
+
+ Gets or sets the minimum number of items.
+
+ The minimum number of items.
+
+
+
+ Gets or sets the maximum number of items.
+
+ The maximum number of items.
+
+
+
+ Gets or sets the of items.
+
+ The of items.
+
+
+
+ Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
+
+
+ true if items are validated using their array position; otherwise, false.
+
+
+
+
+ Gets or sets the of additional items.
+
+ The of additional items.
+
+
+
+ Gets or sets a value indicating whether additional items are allowed.
+
+
+ true if additional items are allowed; otherwise, false.
+
+
+
+
+ Gets or sets whether the array items must be unique.
+
+
+
+
+ Gets or sets the of properties.
+
+ The of properties.
+
+
+
+ Gets or sets the of additional properties.
+
+ The of additional properties.
+
+
+
+ Gets or sets the pattern properties.
+
+ The pattern properties.
+
+
+
+ Gets or sets a value indicating whether additional properties are allowed.
+
+
+ true if additional properties are allowed; otherwise, false.
+
+
+
+
+ Gets or sets the required property if this property is present.
+
+ The required property if this property is present.
+
+
+
+ Gets or sets the a collection of valid enum values allowed.
+
+ A collection of valid enum values allowed.
+
+
+
+ Gets or sets disallowed types.
+
+ The disallow types.
+
+
+
+ Gets or sets the default value.
+
+ The default value.
+
+
+
+ Gets or sets the collection of that this schema extends.
+
+ The collection of that this schema extends.
+
+
+
+ Gets or sets the format.
+
+ The format.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The object representing the JSON Schema.
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The to use when resolving schema references.
+ The object representing the JSON Schema.
+
+
+
+ Load a from a string that contains schema JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Parses the specified json.
+
+ The json.
+ The resolver.
+ A populated from the string that contains JSON.
+
+
+
+ Writes this schema to a .
+
+ A into which this method will write.
+
+
+
+ Writes this schema to a using the specified .
+
+ A into which this method will write.
+ The resolver used.
+
+
+
+ Returns a that represents the current .
+
+
+ A that represents the current .
+
+
+
+
+
+ Returns detailed information about the schema exception.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+ The parameter is null.
+ The class name is null or is zero (0).
+
+
+
+
+ Generates a from a specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets how undefined schemas are handled by the serializer.
+
+
+
+
+ Gets or sets the contract resolver.
+
+ The contract resolver.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+
+ Resolves from an id.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the loaded schemas.
+
+ The loaded schemas.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets a for the specified reference.
+
+ The id.
+ A for the specified reference.
+
+
+
+
+ The value types allowed by the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ No type specified.
+
+
+
+
+ String type.
+
+
+
+
+ Float type.
+
+
+
+
+ Integer type.
+
+
+
+
+ Boolean type.
+
+
+
+
+ Object type.
+
+
+
+
+ Array type.
+
+
+
+
+ Null type.
+
+
+
+
+ Any type.
+
+
+
+
+
+ Specifies undefined schema Id handling options for the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Do not infer a schema Id.
+
+
+
+
+ Use the .NET type name as the schema Id.
+
+
+
+
+ Use the assembly qualified .NET type name as the schema Id.
+
+
+
+
+
+ Returns detailed information related to the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the associated with the validation error.
+
+ The JsonSchemaException associated with the validation error.
+
+
+
+ Gets the path of the JSON location where the validation error occurred.
+
+ The path of the JSON location where the validation error occurred.
+
+
+
+ Gets the text description corresponding to the validation error.
+
+ The text description.
+
+
+
+
+ Represents the callback method that will handle JSON schema validation events and the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ A snake case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ A camel case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Resolves member mappings for a type, camel casing property names.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+ Gets a value indicating whether members are being get and set using dynamic code generation.
+ This value is determined by the runtime permissions available.
+
+
+ true if using dynamic code generation; otherwise, false.
+
+
+
+
+ Gets or sets the default members search flags.
+
+ The default members search flags.
+
+
+
+ Gets or sets a value indicating whether compiler generated members should be serialized.
+
+
+ true if serialized compiler generated members; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
+
+
+ true if the interface will be ignored when serializing and deserializing types; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
+
+
+ true if the attribute will be ignored when serializing and deserializing types; otherwise, false.
+
+
+
+
+ Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
+
+ The naming strategy used to resolve how property names and dictionary keys are serialized.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ If set to true the will use a cached shared with other resolvers of the same type.
+ Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only
+ happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different
+ results. When set to false it is highly recommended to reuse instances with the .
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Gets the serializable members for the type.
+
+ The type to get serializable members for.
+ The serializable members for the type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates the constructor parameters.
+
+ The constructor to create properties for.
+ The type's member properties.
+ Properties for the given .
+
+
+
+ Creates a for the given .
+
+ The matching member property.
+ The constructor parameter.
+ A created for the given .
+
+
+
+ Resolves the default for the contract.
+
+ Type of the object.
+ The contract's default .
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Determines which contract type is created for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates properties for the given .
+
+ The type to create properties for.
+ /// The member serialization mode for the type.
+ Properties for the given .
+
+
+
+ Creates the used by the serializer to get and set values from a member.
+
+ The member.
+ The used by the serializer to get and set values from a member.
+
+
+
+ Creates a for the given .
+
+ The member's parent .
+ The member to create a for.
+ A created for the given .
+
+
+
+ Resolves the name of the property.
+
+ Name of the property.
+ Resolved name of the property.
+
+
+
+ Resolves the key of the dictionary. By default is used to resolve dictionary keys.
+
+ Key of the dictionary.
+ Resolved key of the dictionary.
+
+
+
+ Gets the resolved name of the property.
+
+ Name of the property.
+ Name of the property.
+
+
+
+ The default naming strategy. Property names and dictionary keys are unchanged.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ The default serialization binder used when resolving and loading classes from type names.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+ The type of the object the formatter creates a new instance of.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ The type of the object the formatter creates a new instance of.
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+
+
+ Represents a trace writer that writes to the application's instances.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Get and set values for a using dynamic methods.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Provides information surrounding an error.
+
+
+
+
+ Gets the error.
+
+ The error.
+
+
+
+ Gets the original object that caused the error.
+
+ The original object that caused the error.
+
+
+
+ Gets the member that caused the error.
+
+ The member that caused the error.
+
+
+
+ Gets the path of the JSON location where the error occurred.
+
+ The path of the JSON location where the error occurred.
+
+
+
+ Gets or sets a value indicating whether this is handled.
+
+ true if handled; otherwise, false.
+
+
+
+ Provides data for the Error event.
+
+
+
+
+ Gets the current object the error event is being raised against.
+
+ The current object the error event is being raised against.
+
+
+
+ Gets the error context.
+
+ The error context.
+
+
+
+ Initializes a new instance of the class.
+
+ The current object.
+ The error context.
+
+
+
+ Get and set values for a using dynamic methods.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Provides methods to get attributes.
+
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ A base class for resolving how property names and dictionary keys are serialized.
+
+
+
+
+ A flag indicating whether dictionary keys should be processed.
+ Defaults to false.
+
+
+
+
+ A flag indicating whether explicitly specified property names,
+ e.g. a property name customized with a , should be processed.
+ Defaults to false.
+
+
+
+
+ Gets the serialized name for a given property name.
+
+ The initial property name.
+ A flag indicating whether the property has had a name explicitly specfied.
+ The serialized property name.
+
+
+
+ Gets the serialized key for a given dictionary key.
+
+ The initial dictionary key.
+ The serialized dictionary key.
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Used to resolve references when serializing and deserializing JSON by the .
+
+
+
+
+ Resolves a reference to its object.
+
+ The serialization context.
+ The reference to resolve.
+ The object that
+
+
+
+ Gets the reference for the sepecified object.
+
+ The serialization context.
+ The object to get a reference for.
+ The reference to the object.
+
+
+
+ Determines whether the specified object is referenced.
+
+ The serialization context.
+ The object to test for a reference.
+
+ true if the specified object is referenced; otherwise, false.
+
+
+
+
+ Adds a reference to the specified object.
+
+ The serialization context.
+ The reference.
+ The object to reference.
+
+
+
+ Represents a trace writer.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Provides methods to get and set values.
+
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the of the collection items.
+
+ The of the collection items.
+
+
+
+ Gets a value indicating whether the collection type is a multidimensional array.
+
+ true if the collection type is a multidimensional array; otherwise, false.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the collection values.
+
+ true if the creator has a parameter with the collection values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the default collection items .
+
+ The converter.
+
+
+
+ Gets or sets a value indicating whether the collection items preserve object references.
+
+ true if collection items preserve object references; otherwise, false.
+
+
+
+ Gets or sets the collection item reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the collection item type name handling.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Handles serialization callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+
+
+
+ Handles serialization error callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+ The error context.
+
+
+
+ Sets extension data for an object during deserialization.
+
+ The object to set extension data on.
+ The extension data key.
+ The extension data value.
+
+
+
+ Gets extension data for an object during serialization.
+
+ The object to set extension data on.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the underlying type for the contract.
+
+ The underlying type for the contract.
+
+
+
+ Gets or sets the type created during deserialization.
+
+ The type created during deserialization.
+
+
+
+ Gets or sets whether this type contract is serialized as a reference.
+
+ Whether this type contract is serialized as a reference.
+
+
+
+ Gets or sets the default for this contract.
+
+ The converter.
+
+
+
+ Gets or sets all methods called immediately after deserialization of the object.
+
+ The methods called immediately after deserialization of the object.
+
+
+
+ Gets or sets all methods called during deserialization of the object.
+
+ The methods called during deserialization of the object.
+
+
+
+ Gets or sets all methods called after serialization of the object graph.
+
+ The methods called after serialization of the object graph.
+
+
+
+ Gets or sets all methods called before serialization of the object.
+
+ The methods called before serialization of the object.
+
+
+
+ Gets or sets all method called when an error is thrown during the serialization of the object.
+
+ The methods called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the method called immediately after deserialization of the object.
+
+ The method called immediately after deserialization of the object.
+
+
+
+ Gets or sets the method called during deserialization of the object.
+
+ The method called during deserialization of the object.
+
+
+
+ Gets or sets the method called after serialization of the object graph.
+
+ The method called after serialization of the object graph.
+
+
+
+ Gets or sets the method called before serialization of the object.
+
+ The method called before serialization of the object.
+
+
+
+ Gets or sets the method called when an error is thrown during the serialization of the object.
+
+ The method called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the default creator method used to create the object.
+
+ The default creator method used to create the object.
+
+
+
+ Gets or sets a value indicating whether the default creator is non public.
+
+ true if the default object creator is non-public; otherwise, false.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the property name resolver.
+
+ The property name resolver.
+
+
+
+ Gets or sets the dictionary key resolver.
+
+ The dictionary key resolver.
+
+
+
+ Gets the of the dictionary keys.
+
+ The of the dictionary keys.
+
+
+
+ Gets the of the dictionary values.
+
+ The of the dictionary values.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the dictionary values.
+
+ true if the creator has a parameter with the dictionary values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the object's properties.
+
+ The object's properties.
+
+
+
+ Gets or sets the property name resolver.
+
+ The property name resolver.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the ISerializable object constructor.
+
+ The ISerializable object constructor.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the object member serialization.
+
+ The member object serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Gets the object's properties.
+
+ The object's properties.
+
+
+
+ Gets the constructor parameters required for any non-default constructor
+
+
+
+
+ Gets a collection of instances that define the parameters used with .
+
+
+
+
+ Gets or sets the override constructor used to create the object.
+ This is set when a constructor is marked up using the
+ JsonConstructor attribute.
+
+ The override constructor.
+
+
+
+ Gets or sets the parametrized constructor used to create the object.
+
+ The parametrized constructor.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+ This function is called with a collection of arguments which are defined by the collection.
+
+ The function used to create the object.
+
+
+
+ Gets or sets the extension data setter.
+
+
+
+
+ Gets or sets the extension data getter.
+
+
+
+
+ Gets or sets the extension data value type.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Maps a JSON property to a .NET member or constructor parameter.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the type that declared this property.
+
+ The type that declared this property.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets the name of the underlying member or parameter.
+
+ The name of the underlying member or parameter.
+
+
+
+ Gets the that will get and set the during serialization.
+
+ The that will get and set the during serialization.
+
+
+
+ Gets or sets the for this property.
+
+ The for this property.
+
+
+
+ Gets or sets the type of the property.
+
+ The type of the property.
+
+
+
+ Gets or sets the for the property.
+ If set this converter takes presidence over the contract converter for the property type.
+
+ The converter.
+
+
+
+ Gets or sets the member converter.
+
+ The member converter.
+
+
+
+ Gets or sets a value indicating whether this is ignored.
+
+ true if ignored; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is readable.
+
+ true if readable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is writable.
+
+ true if writable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this has a member attribute.
+
+ true if has a member attribute; otherwise, false.
+
+
+
+ Gets the default value.
+
+ The default value.
+
+
+
+ Gets or sets a value indicating whether this is required.
+
+ A value indicating whether this is required.
+
+
+
+ Gets or sets a value indicating whether this property preserves object references.
+
+
+ true if this instance is reference; otherwise, false.
+
+
+
+
+ Gets or sets the property null value handling.
+
+ The null value handling.
+
+
+
+ Gets or sets the property default value handling.
+
+ The default value handling.
+
+
+
+ Gets or sets the property reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the property object creation handling.
+
+ The object creation handling.
+
+
+
+ Gets or sets or sets the type name handling.
+
+ The type name handling.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialize.
+
+ A predicate used to determine whether the property should be serialize.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be deserialized.
+
+ A predicate used to determine whether the property should be deserialized.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialized.
+
+ A predicate used to determine whether the property should be serialized.
+
+
+
+ Gets or sets an action used to set whether the property has been deserialized.
+
+ An action used to set whether the property has been deserialized.
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets or sets the converter used when serializing the property's collection items.
+
+ The collection's items converter.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ A collection of objects.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type.
+
+
+
+ When implemented in a derived class, extracts the key from the specified element.
+
+ The element from which to extract the key.
+ The key for the specified element.
+
+
+
+ Adds a object.
+
+ The property to add to the collection.
+
+
+
+ Gets the closest matching object.
+ First attempts to get an exact case match of propertyName and then
+ a case insensitive match.
+
+ Name of the property.
+ A matching property if found.
+
+
+
+ Gets a property by property name.
+
+ The name of the property to get.
+ Type property name string comparison.
+ A matching property if found.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Lookup and create an instance of the JsonConverter type described by the argument.
+
+ The JsonConverter type to create.
+ Optional arguments to pass to an initializing constructor of the JsonConverter.
+ If null, the default constructor is used.
+
+
+
+ Represents a trace writer that writes to memory. When the trace message limit is
+ reached then old trace messages will be removed as new messages are added.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Returns an enumeration of the most recent trace messages.
+
+ An enumeration of the most recent trace messages.
+
+
+
+ Returns a of the most recent trace messages.
+
+
+ A of the most recent trace messages.
+
+
+
+
+ Represents a method that constructs an object.
+
+ The object type to create.
+
+
+
+ When applied to a method, specifies that the method is called when an error occurs serializing an object.
+
+
+
+
+ Provides methods to get attributes from a , , or .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The instance to get attributes for. This parameter should be a , , or .
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Get and set values for a using reflection.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Specifies how strings are escaped when writing JSON text.
+
+
+
+
+ Only control characters (e.g. newline) are escaped.
+
+
+
+
+ All non-ASCII and control characters (e.g. newline) are escaped.
+
+
+
+
+ HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
+
+
+
+
+ Specifies type name handling options for the .
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Do not include the .NET type name when serializing types.
+
+
+
+
+ Include the .NET type name when serializing into a JSON object structure.
+
+
+
+
+ Include the .NET type name when serializing into a JSON array structure.
+
+
+
+
+ Always include the .NET type name when serializing.
+
+
+
+
+ Include the .NET type name when the type of the object being serialized is not the same as its declared type.
+
+
+
+
+ Determines whether the collection is null or empty.
+
+ The collection.
+
+ true if the collection is null or empty; otherwise, false.
+
+
+
+
+ Adds the elements of the specified collection to the specified generic IList.
+
+ The list to add to.
+ The collection of elements to add.
+
+
+
+ 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.
+
+
+
+
+ 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.9.0.1/lib/netstandard1.0/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/netstandard1.0/Newtonsoft.Json.dll
new file mode 100644
index 0000000..5f2336e
Binary files /dev/null and b/packages/Newtonsoft.Json.9.0.1/lib/netstandard1.0/Newtonsoft.Json.dll differ
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/netstandard1.0/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.9.0.1/lib/netstandard1.0/Newtonsoft.Json.xml
new file mode 100644
index 0000000..6404058
--- /dev/null
+++ b/packages/Newtonsoft.Json.9.0.1/lib/netstandard1.0/Newtonsoft.Json.xml
@@ -0,0 +1,8756 @@
+
+
+
+ Newtonsoft.Json
+
+
+
+
+ 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 parameterized constructor, then the non-public default constructor.
+
+
+
+
+ Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
+
+
+
+
+ Specifies how dates are formatted when writing JSON text.
+
+
+
+
+ Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
+
+
+
+
+ Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
+
+
+
+
+ Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
+
+
+
+
+ Date formatted strings are not parsed to a date type and are read as strings.
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Specifies how to treat the time value when converting between string and .
+
+
+
+
+ Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
+
+
+
+
+ Treat as a UTC. If the object represents a local time, it is converted to a UTC.
+
+
+
+
+ Treat as a local time if a is being converted to a string.
+ If a string is being converted to , convert to a local time if a time zone is specified.
+
+
+
+
+ Time zone information should be preserved when converting.
+
+
+
+
+ Specifies default value handling options for the .
+
+
+
+
+
+
+
+
+ Include members where the member value is the same as the member's default value when serializing objects.
+ Included members are written to JSON. Has no effect when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ so that is is not written to JSON.
+ This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
+ decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
+ placing the on the property.
+
+
+
+
+ Members with a default value but no JSON will be set to their default value when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ and sets members to their default value when deserializing.
+
+
+
+
+ Specifies float format handling options when writing special floating point numbers, e.g. ,
+ and with .
+
+
+
+
+ Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
+
+
+
+
+ Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
+ Note that this will produce non-valid JSON.
+
+
+
+
+ Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property.
+
+
+
+
+ Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Specifies formatting options for the .
+
+
+
+
+ No special formatting is applied. This is the default.
+
+
+
+
+ Causes child objects to be indented according to the and settings.
+
+
+
+
+ Provides an interface for using pooled arrays.
+
+ The array type content.
+
+
+
+ Rent a array from the pool. This array must be returned when it is no longer needed.
+
+ The minimum required length of the array. The returned array may be longer.
+ The rented array from the pool. This array must be returned when it is no longer needed.
+
+
+
+ Return an array to the pool.
+
+ The array that is being returned.
+
+
+
+ Provides an interface to enable a class to return line and position information.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Gets the current line position.
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Gets or sets a value indicating whether null items are allowed in the collection.
+
+ true if null items are allowed in the collection; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a flag indicating whether the array can contain null items
+
+ A flag indicating whether the array can contain null items.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Instructs the to use the specified constructor when deserializing that object.
+
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the id.
+
+ The id.
+
+
+
+ Gets or sets the title.
+
+ The title.
+
+
+
+ Gets or sets the description.
+
+ The description.
+
+
+
+ Gets or sets the collection's items converter.
+
+ The collection's items converter.
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets a value that indicates whether to preserve object references.
+
+
+ true to keep object reference; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets a value that indicates whether to preserve collection's items references.
+
+
+ true to keep collection's items object references; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets the reference loop handling used when serializing the collection's items.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the type name handling used when serializing the collection's items.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Provides methods for converting between common language runtime types and JSON types.
+
+
+
+
+
+
+
+ Gets or sets a function that creates default .
+ Default settings are automatically used by serialization methods on ,
+ and and on .
+ To serialize without using any default settings create a with
+ .
+
+
+
+
+ Represents JavaScript's boolean value true as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's boolean value false as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's null as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's undefined as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's positive infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's negative infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's NaN as a string. This field is read-only.
+
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ The time zone handling when the date is converted to a string.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ The string escape handling.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Serializes the specified object to a JSON string.
+
+ The object to serialize.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a collection of .
+
+ The object to serialize.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting and a collection of .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Asynchronously serializes the specified object to a JSON string.
+ Serialization will happen on a new thread.
+
+ The object to serialize.
+
+ A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
+
+
+
+
+ Asynchronously serializes the specified object to a JSON string using formatting.
+ Serialization will happen on a new thread.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+
+ A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
+
+
+
+
+ Asynchronously serializes the specified object to a JSON string using formatting and a collection of .
+ Serialization will happen on a new thread.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
+
+
+
+
+ Deserializes the JSON to a .NET object.
+
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to a .NET object using .
+
+ The JSON to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The JSON to deserialize.
+ The of object being deserialized.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type.
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type using .
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The type of the object to deserialize to.
+ The object to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The JSON to deserialize.
+ The type of the object to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The JSON to deserialize.
+ The type of the object to deserialize to.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type.
+ Deserialization will happen on a new thread.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type using .
+ Deserialization will happen on a new thread.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type.
+ Deserialization will happen on a new thread.
+
+ The JSON to deserialize.
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type using .
+ Deserialization will happen on a new thread.
+
+ The JSON to deserialize.
+ The type of the object to deserialize to.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Populates the object with values from the JSON string.
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+
+
+ Populates the object with values from the JSON string using .
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+
+
+ Asynchronously populates the object with values from the JSON string using .
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+ A task that represents the asynchronous populate operation.
+
+
+
+
+ Serializes the to a JSON string.
+
+ The node to convert to JSON.
+ A JSON string of the XNode.
+
+
+
+ Serializes the to a JSON string using formatting.
+
+ The node to convert to JSON.
+ Indicates how the output is formatted.
+ A JSON string of the XNode.
+
+
+
+ Serializes the to a JSON string using formatting and omits the root object if is true.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ Omits writing the root object.
+ A JSON string of the XNode.
+
+
+
+ Deserializes the from a JSON string.
+
+ The JSON string.
+ The deserialized XNode
+
+
+
+ Deserializes the from a JSON string nested in a root elment specified by .
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+ The deserialized XNode
+
+
+
+ Deserializes the from a JSON string nested in a root elment specified by
+ and writes a .NET array attribute for collections.
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+
+ A flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ The deserialized XNode
+
+
+
+ Converts an object to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+
+ Gets the of the JSON produced by the JsonConverter.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The of the JSON produced by the JsonConverter.
+
+
+
+ Gets a value indicating whether this can read JSON.
+
+ true if this can read JSON; otherwise, false.
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+ true if this can write JSON; otherwise, false.
+
+
+
+ Instructs the to use the specified when serializing the member or class.
+
+
+
+
+ Gets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by ConverterType.
+ If null, the default constructor is used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+ Parameter list to use when constructing the . Can be null.
+
+
+
+ Represents a collection of .
+
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Instructs the to deserialize properties with no matching class member into the specified collection
+ and write values during serialization.
+
+
+
+
+ Gets or sets a value that indicates whether to write extension data when serializing the object.
+
+
+ true to write extension data when serializing the object; otherwise, false. The default is true.
+
+
+
+
+ Gets or sets a value that indicates whether to read extension data when deserializing the object.
+
+
+ true to read extension data when deserializing the object; otherwise, false. The default is true.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Instructs the not to serialize the public field or public read/write property value.
+
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the member serialization.
+
+ The member serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified member serialization.
+
+ The member serialization.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Instructs the to always serialize the member with the specified name.
+
+
+
+
+ Gets or sets the used when serializing the property's collection items.
+
+ The collection's items .
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the null value handling used when serializing this property.
+
+ The null value handling.
+
+
+
+ Gets or sets the default value handling used when serializing this property.
+
+ The default value handling.
+
+
+
+ Gets or sets the reference loop handling used when serializing this property.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the object creation handling used when deserializing this property.
+
+ The object creation handling.
+
+
+
+ Gets or sets the type name handling used when serializing this property.
+
+ The type name handling.
+
+
+
+ Gets or sets whether this property's value is serialized as a reference.
+
+ Whether this property's value is serialized as a reference.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets a value indicating whether this property is required.
+
+
+ A value indicating whether this property is required.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ Name of the property.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Specifies the state of the reader.
+
+
+
+
+ The Read method has not been called.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Reader is at a property.
+
+
+
+
+ Reader is at the start of an object.
+
+
+
+
+ Reader is in an object.
+
+
+
+
+ Reader is at the start of an array.
+
+
+
+
+ Reader is in an array.
+
+
+
+
+ The Close method has been called.
+
+
+
+
+ Reader has just read a value.
+
+
+
+
+ Reader is at the start of a constructor.
+
+
+
+
+ Reader in a constructor.
+
+
+
+
+ An error occurred that prevents the read operation from continuing.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Gets the current reader state.
+
+ The current reader state.
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the reader is closed.
+
+
+ true to close the underlying stream or when
+ the reader is closed; otherwise false. The default is true.
+
+
+
+
+ Gets or sets a value indicating whether multiple pieces of JSON content can
+ be read from a continuous stream without erroring.
+
+
+ true to support reading multiple pieces of JSON content; otherwise false. The default is false.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+ Get or set how time zones are handling when reading JSON.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how custom date formatted strings are parsed when reading JSON.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+ Gets The Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+
+
+
+ Reads the next JSON token from the stream.
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Skips the children of the current token.
+
+
+
+
+ Sets the current token.
+
+ The new token.
+
+
+
+ Sets the current token and value.
+
+ The new token.
+ The value.
+
+
+
+ Sets the state based on current token type.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Changes the to Closed.
+
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Instructs the to always serialize the member, and require the member has a value.
+
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Serializes and deserializes objects into and from the JSON format.
+ The enables you to control how objects are encoded into JSON.
+
+
+
+
+ Occurs when the errors during serialization and deserialization.
+
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+
+
+
+ Get or set how reference loops (e.g. a class referencing itself) is handled.
+
+
+
+
+ Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+
+
+
+ Get or set how null values are handled during serialization and deserialization.
+
+
+
+
+ Get or set how null default are handled during serialization and deserialization.
+
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets a collection that will be used during serialization.
+
+ Collection that will be used during serialization.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
+
+
+ true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Creates a new instance.
+ The will not use default settings
+ from .
+
+
+ A new instance.
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will not use default settings
+ from .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance.
+ The will use default settings
+ from .
+
+
+ A new instance.
+ The will use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Deserializes the JSON structure contained by the specified .
+
+ The that contains the JSON structure to deserialize.
+ The being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The type of the object to deserialize.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+ Specifies the settings on a object.
+
+
+
+
+ Gets or sets how reference loops (e.g. a class referencing itself) is handled.
+
+ Reference loop handling.
+
+
+
+ Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+ Missing member handling.
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how null values are handled during serialization and deserialization.
+
+ Null value handling.
+
+
+
+ Gets or sets how null default are handled during serialization and deserialization.
+
+ The default value handling.
+
+
+
+ Gets or sets a collection that will be used during serialization.
+
+ The converters.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+ The preserve references handling.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+ The type name handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+ The contract resolver.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+ The reference resolver.
+
+
+
+ Gets or sets a function that creates the used by the serializer when resolving references.
+
+ A function that creates the used by the serializer when resolving references.
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+ The binder.
+
+
+
+ Gets or sets the error handler called during serialization and deserialization.
+
+ The error handler called during serialization and deserialization.
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional content after deserializing an object.
+
+
+ true if there will be a check for additional content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+ The TextReader containing the XML data to read.
+
+
+
+ Gets or sets the reader's character buffer pool.
+
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Changes the state to closed.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Gets the current line position.
+
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the writer's character array pool.
+
+
+
+
+ Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets which character to use to quote attribute values.
+
+
+
+
+ Gets or sets which character to use for indenting when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets a value indicating whether object names will be surrounded with quotes.
+
+
+
+
+ Creates an instance of the JsonWriter class using the specified .
+
+ The TextWriter to write to.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ Specifies the type of JSON token.
+
+
+
+
+ This is returned by the if a method has not been called.
+
+
+
+
+ An object start token.
+
+
+
+
+ An array start token.
+
+
+
+
+ A constructor start token.
+
+
+
+
+ An object property name.
+
+
+
+
+ A comment.
+
+
+
+
+ Raw JSON.
+
+
+
+
+ An integer.
+
+
+
+
+ A float.
+
+
+
+
+ A string.
+
+
+
+
+ A boolean.
+
+
+
+
+ A null token.
+
+
+
+
+ An undefined token.
+
+
+
+
+ An object end token.
+
+
+
+
+ An array end token.
+
+
+
+
+ A constructor end token.
+
+
+
+
+ A Date.
+
+
+
+
+ Byte data.
+
+
+
+
+
+ Represents a reader that provides validation.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Sets an event handler for receiving schema validation errors.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+
+ Gets the Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+
+ Initializes a new instance of the class that
+ validates the content returned from the given .
+
+ The to read from while validating.
+
+
+
+ Gets or sets the schema.
+
+ The schema.
+
+
+
+ Gets the used to construct this .
+
+ The specified in the constructor.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+
+ A [] or a null reference if the next JSON token is null.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the writer is closed.
+
+
+ true to close the underlying stream or when
+ the writer is closed; otherwise false. The default is true.
+
+
+
+
+ Gets the top.
+
+ The top.
+
+
+
+ Gets the state of the writer.
+
+
+
+
+ Gets the path of the writer.
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling when writing JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written to JSON text.
+
+
+
+
+ Get or set how and values are formatting when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when writing JSON. Defaults to .
+
+
+
+
+ Creates an instance of the JsonWriter class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the end of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the end of an array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end constructor.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes the end of the current JSON object or array.
+
+
+
+
+ Writes the current token and its children.
+
+ The to read the token from.
+
+
+
+ Writes the current token.
+
+ The to read the token from.
+ A flag indicating whether the current token's children should be written.
+
+
+
+ Writes the token and its value.
+
+ The to write.
+
+ The value to write.
+ A value is only required for tokens that have an associated value, e.g. the property name for .
+ A null value can be passed to the method for token's that don't have a value, e.g. .
+
+
+
+ Writes the token.
+
+ The to write.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON without changing the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Sets the state of the JsonWriter,
+
+ The JsonToken being written.
+ The value being written.
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Specifies the member serialization options for the .
+
+
+
+
+ All public members are serialized by default. Members can be excluded using or .
+ This is the default member serialization mode.
+
+
+
+
+ Only members marked with or are serialized.
+ This member serialization mode can also be set by marking the class with .
+
+
+
+
+ All public and private fields are serialized. Members can be excluded using or .
+ This member serialization mode can also be set by marking the class with
+ and setting IgnoreSerializableAttribute on to false.
+
+
+
+
+ Specifies metadata property handling options for the .
+
+
+
+
+ Read metadata properties located at the start of a JSON object.
+
+
+
+
+ Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
+
+
+
+
+ Do not try to read metadata properties.
+
+
+
+
+ Specifies missing member handling options for the .
+
+
+
+
+ Ignore a missing member and do not attempt to deserialize it.
+
+
+
+
+ Throw a when a missing member is encountered during deserialization.
+
+
+
+
+ Specifies null value handling options for the .
+
+
+
+
+
+
+
+
+ Include null values when serializing and deserializing objects.
+
+
+
+
+ Ignore null values when serializing and deserializing objects.
+
+
+
+
+ Specifies how object creation is handled by the .
+
+
+
+
+ Reuse existing objects, create new objects when needed.
+
+
+
+
+ Only reuse existing objects.
+
+
+
+
+ Always create new objects.
+
+
+
+
+ Specifies reference handling options for the .
+ Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable.
+
+
+
+
+
+
+
+ Do not preserve references when serializing types.
+
+
+
+
+ Preserve references when serializing into a JSON object structure.
+
+
+
+
+ Preserve references when serializing into a JSON array structure.
+
+
+
+
+ Preserve references when serializing.
+
+
+
+
+ Specifies reference loop handling options for the .
+
+
+
+
+ Throw a when a loop is encountered.
+
+
+
+
+ Ignore loop references and do not serialize.
+
+
+
+
+ Serialize loop references.
+
+
+
+
+ Indicating whether a property is required.
+
+
+
+
+ The property is not required. The default state.
+
+
+
+
+ The property must be defined in JSON but can be a null value.
+
+
+
+
+ The property must be defined in JSON and cannot be a null value.
+
+
+
+
+ The property is not required but it cannot be a null value.
+
+
+
+
+ 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.
+
+
+
+ Specifies how strings are escaped when writing JSON text.
+
+
+
+
+ Only control characters (e.g. newline) are escaped.
+
+
+
+
+ All non-ASCII and control characters (e.g. newline) are escaped.
+
+
+
+
+ HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
+
+
+
+
+ Specifies what messages to output for the class.
+
+
+
+
+ Output no tracing and debugging messages.
+
+
+
+
+ Output error-handling messages.
+
+
+
+
+ Output warnings and error-handling messages.
+
+
+
+
+ Output informational messages, warnings, and error-handling messages.
+
+
+
+
+ Output all debugging and tracing messages.
+
+
+
+
+ Specifies type name handling options for the .
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Do not include the .NET type name when serializing types.
+
+
+
+
+ Include the .NET type name when serializing into a JSON object structure.
+
+
+
+
+ Include the .NET type name when serializing into a JSON array structure.
+
+
+
+
+ Always include the .NET type name when serializing.
+
+
+
+
+ Include the .NET type name when the type of the object being serialized is not the same as its declared type.
+
+
+
+
+ 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.
+
+
+
+
+ Represents a BSON Oid (object id).
+
+
+
+
+ Gets or sets the value of the Oid.
+
+ The value of the Oid.
+
+
+
+ Initializes a new instance of the class.
+
+ The Oid value.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary.
+
+
+ true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether the root object will be read as a JSON array.
+
+
+ true if the root object will be read as a JSON array; otherwise, false.
+
+
+
+
+ Gets or sets the used when reading values from BSON.
+
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Changes the to Closed.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the used when writing values to BSON.
+ When set to no conversion will occur.
+
+ The used when writing values to BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The writer.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value that represents a BSON object id.
+
+ The Object ID value to write.
+
+
+
+ Writes a BSON regex.
+
+ The regex pattern.
+ The regex options.
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Create a custom object
+
+ The object type to convert.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Creates an object which will then be populated by the serializer.
+
+ Type of the object.
+ The created object.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+
+ true if this can write JSON; otherwise, false.
+
+
+
+
+ Provides a base class for converting a to and from JSON.
+
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a F# discriminated union type to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an ExpandoObject to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+
+ true if this can write JSON; otherwise, false.
+
+
+
+
+ Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z).
+
+
+
+
+ Gets or sets the date time styles used when converting a date to and from JSON.
+
+ The date time styles used when converting a date to and from JSON.
+
+
+
+ Gets or sets the date time format used when converting a date to and from JSON.
+
+ The date time format used when converting a date to and from JSON.
+
+
+
+ Gets or sets the culture used when converting a date to and from JSON.
+
+ The culture used when converting a date to and from JSON.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)).
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an to and from its name string value.
+
+
+
+
+ Gets or sets a value indicating whether the written enum text should be camel case.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether integer values are allowed.
+
+ true if integers are allowed; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from a string (e.g. "1.2.3.4").
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts XML to and from JSON.
+
+
+
+
+ Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements.
+
+ The name of the deserialize root element.
+
+
+
+ Gets or sets a flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ true if the array attibute is written to the XML; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether to write the root JSON object.
+
+ true if the JSON root object is omitted; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The calling serializer.
+ The value.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Checks if the attributeName is a namespace attribute.
+
+ Attribute name to test.
+ The attribute name prefix if it has one, otherwise an empty string.
+ true if attribute name is for a namespace attribute, otherwise false.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Specifies how JSON comments are handled when loading JSON.
+
+
+
+
+ Ignore comments.
+
+
+
+
+ Load comments as a with type .
+
+
+
+
+ Specifies how line information is handled when loading JSON.
+
+
+
+
+ Ignore line information.
+
+
+
+
+ Load line information.
+
+
+
+
+ Contains the LINQ to JSON extension methods.
+
+
+
+
+ Returns a collection of tokens that contains the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the descendants of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, and the descendants of every token in the source collection.
+
+
+
+ Returns a collection of child properties of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the properties of every object in the source collection.
+
+
+
+ Returns a collection of child values of every object in the source collection with the given key.
+
+ An of that contains the source collection.
+ The token key.
+ An of that contains the values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of child values of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child values of every object in the source collection with the given key.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ The token key.
+ An that contains the converted values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of converted child values of every object in the source collection.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Converts the value.
+
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Converts the value.
+
+ The source collection type.
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Returns a collection of child tokens of every array in the source collection.
+
+ The source collection type.
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child tokens of every array in the source collection.
+
+ An of that contains the source collection.
+ The type to convert the values to.
+ The source collection type.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Returns the input typed as .
+
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Returns the input typed as .
+
+ The source collection type.
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Represents a JSON array.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the at the specified index.
+
+
+
+
+
+ Determines the index of a specific item in the .
+
+ The object to locate in the .
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+ The object to insert into the .
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Removes the item at the specified index.
+
+ The zero-based index of the item to remove.
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Adds an item to the .
+
+ The object to add to the .
+ The is read-only.
+
+
+
+ Removes all items from the .
+
+ The is read-only.
+
+
+
+ Determines whether the contains a specific value.
+
+ The object to locate in the .
+
+ true if is found in the ; otherwise, false.
+
+
+
+
+ Copies to.
+
+ The array.
+ Index of the array.
+
+
+
+ Gets a value indicating whether the is read-only.
+
+ true if the is read-only; otherwise, false.
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+ The object to remove from the .
+
+ true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
+
+ The is read-only.
+
+
+
+ Represents a JSON constructor.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets or sets the name of this constructor.
+
+ The constructor name.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ The constructor name.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Represents a token that can contain other tokens.
+
+
+
+
+ Occurs when the items list of the collection has changed, or the collection is reset.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Raises the event.
+
+ The instance containing the event data.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Get the first child token of this token.
+
+
+ A containing the first child token of the .
+
+
+
+
+ Get the last child token of this token.
+
+
+ A containing the last child token of the .
+
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+
+ An of containing the child tokens of this , in document order.
+
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+
+ A containing the child values of this , in document order.
+
+
+
+
+ Returns a collection of the descendant tokens for this token in document order.
+
+ An containing the descendant tokens of the .
+
+
+
+ Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
+
+ An containing this token, and all the descendant tokens of the .
+
+
+
+ Adds the specified content as children of this .
+
+ The content to be added.
+
+
+
+ Adds the specified content as the first children of this .
+
+ The content to be added.
+
+
+
+ Creates an that can be used to add tokens to the .
+
+ An that is ready to have content written to it.
+
+
+
+ Replaces the children nodes of this token with the specified content.
+
+ The content.
+
+
+
+ Removes the child nodes from this token.
+
+
+
+
+ Merge the specified content into this .
+
+ The content to be merged.
+
+
+
+ Merge the specified content into this using .
+
+ The content to be merged.
+ The used to merge the content.
+
+
+
+ Gets the count of child JSON tokens.
+
+ The count of child JSON tokens
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ An empty collection of objects.
+
+
+
+
+ Initializes a new instance of the struct.
+
+ The enumerable.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Returns a hash code for this instance.
+
+
+ A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
+
+
+
+
+ Represents a JSON object.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets an of this object's properties.
+
+ An of this object's properties.
+
+
+
+ Gets a the specified name.
+
+ The property name.
+ A with the specified name or null.
+
+
+
+ Gets an of this object's property values.
+
+ An of this object's property values.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the with the specified property name.
+
+
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified property name.
+
+ Name of the property.
+ The with the specified property name.
+
+
+
+ Gets the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ One of the enumeration values that specifies how the strings will be compared.
+ The with the specified property name.
+
+
+
+ Tries to get the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ The value.
+ One of the enumeration values that specifies how the strings will be compared.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Adds the specified property name.
+
+ Name of the property.
+ The value.
+
+
+
+ Removes the property with the specified name.
+
+ Name of the property.
+ true if item was successfully removed; otherwise, false.
+
+
+
+ Tries the get value.
+
+ Name of the property.
+ The value.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Raises the event with the provided arguments.
+
+ Name of the property.
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Represents a JSON property.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the property name.
+
+ The property name.
+
+
+
+ Gets or sets the property value.
+
+ The property value.
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Represents a raw JSON string.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class.
+
+ The raw json.
+
+
+
+ Creates an instance of with the content of the reader's current token.
+
+ The reader.
+ An instance of with the content of the reader's current token.
+
+
+
+ Specifies the settings used when loading JSON.
+
+
+
+
+ Gets or sets how JSON comments are handled when loading JSON.
+
+ The JSON comment handling.
+
+
+
+ Gets or sets how JSON line info is handled when loading JSON.
+
+ The JSON line info handling.
+
+
+
+ Specifies the settings used when merging JSON.
+
+
+
+
+ Gets or sets the method used when merging JSON arrays.
+
+ The method used when merging JSON arrays.
+
+
+
+ Gets or sets how how null value properties are merged.
+
+ How null value properties are merged.
+
+
+
+ Represents an abstract JSON token.
+
+
+
+
+ Gets a comparer that can compare two tokens for value equality.
+
+ A that can compare two nodes for value equality.
+
+
+
+ Gets or sets the parent.
+
+ The parent.
+
+
+
+ Gets the root of this .
+
+ The root of this .
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Compares the values of two tokens, including the values of all descendant tokens.
+
+ The first to compare.
+ The second to compare.
+ true if the tokens are equal; otherwise false.
+
+
+
+ Gets the next sibling token of this node.
+
+ The that contains the next sibling token.
+
+
+
+ Gets the previous sibling token of this node.
+
+ The that contains the previous sibling token.
+
+
+
+ Gets the path of the JSON token.
+
+
+
+
+ Adds the specified content immediately after this token.
+
+ A content object that contains simple content or a collection of content objects to be added after this token.
+
+
+
+ Adds the specified content immediately before this token.
+
+ A content object that contains simple content or a collection of content objects to be added before this token.
+
+
+
+ Returns a collection of the ancestor tokens of this token.
+
+ A collection of the ancestor tokens of this token.
+
+
+
+ Returns a collection of tokens that contain this token, and the ancestors of this token.
+
+ A collection of tokens that contain this token, and the ancestors of this token.
+
+
+
+ Returns a collection of the sibling tokens after this token, in document order.
+
+ A collection of the sibling tokens after this tokens, in document order.
+
+
+
+ Returns a collection of the sibling tokens before this token, in document order.
+
+ A collection of the sibling tokens before this token, in document order.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets the with the specified key converted to the specified type.
+
+ The type to convert the token to.
+ The token key.
+ The converted token value.
+
+
+
+ Get the first child token of this token.
+
+ A containing the first child token of the .
+
+
+
+ Get the last child token of this token.
+
+ A containing the last child token of the .
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+ An of containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
+
+ The type to filter the child tokens on.
+ A containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+ A containing the child values of this , in document order.
+
+
+
+ Removes this token from its parent.
+
+
+
+
+ Replaces this token with the specified token.
+
+ The value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Returns the indented JSON for this token.
+
+
+ The indented JSON for this token.
+
+
+
+
+ Returns the JSON for this token using the given formatting and converters.
+
+ Indicates how the output is formatted.
+ A collection of which will be used when writing the token.
+ The JSON for this token using the given formatting and converters.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to [].
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from [] to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Creates an for this token.
+
+ An that can be used to read this token and its descendants.
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the value of the specified object
+
+
+
+ Creates a from an object using the specified .
+
+ The object that will be used to create .
+ The that will be used when reading the object.
+ A with the value of the specified object
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A , or null.
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ A .
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ An that contains the selected elements.
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ An that contains the selected elements.
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Creates a new instance of the . All child tokens are recursively cloned.
+
+ A new instance of the .
+
+
+
+ Adds an object to the annotation list of this .
+
+ The annotation to add.
+
+
+
+ Get the first annotation object of the specified type from this .
+
+ The type of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets the first annotation object of the specified type from this .
+
+ The of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The type of the annotations to retrieve.
+ An that contains the annotations for this .
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The of the annotations to retrieve.
+ An of that contains the annotations that match the specified type for this .
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The type of annotations to remove.
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The of annotations to remove.
+
+
+
+ Compares tokens to determine whether they are equal.
+
+
+
+
+ Determines whether the specified objects are equal.
+
+ The first object of type to compare.
+ The second object of type to compare.
+
+ true if the specified objects are equal; otherwise, false.
+
+
+
+
+ Returns a hash code for the specified object.
+
+ The for which a hash code is to be returned.
+ A hash code for the specified object.
+ The type of is a reference type and is null.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets the at the reader's current position.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The token to read from.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Specifies the type of token.
+
+
+
+
+ No token type has been set.
+
+
+
+
+ A JSON object.
+
+
+
+
+ A JSON array.
+
+
+
+
+ A JSON constructor.
+
+
+
+
+ A JSON object property.
+
+
+
+
+ A comment.
+
+
+
+
+ An integer value.
+
+
+
+
+ A float value.
+
+
+
+
+ A string value.
+
+
+
+
+ A boolean value.
+
+
+
+
+ A null value.
+
+
+
+
+ An undefined value.
+
+
+
+
+ A date value.
+
+
+
+
+ A raw JSON value.
+
+
+
+
+ A collection of bytes value.
+
+
+
+
+ A Guid value.
+
+
+
+
+ A Uri value.
+
+
+
+
+ A TimeSpan value.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets the at the writer's current position.
+
+
+
+
+ Gets the token being writen.
+
+ The token being writen.
+
+
+
+ Initializes a new instance of the class writing to the given .
+
+ The container being written to.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Represents a value in JSON (string, integer, date, etc).
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Creates a comment with the given value.
+
+ The value.
+ A comment with the given value.
+
+
+
+ Creates a string with the given value.
+
+ The value.
+ A string with the given value.
+
+
+
+ Creates a null value.
+
+ A null value.
+
+
+
+ Creates a undefined value.
+
+ A undefined value.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets or sets the underlying token value.
+
+ The underlying token value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ true if the current object is equal to the parameter; otherwise, false.
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+ The to compare with the current .
+
+ true if the specified is equal to the current ; otherwise, false.
+
+
+ The parameter is null.
+
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
+
+ An object to compare with this instance.
+
+ A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
+ Value
+ Meaning
+ Less than zero
+ This instance is less than .
+ Zero
+ This instance is equal to .
+ Greater than zero
+ This instance is greater than .
+
+
+ is not the same type as this instance.
+
+
+
+
+ Specifies how JSON arrays are merged together.
+
+
+
+ Concatenate arrays.
+
+
+ Union arrays, skipping items that already exist.
+
+
+ Replace all array items.
+
+
+ Merge array items together, matched by index.
+
+
+
+ Specifies how null value properties are merged.
+
+
+
+
+ The content's null value properties will be ignored during merging.
+
+
+
+
+ The content's null value properties will be merged.
+
+
+
+
+
+ Contains the JSON schema extension methods.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ When this method returns, contains any error messages generated while validating.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ The validation event handler.
+
+
+
+
+ An in-memory representation of a JSON Schema.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the id.
+
+
+
+
+ Gets or sets the title.
+
+
+
+
+ Gets or sets whether the object is required.
+
+
+
+
+ Gets or sets whether the object is read only.
+
+
+
+
+ Gets or sets whether the object is visible to users.
+
+
+
+
+ Gets or sets whether the object is transient.
+
+
+
+
+ Gets or sets the description of the object.
+
+
+
+
+ Gets or sets the types of values allowed by the object.
+
+ The type.
+
+
+
+ Gets or sets the pattern.
+
+ The pattern.
+
+
+
+ Gets or sets the minimum length.
+
+ The minimum length.
+
+
+
+ Gets or sets the maximum length.
+
+ The maximum length.
+
+
+
+ Gets or sets a number that the value should be divisble by.
+
+ A number that the value should be divisble by.
+
+
+
+ Gets or sets the minimum.
+
+ The minimum.
+
+
+
+ Gets or sets the maximum.
+
+ The maximum.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+
+
+ Gets or sets the minimum number of items.
+
+ The minimum number of items.
+
+
+
+ Gets or sets the maximum number of items.
+
+ The maximum number of items.
+
+
+
+ Gets or sets the of items.
+
+ The of items.
+
+
+
+ Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
+
+
+ true if items are validated using their array position; otherwise, false.
+
+
+
+
+ Gets or sets the of additional items.
+
+ The of additional items.
+
+
+
+ Gets or sets a value indicating whether additional items are allowed.
+
+
+ true if additional items are allowed; otherwise, false.
+
+
+
+
+ Gets or sets whether the array items must be unique.
+
+
+
+
+ Gets or sets the of properties.
+
+ The of properties.
+
+
+
+ Gets or sets the of additional properties.
+
+ The of additional properties.
+
+
+
+ Gets or sets the pattern properties.
+
+ The pattern properties.
+
+
+
+ Gets or sets a value indicating whether additional properties are allowed.
+
+
+ true if additional properties are allowed; otherwise, false.
+
+
+
+
+ Gets or sets the required property if this property is present.
+
+ The required property if this property is present.
+
+
+
+ Gets or sets the a collection of valid enum values allowed.
+
+ A collection of valid enum values allowed.
+
+
+
+ Gets or sets disallowed types.
+
+ The disallow types.
+
+
+
+ Gets or sets the default value.
+
+ The default value.
+
+
+
+ Gets or sets the collection of that this schema extends.
+
+ The collection of that this schema extends.
+
+
+
+ Gets or sets the format.
+
+ The format.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The object representing the JSON Schema.
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The to use when resolving schema references.
+ The object representing the JSON Schema.
+
+
+
+ Load a from a string that contains schema JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Parses the specified json.
+
+ The json.
+ The resolver.
+ A populated from the string that contains JSON.
+
+
+
+ Writes this schema to a .
+
+ A into which this method will write.
+
+
+
+ Writes this schema to a using the specified .
+
+ A into which this method will write.
+ The resolver used.
+
+
+
+ Returns a that represents the current .
+
+
+ A that represents the current .
+
+
+
+
+
+ Returns detailed information about the schema exception.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+
+ Generates a from a specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets how undefined schemas are handled by the serializer.
+
+
+
+
+ Gets or sets the contract resolver.
+
+ The contract resolver.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+
+ Resolves from an id.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the loaded schemas.
+
+ The loaded schemas.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets a for the specified reference.
+
+ The id.
+ A for the specified reference.
+
+
+
+
+ The value types allowed by the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ No type specified.
+
+
+
+
+ String type.
+
+
+
+
+ Float type.
+
+
+
+
+ Integer type.
+
+
+
+
+ Boolean type.
+
+
+
+
+ Object type.
+
+
+
+
+ Array type.
+
+
+
+
+ Null type.
+
+
+
+
+ Any type.
+
+
+
+
+
+ Specifies undefined schema Id handling options for the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Do not infer a schema Id.
+
+
+
+
+ Use the .NET type name as the schema Id.
+
+
+
+
+ Use the assembly qualified .NET type name as the schema Id.
+
+
+
+
+
+ Returns detailed information related to the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the associated with the validation error.
+
+ The JsonSchemaException associated with the validation error.
+
+
+
+ Gets the path of the JSON location where the validation error occurred.
+
+ The path of the JSON location where the validation error occurred.
+
+
+
+ Gets the text description corresponding to the validation error.
+
+ The text description.
+
+
+
+
+ Represents the callback method that will handle JSON schema validation events and the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ A camel case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Resolves member mappings for a type, camel casing property names.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+ Gets a value indicating whether members are being get and set using dynamic code generation.
+ This value is determined by the runtime permissions available.
+
+
+ true if using dynamic code generation; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether compiler generated members should be serialized.
+
+
+ true if serialized compiler generated members; otherwise, false.
+
+
+
+
+ Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
+
+ The naming strategy used to resolve how property names and dictionary keys are serialized.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ If set to true the will use a cached shared with other resolvers of the same type.
+ Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only
+ happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different
+ results. When set to false it is highly recommended to reuse instances with the .
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Gets the serializable members for the type.
+
+ The type to get serializable members for.
+ The serializable members for the type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates the constructor parameters.
+
+ The constructor to create properties for.
+ The type's member properties.
+ Properties for the given .
+
+
+
+ Creates a for the given .
+
+ The matching member property.
+ The constructor parameter.
+ A created for the given .
+
+
+
+ Resolves the default for the contract.
+
+ Type of the object.
+ The contract's default .
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Determines which contract type is created for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates properties for the given .
+
+ The type to create properties for.
+ /// The member serialization mode for the type.
+ Properties for the given .
+
+
+
+ Creates the used by the serializer to get and set values from a member.
+
+ The member.
+ The used by the serializer to get and set values from a member.
+
+
+
+ Creates a for the given .
+
+ The member's parent .
+ The member to create a for.
+ A created for the given .
+
+
+
+ Resolves the name of the property.
+
+ Name of the property.
+ Resolved name of the property.
+
+
+
+ Resolves the key of the dictionary. By default is used to resolve dictionary keys.
+
+ Key of the dictionary.
+ Resolved key of the dictionary.
+
+
+
+ Gets the resolved name of the property.
+
+ Name of the property.
+ Name of the property.
+
+
+
+ The default naming strategy. Property names and dictionary keys are unchanged.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ The default serialization binder used when resolving and loading classes from type names.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+ The type of the object the formatter creates a new instance of.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ The type of the object the formatter creates a new instance of.
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+
+
+ Provides information surrounding an error.
+
+
+
+
+ Gets the error.
+
+ The error.
+
+
+
+ Gets the original object that caused the error.
+
+ The original object that caused the error.
+
+
+
+ Gets the member that caused the error.
+
+ The member that caused the error.
+
+
+
+ Gets the path of the JSON location where the error occurred.
+
+ The path of the JSON location where the error occurred.
+
+
+
+ Gets or sets a value indicating whether this is handled.
+
+ true if handled; otherwise, false.
+
+
+
+ Provides data for the Error event.
+
+
+
+
+ Gets the current object the error event is being raised against.
+
+ The current object the error event is being raised against.
+
+
+
+ Gets the error context.
+
+ The error context.
+
+
+
+ Initializes a new instance of the class.
+
+ The current object.
+ The error context.
+
+
+
+ Get and set values for a using dynamic methods.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Provides methods to get attributes.
+
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Used to resolve references when serializing and deserializing JSON by the .
+
+
+
+
+ Resolves a reference to its object.
+
+ The serialization context.
+ The reference to resolve.
+ The object that
+
+
+
+ Gets the reference for the sepecified object.
+
+ The serialization context.
+ The object to get a reference for.
+ The reference to the object.
+
+
+
+ Determines whether the specified object is referenced.
+
+ The serialization context.
+ The object to test for a reference.
+
+ true if the specified object is referenced; otherwise, false.
+
+
+
+
+ Adds a reference to the specified object.
+
+ The serialization context.
+ The reference.
+ The object to reference.
+
+
+
+ Represents a trace writer.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Provides methods to get and set values.
+
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the of the collection items.
+
+ The of the collection items.
+
+
+
+ Gets a value indicating whether the collection type is a multidimensional array.
+
+ true if the collection type is a multidimensional array; otherwise, false.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the collection values.
+
+ true if the creator has a parameter with the collection values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the default collection items .
+
+ The converter.
+
+
+
+ Gets or sets a value indicating whether the collection items preserve object references.
+
+ true if collection items preserve object references; otherwise, false.
+
+
+
+ Gets or sets the collection item reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the collection item type name handling.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Handles serialization callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+
+
+
+ Handles serialization error callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+ The error context.
+
+
+
+ Sets extension data for an object during deserialization.
+
+ The object to set extension data on.
+ The extension data key.
+ The extension data value.
+
+
+
+ Gets extension data for an object during serialization.
+
+ The object to set extension data on.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the underlying type for the contract.
+
+ The underlying type for the contract.
+
+
+
+ Gets or sets the type created during deserialization.
+
+ The type created during deserialization.
+
+
+
+ Gets or sets whether this type contract is serialized as a reference.
+
+ Whether this type contract is serialized as a reference.
+
+
+
+ Gets or sets the default for this contract.
+
+ The converter.
+
+
+
+ Gets or sets all methods called immediately after deserialization of the object.
+
+ The methods called immediately after deserialization of the object.
+
+
+
+ Gets or sets all methods called during deserialization of the object.
+
+ The methods called during deserialization of the object.
+
+
+
+ Gets or sets all methods called after serialization of the object graph.
+
+ The methods called after serialization of the object graph.
+
+
+
+ Gets or sets all methods called before serialization of the object.
+
+ The methods called before serialization of the object.
+
+
+
+ Gets or sets all method called when an error is thrown during the serialization of the object.
+
+ The methods called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the method called immediately after deserialization of the object.
+
+ The method called immediately after deserialization of the object.
+
+
+
+ Gets or sets the method called during deserialization of the object.
+
+ The method called during deserialization of the object.
+
+
+
+ Gets or sets the method called after serialization of the object graph.
+
+ The method called after serialization of the object graph.
+
+
+
+ Gets or sets the method called before serialization of the object.
+
+ The method called before serialization of the object.
+
+
+
+ Gets or sets the method called when an error is thrown during the serialization of the object.
+
+ The method called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the default creator method used to create the object.
+
+ The default creator method used to create the object.
+
+
+
+ Gets or sets a value indicating whether the default creator is non public.
+
+ true if the default object creator is non-public; otherwise, false.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the property name resolver.
+
+ The property name resolver.
+
+
+
+ Gets or sets the dictionary key resolver.
+
+ The dictionary key resolver.
+
+
+
+ Gets the of the dictionary keys.
+
+ The of the dictionary keys.
+
+
+
+ Gets the of the dictionary values.
+
+ The of the dictionary values.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the dictionary values.
+
+ true if the creator has a parameter with the dictionary values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the object's properties.
+
+ The object's properties.
+
+
+
+ Gets or sets the property name resolver.
+
+ The property name resolver.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the object member serialization.
+
+ The member object serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Gets the object's properties.
+
+ The object's properties.
+
+
+
+ Gets the constructor parameters required for any non-default constructor
+
+
+
+
+ Gets a collection of instances that define the parameters used with .
+
+
+
+
+ Gets or sets the override constructor used to create the object.
+ This is set when a constructor is marked up using the
+ JsonConstructor attribute.
+
+ The override constructor.
+
+
+
+ Gets or sets the parametrized constructor used to create the object.
+
+ The parametrized constructor.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+ This function is called with a collection of arguments which are defined by the collection.
+
+ The function used to create the object.
+
+
+
+ Gets or sets the extension data setter.
+
+
+
+
+ Gets or sets the extension data getter.
+
+
+
+
+ Gets or sets the extension data value type.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Maps a JSON property to a .NET member or constructor parameter.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the type that declared this property.
+
+ The type that declared this property.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets the name of the underlying member or parameter.
+
+ The name of the underlying member or parameter.
+
+
+
+ Gets the that will get and set the during serialization.
+
+ The that will get and set the during serialization.
+
+
+
+ Gets or sets the for this property.
+
+ The for this property.
+
+
+
+ Gets or sets the type of the property.
+
+ The type of the property.
+
+
+
+ Gets or sets the for the property.
+ If set this converter takes presidence over the contract converter for the property type.
+
+ The converter.
+
+
+
+ Gets or sets the member converter.
+
+ The member converter.
+
+
+
+ Gets or sets a value indicating whether this is ignored.
+
+ true if ignored; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is readable.
+
+ true if readable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is writable.
+
+ true if writable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this has a member attribute.
+
+ true if has a member attribute; otherwise, false.
+
+
+
+ Gets the default value.
+
+ The default value.
+
+
+
+ Gets or sets a value indicating whether this is required.
+
+ A value indicating whether this is required.
+
+
+
+ Gets or sets a value indicating whether this property preserves object references.
+
+
+ true if this instance is reference; otherwise, false.
+
+
+
+
+ Gets or sets the property null value handling.
+
+ The null value handling.
+
+
+
+ Gets or sets the property default value handling.
+
+ The default value handling.
+
+
+
+ Gets or sets the property reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the property object creation handling.
+
+ The object creation handling.
+
+
+
+ Gets or sets or sets the type name handling.
+
+ The type name handling.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialize.
+
+ A predicate used to determine whether the property should be serialize.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be deserialized.
+
+ A predicate used to determine whether the property should be deserialized.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialized.
+
+ A predicate used to determine whether the property should be serialized.
+
+
+
+ Gets or sets an action used to set whether the property has been deserialized.
+
+ An action used to set whether the property has been deserialized.
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets or sets the converter used when serializing the property's collection items.
+
+ The collection's items converter.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ A collection of objects.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type.
+
+
+
+ When implemented in a derived class, extracts the key from the specified element.
+
+ The element from which to extract the key.
+ The key for the specified element.
+
+
+
+ Adds a object.
+
+ The property to add to the collection.
+
+
+
+ Gets the closest matching object.
+ First attempts to get an exact case match of propertyName and then
+ a case insensitive match.
+
+ Name of the property.
+ A matching property if found.
+
+
+
+ Gets a property by property name.
+
+ The name of the property to get.
+ Type property name string comparison.
+ A matching property if found.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Lookup and create an instance of the JsonConverter type described by the argument.
+
+ The JsonConverter type to create.
+ Optional arguments to pass to an initializing constructor of the JsonConverter.
+ If null, the default constructor is used.
+
+
+
+ Represents a trace writer that writes to memory. When the trace message limit is
+ reached then old trace messages will be removed as new messages are added.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Returns an enumeration of the most recent trace messages.
+
+ An enumeration of the most recent trace messages.
+
+
+
+ Returns a of the most recent trace messages.
+
+
+ A of the most recent trace messages.
+
+
+
+
+ A base class for resolving how property names and dictionary keys are serialized.
+
+
+
+
+ A flag indicating whether dictionary keys should be processed.
+ Defaults to false.
+
+
+
+
+ A flag indicating whether explicitly specified property names,
+ e.g. a property name customized with a , should be processed.
+ Defaults to false.
+
+
+
+
+ Gets the serialized name for a given property name.
+
+ The initial property name.
+ A flag indicating whether the property has had a name explicitly specfied.
+ The serialized property name.
+
+
+
+ Gets the serialized key for a given dictionary key.
+
+ The initial dictionary key.
+ The serialized dictionary key.
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Represents a method that constructs an object.
+
+ The object type to create.
+
+
+
+ When applied to a method, specifies that the method is called when an error occurs serializing an object.
+
+
+
+
+ Provides methods to get attributes from a , , or .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The instance to get attributes for. This parameter should be a , , or .
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Get and set values for a using reflection.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ A snake case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ 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.
+
+
+
+ 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.
+
+
+
+
+ Indicates the method that will be used during deserialization for locating and loading assemblies.
+
+
+
+
+ In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly.
+
+
+
+
+ In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly.
+
+
+
+
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll
new file mode 100644
index 0000000..13edc4a
Binary files /dev/null and b/packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll differ
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml
new file mode 100644
index 0000000..8a65f97
--- /dev/null
+++ b/packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml
@@ -0,0 +1,8409 @@
+
+
+
+ Newtonsoft.Json
+
+
+
+
+ Represents a BSON Oid (object id).
+
+
+
+
+ Gets or sets the value of the Oid.
+
+ The value of the Oid.
+
+
+
+ Initializes a new instance of the class.
+
+ The Oid value.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary.
+
+
+ true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether the root object will be read as a JSON array.
+
+
+ true if the root object will be read as a JSON array; otherwise, false.
+
+
+
+
+ Gets or sets the used when reading values from BSON.
+
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Changes the to Closed.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the used when writing values to BSON.
+ When set to no conversion will occur.
+
+ The used when writing values to BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The writer.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value that represents a BSON object id.
+
+ The Object ID value to write.
+
+
+
+ Writes a BSON regex.
+
+ The regex pattern.
+ The regex options.
+
+
+
+ Specifies how constructors are used when initializing objects during deserialization by the .
+
+
+
+
+ First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor.
+
+
+
+
+ Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Create a custom object
+
+ The object type to convert.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Creates an object which will then be populated by the serializer.
+
+ Type of the object.
+ The created object.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+
+ true if this can write JSON; otherwise, false.
+
+
+
+
+ Provides a base class for converting a to and from JSON.
+
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a F# discriminated union type to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z).
+
+
+
+
+ Gets or sets the date time styles used when converting a date to and from JSON.
+
+ The date time styles used when converting a date to and from JSON.
+
+
+
+ Gets or sets the date time format used when converting a date to and from JSON.
+
+ The date time format used when converting a date to and from JSON.
+
+
+
+ Gets or sets the culture used when converting a date to and from JSON.
+
+ The culture used when converting a date to and from JSON.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)).
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an to and from its name string value.
+
+
+
+
+ Gets or sets a value indicating whether the written enum text should be camel case.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether integer values are allowed.
+
+ true if integers are allowed; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from a string (e.g. "1.2.3.4").
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Specifies how dates are formatted when writing JSON text.
+
+
+
+
+ Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
+
+
+
+
+ Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
+
+
+
+
+ Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
+
+
+
+
+ Date formatted strings are not parsed to a date type and are read as strings.
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Specifies how to treat the time value when converting between string and .
+
+
+
+
+ Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
+
+
+
+
+ Treat as a UTC. If the object represents a local time, it is converted to a UTC.
+
+
+
+
+ Treat as a local time if a is being converted to a string.
+ If a string is being converted to , convert to a local time if a time zone is specified.
+
+
+
+
+ Time zone information should be preserved when converting.
+
+
+
+
+ Specifies default value handling options for the .
+
+
+
+
+
+
+
+
+ Include members where the member value is the same as the member's default value when serializing objects.
+ Included members are written to JSON. Has no effect when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ so that is is not written to JSON.
+ This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
+ decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
+ placing the on the property.
+
+
+
+
+ Members with a default value but no JSON will be set to their default value when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ and sets members to their default value when deserializing.
+
+
+
+
+ Specifies float format handling options when writing special floating point numbers, e.g. ,
+ and with .
+
+
+
+
+ Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
+
+
+
+
+ Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
+ Note that this will produce non-valid JSON.
+
+
+
+
+ Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property.
+
+
+
+
+ Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Specifies formatting options for the .
+
+
+
+
+ No special formatting is applied. This is the default.
+
+
+
+
+ Causes child objects to be indented according to the and settings.
+
+
+
+
+ Provides an interface for using pooled arrays.
+
+ The array type content.
+
+
+
+ Rent a array from the pool. This array must be returned when it is no longer needed.
+
+ The minimum required length of the array. The returned array may be longer.
+ The rented array from the pool. This array must be returned when it is no longer needed.
+
+
+
+ Return an array to the pool.
+
+ The array that is being returned.
+
+
+
+ Provides an interface to enable a class to return line and position information.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Gets the current line position.
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Gets or sets a value indicating whether null items are allowed in the collection.
+
+ true if null items are allowed in the collection; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a flag indicating whether the array can contain null items
+
+ A flag indicating whether the array can contain null items.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Instructs the to use the specified constructor when deserializing that object.
+
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the id.
+
+ The id.
+
+
+
+ Gets or sets the title.
+
+ The title.
+
+
+
+ Gets or sets the description.
+
+ The description.
+
+
+
+ Gets or sets the collection's items converter.
+
+ The collection's items converter.
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets a value that indicates whether to preserve object references.
+
+
+ true to keep object reference; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets a value that indicates whether to preserve collection's items references.
+
+
+ true to keep collection's items object references; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets the reference loop handling used when serializing the collection's items.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the type name handling used when serializing the collection's items.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Provides methods for converting between common language runtime types and JSON types.
+
+
+
+
+
+
+
+ Gets or sets a function that creates default .
+ Default settings are automatically used by serialization methods on ,
+ and and on .
+ To serialize without using any default settings create a with
+ .
+
+
+
+
+ Represents JavaScript's boolean value true as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's boolean value false as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's null as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's undefined as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's positive infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's negative infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's NaN as a string. This field is read-only.
+
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ The time zone handling when the date is converted to a string.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ The string escape handling.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Serializes the specified object to a JSON string.
+
+ The object to serialize.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a collection of .
+
+ The object to serialize.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting and a collection of .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Deserializes the JSON to a .NET object.
+
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to a .NET object using .
+
+ The JSON to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The JSON to deserialize.
+ The of object being deserialized.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type.
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type using .
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The type of the object to deserialize to.
+ The object to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The JSON to deserialize.
+ The type of the object to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The JSON to deserialize.
+ The type of the object to deserialize to.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Populates the object with values from the JSON string.
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+
+
+ Populates the object with values from the JSON string using .
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+
+
+ Converts an object to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+
+ Gets the of the JSON produced by the JsonConverter.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The of the JSON produced by the JsonConverter.
+
+
+
+ Gets a value indicating whether this can read JSON.
+
+ true if this can read JSON; otherwise, false.
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+ true if this can write JSON; otherwise, false.
+
+
+
+ Instructs the to use the specified when serializing the member or class.
+
+
+
+
+ Gets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by ConverterType.
+ If null, the default constructor is used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+ Parameter list to use when constructing the . Can be null.
+
+
+
+ Represents a collection of .
+
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Instructs the to deserialize properties with no matching class member into the specified collection
+ and write values during serialization.
+
+
+
+
+ Gets or sets a value that indicates whether to write extension data when serializing the object.
+
+
+ true to write extension data when serializing the object; otherwise, false. The default is true.
+
+
+
+
+ Gets or sets a value that indicates whether to read extension data when deserializing the object.
+
+
+ true to read extension data when deserializing the object; otherwise, false. The default is true.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Instructs the not to serialize the public field or public read/write property value.
+
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the member serialization.
+
+ The member serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified member serialization.
+
+ The member serialization.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Instructs the to always serialize the member with the specified name.
+
+
+
+
+ Gets or sets the used when serializing the property's collection items.
+
+ The collection's items .
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the null value handling used when serializing this property.
+
+ The null value handling.
+
+
+
+ Gets or sets the default value handling used when serializing this property.
+
+ The default value handling.
+
+
+
+ Gets or sets the reference loop handling used when serializing this property.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the object creation handling used when deserializing this property.
+
+ The object creation handling.
+
+
+
+ Gets or sets the type name handling used when serializing this property.
+
+ The type name handling.
+
+
+
+ Gets or sets whether this property's value is serialized as a reference.
+
+ Whether this property's value is serialized as a reference.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets a value indicating whether this property is required.
+
+
+ A value indicating whether this property is required.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ Name of the property.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Specifies the state of the reader.
+
+
+
+
+ The Read method has not been called.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Reader is at a property.
+
+
+
+
+ Reader is at the start of an object.
+
+
+
+
+ Reader is in an object.
+
+
+
+
+ Reader is at the start of an array.
+
+
+
+
+ Reader is in an array.
+
+
+
+
+ The Close method has been called.
+
+
+
+
+ Reader has just read a value.
+
+
+
+
+ Reader is at the start of a constructor.
+
+
+
+
+ Reader in a constructor.
+
+
+
+
+ An error occurred that prevents the read operation from continuing.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Gets the current reader state.
+
+ The current reader state.
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the reader is closed.
+
+
+ true to close the underlying stream or when
+ the reader is closed; otherwise false. The default is true.
+
+
+
+
+ Gets or sets a value indicating whether multiple pieces of JSON content can
+ be read from a continuous stream without erroring.
+
+
+ true to support reading multiple pieces of JSON content; otherwise false. The default is false.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+ Get or set how time zones are handling when reading JSON.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how custom date formatted strings are parsed when reading JSON.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+ Gets The Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+
+
+
+ Reads the next JSON token from the stream.
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Skips the children of the current token.
+
+
+
+
+ Sets the current token.
+
+ The new token.
+
+
+
+ Sets the current token and value.
+
+ The new token.
+ The value.
+
+
+
+ Sets the state based on current token type.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Changes the to Closed.
+
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Instructs the to always serialize the member, and require the member has a value.
+
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Serializes and deserializes objects into and from the JSON format.
+ The enables you to control how objects are encoded into JSON.
+
+
+
+
+ Occurs when the errors during serialization and deserialization.
+
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+
+
+
+ Get or set how reference loops (e.g. a class referencing itself) is handled.
+
+
+
+
+ Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+
+
+
+ Get or set how null values are handled during serialization and deserialization.
+
+
+
+
+ Get or set how null default are handled during serialization and deserialization.
+
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets a collection that will be used during serialization.
+
+ Collection that will be used during serialization.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
+
+
+ true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Creates a new instance.
+ The will not use default settings
+ from .
+
+
+ A new instance.
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will not use default settings
+ from .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance.
+ The will use default settings
+ from .
+
+
+ A new instance.
+ The will use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Deserializes the JSON structure contained by the specified .
+
+ The that contains the JSON structure to deserialize.
+ The being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The type of the object to deserialize.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+ Specifies the settings on a object.
+
+
+
+
+ Gets or sets how reference loops (e.g. a class referencing itself) is handled.
+
+ Reference loop handling.
+
+
+
+ Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+ Missing member handling.
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how null values are handled during serialization and deserialization.
+
+ Null value handling.
+
+
+
+ Gets or sets how null default are handled during serialization and deserialization.
+
+ The default value handling.
+
+
+
+ Gets or sets a collection that will be used during serialization.
+
+ The converters.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+ The preserve references handling.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+ The type name handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+ The contract resolver.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+ The reference resolver.
+
+
+
+ Gets or sets a function that creates the used by the serializer when resolving references.
+
+ A function that creates the used by the serializer when resolving references.
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+ The binder.
+
+
+
+ Gets or sets the error handler called during serialization and deserialization.
+
+ The error handler called during serialization and deserialization.
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional content after deserializing an object.
+
+
+ true if there will be a check for additional content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+ The TextReader containing the XML data to read.
+
+
+
+ Gets or sets the reader's character buffer pool.
+
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Changes the state to closed.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Gets the current line position.
+
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the writer's character array pool.
+
+
+
+
+ Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets which character to use to quote attribute values.
+
+
+
+
+ Gets or sets which character to use for indenting when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets a value indicating whether object names will be surrounded with quotes.
+
+
+
+
+ Creates an instance of the JsonWriter class using the specified .
+
+ The TextWriter to write to.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ Specifies the type of JSON token.
+
+
+
+
+ This is returned by the if a method has not been called.
+
+
+
+
+ An object start token.
+
+
+
+
+ An array start token.
+
+
+
+
+ A constructor start token.
+
+
+
+
+ An object property name.
+
+
+
+
+ A comment.
+
+
+
+
+ Raw JSON.
+
+
+
+
+ An integer.
+
+
+
+
+ A float.
+
+
+
+
+ A string.
+
+
+
+
+ A boolean.
+
+
+
+
+ A null token.
+
+
+
+
+ An undefined token.
+
+
+
+
+ An object end token.
+
+
+
+
+ An array end token.
+
+
+
+
+ A constructor end token.
+
+
+
+
+ A Date.
+
+
+
+
+ Byte data.
+
+
+
+
+
+ Represents a reader that provides validation.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Sets an event handler for receiving schema validation errors.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+
+ Gets the Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+
+ Initializes a new instance of the class that
+ validates the content returned from the given .
+
+ The to read from while validating.
+
+
+
+ Gets or sets the schema.
+
+ The schema.
+
+
+
+ Gets the used to construct this .
+
+ The specified in the constructor.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+
+ A [] or a null reference if the next JSON token is null.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the writer is closed.
+
+
+ true to close the underlying stream or when
+ the writer is closed; otherwise false. The default is true.
+
+
+
+
+ Gets the top.
+
+ The top.
+
+
+
+ Gets the state of the writer.
+
+
+
+
+ Gets the path of the writer.
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling when writing JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written to JSON text.
+
+
+
+
+ Get or set how and values are formatting when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when writing JSON. Defaults to .
+
+
+
+
+ Creates an instance of the JsonWriter class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the end of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the end of an array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end constructor.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes the end of the current JSON object or array.
+
+
+
+
+ Writes the current token and its children.
+
+ The to read the token from.
+
+
+
+ Writes the current token.
+
+ The to read the token from.
+ A flag indicating whether the current token's children should be written.
+
+
+
+ Writes the token and its value.
+
+ The to write.
+
+ The value to write.
+ A value is only required for tokens that have an associated value, e.g. the property name for .
+ A null value can be passed to the method for token's that don't have a value, e.g. .
+
+
+
+ Writes the token.
+
+ The to write.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON without changing the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Sets the state of the JsonWriter,
+
+ The JsonToken being written.
+ The value being written.
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Specifies how JSON comments are handled when loading JSON.
+
+
+
+
+ Ignore comments.
+
+
+
+
+ Load comments as a with type .
+
+
+
+
+ Specifies how line information is handled when loading JSON.
+
+
+
+
+ Ignore line information.
+
+
+
+
+ Load line information.
+
+
+
+
+ Contains the LINQ to JSON extension methods.
+
+
+
+
+ Returns a collection of tokens that contains the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the descendants of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, and the descendants of every token in the source collection.
+
+
+
+ Returns a collection of child properties of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the properties of every object in the source collection.
+
+
+
+ Returns a collection of child values of every object in the source collection with the given key.
+
+ An of that contains the source collection.
+ The token key.
+ An of that contains the values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of child values of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child values of every object in the source collection with the given key.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ The token key.
+ An that contains the converted values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of converted child values of every object in the source collection.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Converts the value.
+
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Converts the value.
+
+ The source collection type.
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Returns a collection of child tokens of every array in the source collection.
+
+ The source collection type.
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child tokens of every array in the source collection.
+
+ An of that contains the source collection.
+ The type to convert the values to.
+ The source collection type.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Returns the input typed as .
+
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Returns the input typed as .
+
+ The source collection type.
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Represents a JSON array.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the at the specified index.
+
+
+
+
+
+ Determines the index of a specific item in the .
+
+ The object to locate in the .
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+ The object to insert into the .
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Removes the item at the specified index.
+
+ The zero-based index of the item to remove.
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Adds an item to the .
+
+ The object to add to the .
+ The is read-only.
+
+
+
+ Removes all items from the .
+
+ The is read-only.
+
+
+
+ Determines whether the contains a specific value.
+
+ The object to locate in the .
+
+ true if is found in the ; otherwise, false.
+
+
+
+
+ Copies to.
+
+ The array.
+ Index of the array.
+
+
+
+ Gets a value indicating whether the is read-only.
+
+ true if the is read-only; otherwise, false.
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+ The object to remove from the .
+
+ true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
+
+ The is read-only.
+
+
+
+ Represents a JSON constructor.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets or sets the name of this constructor.
+
+ The constructor name.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ The constructor name.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Represents a token that can contain other tokens.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Get the first child token of this token.
+
+
+ A containing the first child token of the .
+
+
+
+
+ Get the last child token of this token.
+
+
+ A containing the last child token of the .
+
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+
+ An of containing the child tokens of this , in document order.
+
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+
+ A containing the child values of this , in document order.
+
+
+
+
+ Returns a collection of the descendant tokens for this token in document order.
+
+ An containing the descendant tokens of the .
+
+
+
+ Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
+
+ An containing this token, and all the descendant tokens of the .
+
+
+
+ Adds the specified content as children of this .
+
+ The content to be added.
+
+
+
+ Adds the specified content as the first children of this .
+
+ The content to be added.
+
+
+
+ Creates an that can be used to add tokens to the .
+
+ An that is ready to have content written to it.
+
+
+
+ Replaces the children nodes of this token with the specified content.
+
+ The content.
+
+
+
+ Removes the child nodes from this token.
+
+
+
+
+ Merge the specified content into this .
+
+ The content to be merged.
+
+
+
+ Merge the specified content into this using .
+
+ The content to be merged.
+ The used to merge the content.
+
+
+
+ Gets the count of child JSON tokens.
+
+ The count of child JSON tokens
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ An empty collection of objects.
+
+
+
+
+ Initializes a new instance of the struct.
+
+ The enumerable.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Returns a hash code for this instance.
+
+
+ A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
+
+
+
+
+ Represents a JSON object.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets an of this object's properties.
+
+ An of this object's properties.
+
+
+
+ Gets a the specified name.
+
+ The property name.
+ A with the specified name or null.
+
+
+
+ Gets an of this object's property values.
+
+ An of this object's property values.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the with the specified property name.
+
+
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified property name.
+
+ Name of the property.
+ The with the specified property name.
+
+
+
+ Gets the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ One of the enumeration values that specifies how the strings will be compared.
+ The with the specified property name.
+
+
+
+ Tries to get the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ The value.
+ One of the enumeration values that specifies how the strings will be compared.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Adds the specified property name.
+
+ Name of the property.
+ The value.
+
+
+
+ Removes the property with the specified name.
+
+ Name of the property.
+ true if item was successfully removed; otherwise, false.
+
+
+
+ Tries the get value.
+
+ Name of the property.
+ The value.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Raises the event with the provided arguments.
+
+ Name of the property.
+
+
+
+ Represents a JSON property.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the property name.
+
+ The property name.
+
+
+
+ Gets or sets the property value.
+
+ The property value.
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Represents a raw JSON string.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class.
+
+ The raw json.
+
+
+
+ Creates an instance of with the content of the reader's current token.
+
+ The reader.
+ An instance of with the content of the reader's current token.
+
+
+
+ Specifies the settings used when loading JSON.
+
+
+
+
+ Gets or sets how JSON comments are handled when loading JSON.
+
+ The JSON comment handling.
+
+
+
+ Gets or sets how JSON line info is handled when loading JSON.
+
+ The JSON line info handling.
+
+
+
+ Specifies the settings used when merging JSON.
+
+
+
+
+ Gets or sets the method used when merging JSON arrays.
+
+ The method used when merging JSON arrays.
+
+
+
+ Gets or sets how how null value properties are merged.
+
+ How null value properties are merged.
+
+
+
+ Represents an abstract JSON token.
+
+
+
+
+ Gets a comparer that can compare two tokens for value equality.
+
+ A that can compare two nodes for value equality.
+
+
+
+ Gets or sets the parent.
+
+ The parent.
+
+
+
+ Gets the root of this .
+
+ The root of this .
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Compares the values of two tokens, including the values of all descendant tokens.
+
+ The first to compare.
+ The second to compare.
+ true if the tokens are equal; otherwise false.
+
+
+
+ Gets the next sibling token of this node.
+
+ The that contains the next sibling token.
+
+
+
+ Gets the previous sibling token of this node.
+
+ The that contains the previous sibling token.
+
+
+
+ Gets the path of the JSON token.
+
+
+
+
+ Adds the specified content immediately after this token.
+
+ A content object that contains simple content or a collection of content objects to be added after this token.
+
+
+
+ Adds the specified content immediately before this token.
+
+ A content object that contains simple content or a collection of content objects to be added before this token.
+
+
+
+ Returns a collection of the ancestor tokens of this token.
+
+ A collection of the ancestor tokens of this token.
+
+
+
+ Returns a collection of tokens that contain this token, and the ancestors of this token.
+
+ A collection of tokens that contain this token, and the ancestors of this token.
+
+
+
+ Returns a collection of the sibling tokens after this token, in document order.
+
+ A collection of the sibling tokens after this tokens, in document order.
+
+
+
+ Returns a collection of the sibling tokens before this token, in document order.
+
+ A collection of the sibling tokens before this token, in document order.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets the with the specified key converted to the specified type.
+
+ The type to convert the token to.
+ The token key.
+ The converted token value.
+
+
+
+ Get the first child token of this token.
+
+ A containing the first child token of the .
+
+
+
+ Get the last child token of this token.
+
+ A containing the last child token of the .
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+ An of containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
+
+ The type to filter the child tokens on.
+ A containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+ A containing the child values of this , in document order.
+
+
+
+ Removes this token from its parent.
+
+
+
+
+ Replaces this token with the specified token.
+
+ The value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Returns the indented JSON for this token.
+
+
+ The indented JSON for this token.
+
+
+
+
+ Returns the JSON for this token using the given formatting and converters.
+
+ Indicates how the output is formatted.
+ A collection of which will be used when writing the token.
+ The JSON for this token using the given formatting and converters.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to [].
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from [] to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Creates an for this token.
+
+ An that can be used to read this token and its descendants.
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the value of the specified object
+
+
+
+ Creates a from an object using the specified .
+
+ The object that will be used to create .
+ The that will be used when reading the object.
+ A with the value of the specified object
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A , or null.
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ A .
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ An that contains the selected elements.
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ An that contains the selected elements.
+
+
+
+ Creates a new instance of the . All child tokens are recursively cloned.
+
+ A new instance of the .
+
+
+
+ Adds an object to the annotation list of this .
+
+ The annotation to add.
+
+
+
+ Get the first annotation object of the specified type from this .
+
+ The type of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets the first annotation object of the specified type from this .
+
+ The of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The type of the annotations to retrieve.
+ An that contains the annotations for this .
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The of the annotations to retrieve.
+ An of that contains the annotations that match the specified type for this .
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The type of annotations to remove.
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The of annotations to remove.
+
+
+
+ Compares tokens to determine whether they are equal.
+
+
+
+
+ Determines whether the specified objects are equal.
+
+ The first object of type to compare.
+ The second object of type to compare.
+
+ true if the specified objects are equal; otherwise, false.
+
+
+
+
+ Returns a hash code for the specified object.
+
+ The for which a hash code is to be returned.
+ A hash code for the specified object.
+ The type of is a reference type and is null.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets the at the reader's current position.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The token to read from.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Specifies the type of token.
+
+
+
+
+ No token type has been set.
+
+
+
+
+ A JSON object.
+
+
+
+
+ A JSON array.
+
+
+
+
+ A JSON constructor.
+
+
+
+
+ A JSON object property.
+
+
+
+
+ A comment.
+
+
+
+
+ An integer value.
+
+
+
+
+ A float value.
+
+
+
+
+ A string value.
+
+
+
+
+ A boolean value.
+
+
+
+
+ A null value.
+
+
+
+
+ An undefined value.
+
+
+
+
+ A date value.
+
+
+
+
+ A raw JSON value.
+
+
+
+
+ A collection of bytes value.
+
+
+
+
+ A Guid value.
+
+
+
+
+ A Uri value.
+
+
+
+
+ A TimeSpan value.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets the at the writer's current position.
+
+
+
+
+ Gets the token being writen.
+
+ The token being writen.
+
+
+
+ Initializes a new instance of the class writing to the given .
+
+ The container being written to.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Represents a value in JSON (string, integer, date, etc).
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Creates a comment with the given value.
+
+ The value.
+ A comment with the given value.
+
+
+
+ Creates a string with the given value.
+
+ The value.
+ A string with the given value.
+
+
+
+ Creates a null value.
+
+ A null value.
+
+
+
+ Creates a undefined value.
+
+ A undefined value.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets or sets the underlying token value.
+
+ The underlying token value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ true if the current object is equal to the parameter; otherwise, false.
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+ The to compare with the current .
+
+ true if the specified is equal to the current ; otherwise, false.
+
+
+ The parameter is null.
+
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
+
+ An object to compare with this instance.
+
+ A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
+ Value
+ Meaning
+ Less than zero
+ This instance is less than .
+ Zero
+ This instance is equal to .
+ Greater than zero
+ This instance is greater than .
+
+
+ is not the same type as this instance.
+
+
+
+
+ Specifies how JSON arrays are merged together.
+
+
+
+ Concatenate arrays.
+
+
+ Union arrays, skipping items that already exist.
+
+
+ Replace all array items.
+
+
+ Merge array items together, matched by index.
+
+
+
+ Specifies how null value properties are merged.
+
+
+
+
+ The content's null value properties will be ignored during merging.
+
+
+
+
+ The content's null value properties will be merged.
+
+
+
+
+ Specifies the member serialization options for the .
+
+
+
+
+ All public members are serialized by default. Members can be excluded using or .
+ This is the default member serialization mode.
+
+
+
+
+ Only members marked with or are serialized.
+ This member serialization mode can also be set by marking the class with .
+
+
+
+
+ All public and private fields are serialized. Members can be excluded using or .
+ This member serialization mode can also be set by marking the class with
+ and setting IgnoreSerializableAttribute on to false.
+
+
+
+
+ Specifies metadata property handling options for the .
+
+
+
+
+ Read metadata properties located at the start of a JSON object.
+
+
+
+
+ Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
+
+
+
+
+ Do not try to read metadata properties.
+
+
+
+
+ Specifies missing member handling options for the .
+
+
+
+
+ Ignore a missing member and do not attempt to deserialize it.
+
+
+
+
+ Throw a when a missing member is encountered during deserialization.
+
+
+
+
+ Specifies null value handling options for the .
+
+
+
+
+
+
+
+
+ Include null values when serializing and deserializing objects.
+
+
+
+
+ Ignore null values when serializing and deserializing objects.
+
+
+
+
+ Specifies how object creation is handled by the .
+
+
+
+
+ Reuse existing objects, create new objects when needed.
+
+
+
+
+ Only reuse existing objects.
+
+
+
+
+ Always create new objects.
+
+
+
+
+ Specifies reference handling options for the .
+ Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable.
+
+
+
+
+
+
+
+ Do not preserve references when serializing types.
+
+
+
+
+ Preserve references when serializing into a JSON object structure.
+
+
+
+
+ Preserve references when serializing into a JSON array structure.
+
+
+
+
+ Preserve references when serializing.
+
+
+
+
+ Specifies reference loop handling options for the .
+
+
+
+
+ Throw a when a loop is encountered.
+
+
+
+
+ Ignore loop references and do not serialize.
+
+
+
+
+ Serialize loop references.
+
+
+
+
+ Indicating whether a property is required.
+
+
+
+
+ The property is not required. The default state.
+
+
+
+
+ The property must be defined in JSON but can be a null value.
+
+
+
+
+ The property must be defined in JSON and cannot be a null value.
+
+
+
+
+ The property is not required but it cannot be a null value.
+
+
+
+
+
+ Contains the JSON schema extension methods.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ When this method returns, contains any error messages generated while validating.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ The validation event handler.
+
+
+
+
+ An in-memory representation of a JSON Schema.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the id.
+
+
+
+
+ Gets or sets the title.
+
+
+
+
+ Gets or sets whether the object is required.
+
+
+
+
+ Gets or sets whether the object is read only.
+
+
+
+
+ Gets or sets whether the object is visible to users.
+
+
+
+
+ Gets or sets whether the object is transient.
+
+
+
+
+ Gets or sets the description of the object.
+
+
+
+
+ Gets or sets the types of values allowed by the object.
+
+ The type.
+
+
+
+ Gets or sets the pattern.
+
+ The pattern.
+
+
+
+ Gets or sets the minimum length.
+
+ The minimum length.
+
+
+
+ Gets or sets the maximum length.
+
+ The maximum length.
+
+
+
+ Gets or sets a number that the value should be divisble by.
+
+ A number that the value should be divisble by.
+
+
+
+ Gets or sets the minimum.
+
+ The minimum.
+
+
+
+ Gets or sets the maximum.
+
+ The maximum.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+
+
+ Gets or sets the minimum number of items.
+
+ The minimum number of items.
+
+
+
+ Gets or sets the maximum number of items.
+
+ The maximum number of items.
+
+
+
+ Gets or sets the of items.
+
+ The of items.
+
+
+
+ Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
+
+
+ true if items are validated using their array position; otherwise, false.
+
+
+
+
+ Gets or sets the of additional items.
+
+ The of additional items.
+
+
+
+ Gets or sets a value indicating whether additional items are allowed.
+
+
+ true if additional items are allowed; otherwise, false.
+
+
+
+
+ Gets or sets whether the array items must be unique.
+
+
+
+
+ Gets or sets the of properties.
+
+ The of properties.
+
+
+
+ Gets or sets the of additional properties.
+
+ The of additional properties.
+
+
+
+ Gets or sets the pattern properties.
+
+ The pattern properties.
+
+
+
+ Gets or sets a value indicating whether additional properties are allowed.
+
+
+ true if additional properties are allowed; otherwise, false.
+
+
+
+
+ Gets or sets the required property if this property is present.
+
+ The required property if this property is present.
+
+
+
+ Gets or sets the a collection of valid enum values allowed.
+
+ A collection of valid enum values allowed.
+
+
+
+ Gets or sets disallowed types.
+
+ The disallow types.
+
+
+
+ Gets or sets the default value.
+
+ The default value.
+
+
+
+ Gets or sets the collection of that this schema extends.
+
+ The collection of that this schema extends.
+
+
+
+ Gets or sets the format.
+
+ The format.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The object representing the JSON Schema.
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The to use when resolving schema references.
+ The object representing the JSON Schema.
+
+
+
+ Load a from a string that contains schema JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Parses the specified json.
+
+ The json.
+ The resolver.
+ A populated from the string that contains JSON.
+
+
+
+ Writes this schema to a .
+
+ A into which this method will write.
+
+
+
+ Writes this schema to a using the specified .
+
+ A into which this method will write.
+ The resolver used.
+
+
+
+ Returns a that represents the current .
+
+
+ A that represents the current .
+
+
+
+
+
+ Returns detailed information about the schema exception.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+
+ Generates a from a specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets how undefined schemas are handled by the serializer.
+
+
+
+
+ Gets or sets the contract resolver.
+
+ The contract resolver.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+
+ Resolves from an id.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the loaded schemas.
+
+ The loaded schemas.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets a for the specified reference.
+
+ The id.
+ A for the specified reference.
+
+
+
+
+ The value types allowed by the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ No type specified.
+
+
+
+
+ String type.
+
+
+
+
+ Float type.
+
+
+
+
+ Integer type.
+
+
+
+
+ Boolean type.
+
+
+
+
+ Object type.
+
+
+
+
+ Array type.
+
+
+
+
+ Null type.
+
+
+
+
+ Any type.
+
+
+
+
+
+ Specifies undefined schema Id handling options for the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Do not infer a schema Id.
+
+
+
+
+ Use the .NET type name as the schema Id.
+
+
+
+
+ Use the assembly qualified .NET type name as the schema Id.
+
+
+
+
+
+ Returns detailed information related to the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the associated with the validation error.
+
+ The JsonSchemaException associated with the validation error.
+
+
+
+ Gets the path of the JSON location where the validation error occurred.
+
+ The path of the JSON location where the validation error occurred.
+
+
+
+ Gets the text description corresponding to the validation error.
+
+ The text description.
+
+
+
+
+ Represents the callback method that will handle JSON schema validation events and the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Allows users to control class loading and mandate what class to load.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object
+ The type of the object the formatter creates a new instance of.
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ The type of the object the formatter creates a new instance of.
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+
+
+ A camel case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Resolves member mappings for a type, camel casing property names.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+ Gets a value indicating whether members are being get and set using dynamic code generation.
+ This value is determined by the runtime permissions available.
+
+
+ true if using dynamic code generation; otherwise, false.
+
+
+
+
+ Gets or sets the default members search flags.
+
+ The default members search flags.
+
+
+
+ Gets or sets a value indicating whether compiler generated members should be serialized.
+
+
+ true if serialized compiler generated members; otherwise, false.
+
+
+
+
+ Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
+
+ The naming strategy used to resolve how property names and dictionary keys are serialized.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ If set to true the will use a cached shared with other resolvers of the same type.
+ Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only
+ happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different
+ results. When set to false it is highly recommended to reuse instances with the .
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Gets the serializable members for the type.
+
+ The type to get serializable members for.
+ The serializable members for the type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates the constructor parameters.
+
+ The constructor to create properties for.
+ The type's member properties.
+ Properties for the given .
+
+
+
+ Creates a for the given .
+
+ The matching member property.
+ The constructor parameter.
+ A created for the given .
+
+
+
+ Resolves the default for the contract.
+
+ Type of the object.
+ The contract's default .
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Determines which contract type is created for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates properties for the given .
+
+ The type to create properties for.
+ /// The member serialization mode for the type.
+ Properties for the given .
+
+
+
+ Creates the used by the serializer to get and set values from a member.
+
+ The member.
+ The used by the serializer to get and set values from a member.
+
+
+
+ Creates a for the given .
+
+ The member's parent .
+ The member to create a for.
+ A created for the given .
+
+
+
+ Resolves the name of the property.
+
+ Name of the property.
+ Resolved name of the property.
+
+
+
+ Resolves the key of the dictionary. By default is used to resolve dictionary keys.
+
+ Key of the dictionary.
+ Resolved key of the dictionary.
+
+
+
+ Gets the resolved name of the property.
+
+ Name of the property.
+ Name of the property.
+
+
+
+ The default naming strategy. Property names and dictionary keys are unchanged.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ The default serialization binder used when resolving and loading classes from type names.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+ The type of the object the formatter creates a new instance of.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ The type of the object the formatter creates a new instance of.
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+
+
+ Provides information surrounding an error.
+
+
+
+
+ Gets the error.
+
+ The error.
+
+
+
+ Gets the original object that caused the error.
+
+ The original object that caused the error.
+
+
+
+ Gets the member that caused the error.
+
+ The member that caused the error.
+
+
+
+ Gets the path of the JSON location where the error occurred.
+
+ The path of the JSON location where the error occurred.
+
+
+
+ Gets or sets a value indicating whether this is handled.
+
+ true if handled; otherwise, false.
+
+
+
+ Provides data for the Error event.
+
+
+
+
+ Gets the current object the error event is being raised against.
+
+ The current object the error event is being raised against.
+
+
+
+ Gets the error context.
+
+ The error context.
+
+
+
+ Initializes a new instance of the class.
+
+ The current object.
+ The error context.
+
+
+
+ Get and set values for a using dynamic methods.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Provides methods to get attributes.
+
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Used to resolve references when serializing and deserializing JSON by the .
+
+
+
+
+ Resolves a reference to its object.
+
+ The serialization context.
+ The reference to resolve.
+ The object that
+
+
+
+ Gets the reference for the sepecified object.
+
+ The serialization context.
+ The object to get a reference for.
+ The reference to the object.
+
+
+
+ Determines whether the specified object is referenced.
+
+ The serialization context.
+ The object to test for a reference.
+
+ true if the specified object is referenced; otherwise, false.
+
+
+
+
+ Adds a reference to the specified object.
+
+ The serialization context.
+ The reference.
+ The object to reference.
+
+
+
+ Represents a trace writer.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Provides methods to get and set values.
+
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the of the collection items.
+
+ The of the collection items.
+
+
+
+ Gets a value indicating whether the collection type is a multidimensional array.
+
+ true if the collection type is a multidimensional array; otherwise, false.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the collection values.
+
+ true if the creator has a parameter with the collection values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the default collection items .
+
+ The converter.
+
+
+
+ Gets or sets a value indicating whether the collection items preserve object references.
+
+ true if collection items preserve object references; otherwise, false.
+
+
+
+ Gets or sets the collection item reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the collection item type name handling.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Handles serialization callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+
+
+
+ Handles serialization error callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+ The error context.
+
+
+
+ Sets extension data for an object during deserialization.
+
+ The object to set extension data on.
+ The extension data key.
+ The extension data value.
+
+
+
+ Gets extension data for an object during serialization.
+
+ The object to set extension data on.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the underlying type for the contract.
+
+ The underlying type for the contract.
+
+
+
+ Gets or sets the type created during deserialization.
+
+ The type created during deserialization.
+
+
+
+ Gets or sets whether this type contract is serialized as a reference.
+
+ Whether this type contract is serialized as a reference.
+
+
+
+ Gets or sets the default for this contract.
+
+ The converter.
+
+
+
+ Gets or sets all methods called immediately after deserialization of the object.
+
+ The methods called immediately after deserialization of the object.
+
+
+
+ Gets or sets all methods called during deserialization of the object.
+
+ The methods called during deserialization of the object.
+
+
+
+ Gets or sets all methods called after serialization of the object graph.
+
+ The methods called after serialization of the object graph.
+
+
+
+ Gets or sets all methods called before serialization of the object.
+
+ The methods called before serialization of the object.
+
+
+
+ Gets or sets all method called when an error is thrown during the serialization of the object.
+
+ The methods called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the method called immediately after deserialization of the object.
+
+ The method called immediately after deserialization of the object.
+
+
+
+ Gets or sets the method called during deserialization of the object.
+
+ The method called during deserialization of the object.
+
+
+
+ Gets or sets the method called after serialization of the object graph.
+
+ The method called after serialization of the object graph.
+
+
+
+ Gets or sets the method called before serialization of the object.
+
+ The method called before serialization of the object.
+
+
+
+ Gets or sets the method called when an error is thrown during the serialization of the object.
+
+ The method called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the default creator method used to create the object.
+
+ The default creator method used to create the object.
+
+
+
+ Gets or sets a value indicating whether the default creator is non public.
+
+ true if the default object creator is non-public; otherwise, false.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the property name resolver.
+
+ The property name resolver.
+
+
+
+ Gets or sets the dictionary key resolver.
+
+ The dictionary key resolver.
+
+
+
+ Gets the of the dictionary keys.
+
+ The of the dictionary keys.
+
+
+
+ Gets the of the dictionary values.
+
+ The of the dictionary values.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the dictionary values.
+
+ true if the creator has a parameter with the dictionary values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the object member serialization.
+
+ The member object serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Gets the object's properties.
+
+ The object's properties.
+
+
+
+ Gets the constructor parameters required for any non-default constructor
+
+
+
+
+ Gets a collection of instances that define the parameters used with .
+
+
+
+
+ Gets or sets the override constructor used to create the object.
+ This is set when a constructor is marked up using the
+ JsonConstructor attribute.
+
+ The override constructor.
+
+
+
+ Gets or sets the parametrized constructor used to create the object.
+
+ The parametrized constructor.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+ This function is called with a collection of arguments which are defined by the collection.
+
+ The function used to create the object.
+
+
+
+ Gets or sets the extension data setter.
+
+
+
+
+ Gets or sets the extension data getter.
+
+
+
+
+ Gets or sets the extension data value type.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Maps a JSON property to a .NET member or constructor parameter.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the type that declared this property.
+
+ The type that declared this property.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets the name of the underlying member or parameter.
+
+ The name of the underlying member or parameter.
+
+
+
+ Gets the that will get and set the during serialization.
+
+ The that will get and set the during serialization.
+
+
+
+ Gets or sets the for this property.
+
+ The for this property.
+
+
+
+ Gets or sets the type of the property.
+
+ The type of the property.
+
+
+
+ Gets or sets the for the property.
+ If set this converter takes presidence over the contract converter for the property type.
+
+ The converter.
+
+
+
+ Gets or sets the member converter.
+
+ The member converter.
+
+
+
+ Gets or sets a value indicating whether this is ignored.
+
+ true if ignored; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is readable.
+
+ true if readable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is writable.
+
+ true if writable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this has a member attribute.
+
+ true if has a member attribute; otherwise, false.
+
+
+
+ Gets the default value.
+
+ The default value.
+
+
+
+ Gets or sets a value indicating whether this is required.
+
+ A value indicating whether this is required.
+
+
+
+ Gets or sets a value indicating whether this property preserves object references.
+
+
+ true if this instance is reference; otherwise, false.
+
+
+
+
+ Gets or sets the property null value handling.
+
+ The null value handling.
+
+
+
+ Gets or sets the property default value handling.
+
+ The default value handling.
+
+
+
+ Gets or sets the property reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the property object creation handling.
+
+ The object creation handling.
+
+
+
+ Gets or sets or sets the type name handling.
+
+ The type name handling.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialize.
+
+ A predicate used to determine whether the property should be serialize.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be deserialized.
+
+ A predicate used to determine whether the property should be deserialized.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialized.
+
+ A predicate used to determine whether the property should be serialized.
+
+
+
+ Gets or sets an action used to set whether the property has been deserialized.
+
+ An action used to set whether the property has been deserialized.
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets or sets the converter used when serializing the property's collection items.
+
+ The collection's items converter.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ A collection of objects.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type.
+
+
+
+ When implemented in a derived class, extracts the key from the specified element.
+
+ The element from which to extract the key.
+ The key for the specified element.
+
+
+
+ Adds a object.
+
+ The property to add to the collection.
+
+
+
+ Gets the closest matching object.
+ First attempts to get an exact case match of propertyName and then
+ a case insensitive match.
+
+ Name of the property.
+ A matching property if found.
+
+
+
+ Gets a property by property name.
+
+ The name of the property to get.
+ Type property name string comparison.
+ A matching property if found.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Lookup and create an instance of the JsonConverter type described by the argument.
+
+ The JsonConverter type to create.
+ Optional arguments to pass to an initializing constructor of the JsonConverter.
+ If null, the default constructor is used.
+
+
+
+ Represents a trace writer that writes to memory. When the trace message limit is
+ reached then old trace messages will be removed as new messages are added.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Returns an enumeration of the most recent trace messages.
+
+ An enumeration of the most recent trace messages.
+
+
+
+ Returns a of the most recent trace messages.
+
+
+ A of the most recent trace messages.
+
+
+
+
+ A base class for resolving how property names and dictionary keys are serialized.
+
+
+
+
+ A flag indicating whether dictionary keys should be processed.
+ Defaults to false.
+
+
+
+
+ A flag indicating whether explicitly specified property names,
+ e.g. a property name customized with a , should be processed.
+ Defaults to false.
+
+
+
+
+ Gets the serialized name for a given property name.
+
+ The initial property name.
+ A flag indicating whether the property has had a name explicitly specfied.
+ The serialized property name.
+
+
+
+ Gets the serialized key for a given dictionary key.
+
+ The initial dictionary key.
+ The serialized dictionary key.
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Represents a method that constructs an object.
+
+ The object type to create.
+
+
+
+ When applied to a method, specifies that the method is called when an error occurs serializing an object.
+
+
+
+
+ Provides methods to get attributes from a , , or .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The instance to get attributes for. This parameter should be a , , or .
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Get and set values for a using reflection.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ A snake case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Specifies how strings are escaped when writing JSON text.
+
+
+
+
+ Only control characters (e.g. newline) are escaped.
+
+
+
+
+ All non-ASCII and control characters (e.g. newline) are escaped.
+
+
+
+
+ HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
+
+
+
+
+ Specifies what messages to output for the class.
+
+
+
+
+ Output no tracing and debugging messages.
+
+
+
+
+ Output error-handling messages.
+
+
+
+
+ Output warnings and error-handling messages.
+
+
+
+
+ Output informational messages, warnings, and error-handling messages.
+
+
+
+
+ Output all debugging and tracing messages.
+
+
+
+
+ Specifies type name handling options for the .
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Do not include the .NET type name when serializing types.
+
+
+
+
+ Include the .NET type name when serializing into a JSON object structure.
+
+
+
+
+ Include the .NET type name when serializing into a JSON array structure.
+
+
+
+
+ Always include the .NET type name when serializing.
+
+
+
+
+ Include the .NET type name when the type of the object being serialized is not the same as its declared type.
+
+
+
+
+ Determines whether the collection is null or empty.
+
+ The collection.
+
+ true if the collection is null or empty; otherwise, false.
+
+
+
+
+ Adds the elements of the specified collection to the specified generic IList.
+
+ The list to add to.
+ The collection of elements to add.
+
+
+
+ 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.
+
+
+
+
+ Specifies the state of the .
+
+
+
+
+ An exception has been thrown, which has left the in an invalid state.
+ You may call the method to put the in the Closed state.
+ Any other method calls results in an being thrown.
+
+
+
+
+ The method has been called.
+
+
+
+
+ An object is being written.
+
+
+
+
+ A array is being written.
+
+
+
+
+ A constructor is being written.
+
+
+
+
+ A property is being written.
+
+
+
+
+ A write method has not been called.
+
+
+
+
+ Indicates the method that will be used during deserialization for locating and loading assemblies.
+
+
+
+
+ In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly.
+
+
+
+
+ In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly.
+
+
+
+
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll
new file mode 100644
index 0000000..8289274
Binary files /dev/null and b/packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll differ
diff --git a/packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml
new file mode 100644
index 0000000..336b9ef
--- /dev/null
+++ b/packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml
@@ -0,0 +1,8756 @@
+
+
+
+ Newtonsoft.Json
+
+
+
+
+ Represents a BSON Oid (object id).
+
+
+
+
+ Gets or sets the value of the Oid.
+
+ The value of the Oid.
+
+
+
+ Initializes a new instance of the class.
+
+ The Oid value.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary.
+
+
+ true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether the root object will be read as a JSON array.
+
+
+ true if the root object will be read as a JSON array; otherwise, false.
+
+
+
+
+ Gets or sets the used when reading values from BSON.
+
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The reader.
+ if set to true the root object will be read as a JSON array.
+ The used when reading values from BSON.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Changes the to Closed.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the used when writing values to BSON.
+ When set to no conversion will occur.
+
+ The used when writing values to BSON.
+
+
+
+ Initializes a new instance of the class.
+
+ The stream.
+
+
+
+ Initializes a new instance of the class.
+
+ The writer.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value that represents a BSON object id.
+
+ The Object ID value to write.
+
+
+
+ Writes a BSON regex.
+
+ The regex pattern.
+ The regex options.
+
+
+
+ Specifies how constructors are used when initializing objects during deserialization by the .
+
+
+
+
+ First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor.
+
+
+
+
+ Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Create a custom object
+
+ The object type to convert.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Creates an object which will then be populated by the serializer.
+
+ Type of the object.
+ The created object.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+
+ true if this can write JSON; otherwise, false.
+
+
+
+
+ Provides a base class for converting a to and from JSON.
+
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a F# discriminated union type to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an ExpandoObject to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+
+ true if this can write JSON; otherwise, false.
+
+
+
+
+ Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z).
+
+
+
+
+ Gets or sets the date time styles used when converting a date to and from JSON.
+
+ The date time styles used when converting a date to and from JSON.
+
+
+
+ Gets or sets the date time format used when converting a date to and from JSON.
+
+ The date time format used when converting a date to and from JSON.
+
+
+
+ Gets or sets the culture used when converting a date to and from JSON.
+
+ The culture used when converting a date to and from JSON.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)).
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Converts a to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from JSON and BSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts an to and from its name string value.
+
+
+
+
+ Gets or sets a value indicating whether the written enum text should be camel case.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether integer values are allowed.
+
+ true if integers are allowed; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ true if the written enum text will be camel case; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts a to and from a string (e.g. "1.2.3.4").
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing property value of the JSON that is being converted.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+ Converts XML to and from JSON.
+
+
+
+
+ Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements.
+
+ The name of the deserialize root element.
+
+
+
+ Gets or sets a flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ true if the array attibute is written to the XML; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether to write the root JSON object.
+
+ true if the JSON root object is omitted; otherwise, false.
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The calling serializer.
+ The value.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Checks if the attributeName is a namespace attribute.
+
+ Attribute name to test.
+ The attribute name prefix if it has one, otherwise an empty string.
+ true if attribute name is for a namespace attribute, otherwise false.
+
+
+
+ Determines whether this instance can convert the specified value type.
+
+ Type of the value.
+
+ true if this instance can convert the specified value type; otherwise, false.
+
+
+
+
+ Specifies how dates are formatted when writing JSON text.
+
+
+
+
+ Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
+
+
+
+
+ Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
+
+
+
+
+ Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
+
+
+
+
+ Date formatted strings are not parsed to a date type and are read as strings.
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
+
+
+
+
+ Specifies how to treat the time value when converting between string and .
+
+
+
+
+ Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
+
+
+
+
+ Treat as a UTC. If the object represents a local time, it is converted to a UTC.
+
+
+
+
+ Treat as a local time if a is being converted to a string.
+ If a string is being converted to , convert to a local time if a time zone is specified.
+
+
+
+
+ Time zone information should be preserved when converting.
+
+
+
+
+ Specifies default value handling options for the .
+
+
+
+
+
+
+
+
+ Include members where the member value is the same as the member's default value when serializing objects.
+ Included members are written to JSON. Has no effect when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ so that is is not written to JSON.
+ This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
+ decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
+ placing the on the property.
+
+
+
+
+ Members with a default value but no JSON will be set to their default value when deserializing.
+
+
+
+
+ Ignore members where the member value is the same as the member's default value when serializing objects
+ and sets members to their default value when deserializing.
+
+
+
+
+ Specifies float format handling options when writing special floating point numbers, e.g. ,
+ and with .
+
+
+
+
+ Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
+
+
+
+
+ Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
+ Note that this will produce non-valid JSON.
+
+
+
+
+ Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property.
+
+
+
+
+ Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Floating point numbers are parsed to .
+
+
+
+
+ Specifies formatting options for the .
+
+
+
+
+ No special formatting is applied. This is the default.
+
+
+
+
+ Causes child objects to be indented according to the and settings.
+
+
+
+
+ Provides an interface for using pooled arrays.
+
+ The array type content.
+
+
+
+ Rent a array from the pool. This array must be returned when it is no longer needed.
+
+ The minimum required length of the array. The returned array may be longer.
+ The rented array from the pool. This array must be returned when it is no longer needed.
+
+
+
+ Return an array to the pool.
+
+ The array that is being returned.
+
+
+
+ Provides an interface to enable a class to return line and position information.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Gets the current line position.
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Gets or sets a value indicating whether null items are allowed in the collection.
+
+ true if null items are allowed in the collection; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a flag indicating whether the array can contain null items
+
+ A flag indicating whether the array can contain null items.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Instructs the to use the specified constructor when deserializing that object.
+
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the id.
+
+ The id.
+
+
+
+ Gets or sets the title.
+
+ The title.
+
+
+
+ Gets or sets the description.
+
+ The description.
+
+
+
+ Gets or sets the collection's items converter.
+
+ The collection's items converter.
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets a value that indicates whether to preserve object references.
+
+
+ true to keep object reference; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets a value that indicates whether to preserve collection's items references.
+
+
+ true to keep collection's items object references; otherwise, false. The default is false.
+
+
+
+
+ Gets or sets the reference loop handling used when serializing the collection's items.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the type name handling used when serializing the collection's items.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Provides methods for converting between common language runtime types and JSON types.
+
+
+
+
+
+
+
+ Gets or sets a function that creates default .
+ Default settings are automatically used by serialization methods on ,
+ and and on .
+ To serialize without using any default settings create a with
+ .
+
+
+
+
+ Represents JavaScript's boolean value true as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's boolean value false as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's null as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's undefined as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's positive infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's negative infinity as a string. This field is read-only.
+
+
+
+
+ Represents JavaScript's NaN as a string. This field is read-only.
+
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ The time zone handling when the date is converted to a string.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation using the specified.
+
+ The value to convert.
+ The format the date will be converted to.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ The string escape handling.
+ A JSON string representation of the .
+
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ A JSON string representation of the .
+
+
+
+ Serializes the specified object to a JSON string.
+
+ The object to serialize.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a collection of .
+
+ The object to serialize.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using formatting and a collection of .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ A collection converters used while serializing.
+ A JSON string representation of the object.
+
+
+
+ Serializes the specified object to a JSON string using .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+ A JSON string representation of the object.
+
+
+
+
+ Asynchronously serializes the specified object to a JSON string.
+ Serialization will happen on a new thread.
+
+ The object to serialize.
+
+ A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
+
+
+
+
+ Asynchronously serializes the specified object to a JSON string using formatting.
+ Serialization will happen on a new thread.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+
+ A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
+
+
+
+
+ Asynchronously serializes the specified object to a JSON string using formatting and a collection of .
+ Serialization will happen on a new thread.
+
+ The object to serialize.
+ Indicates how the output is formatted.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
+
+
+
+
+ Deserializes the JSON to a .NET object.
+
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to a .NET object using .
+
+ The JSON to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The JSON to deserialize.
+ The of object being deserialized.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type.
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the given anonymous type using .
+
+
+ The anonymous type to deserialize to. This can't be specified
+ traditionally and must be infered from the anonymous type passed
+ as a parameter.
+
+ The JSON to deserialize.
+ The anonymous type object.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized anonymous type from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The type of the object to deserialize to.
+ The object to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using a collection of .
+
+ The JSON to deserialize.
+ The type of the object to deserialize.
+ Converters to use while deserializing.
+ The deserialized object from the JSON string.
+
+
+
+ Deserializes the JSON to the specified .NET type using .
+
+ The JSON to deserialize.
+ The type of the object to deserialize to.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+ The deserialized object from the JSON string.
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type.
+ Deserialization will happen on a new thread.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type using .
+ Deserialization will happen on a new thread.
+
+ The type of the object to deserialize to.
+ The JSON to deserialize.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type.
+ Deserialization will happen on a new thread.
+
+ The JSON to deserialize.
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Asynchronously deserializes the JSON to the specified .NET type using .
+ Deserialization will happen on a new thread.
+
+ The JSON to deserialize.
+ The type of the object to deserialize to.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+ A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
+
+
+
+
+ Populates the object with values from the JSON string.
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+
+
+ Populates the object with values from the JSON string using .
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+
+
+ Asynchronously populates the object with values from the JSON string using .
+
+ The JSON to populate values from.
+ The target object to populate values onto.
+
+ The used to deserialize the object.
+ If this is null, default serialization settings will be used.
+
+
+ A task that represents the asynchronous populate operation.
+
+
+
+
+ Serializes the to a JSON string.
+
+ The node to convert to JSON.
+ A JSON string of the XNode.
+
+
+
+ Serializes the to a JSON string using formatting.
+
+ The node to convert to JSON.
+ Indicates how the output is formatted.
+ A JSON string of the XNode.
+
+
+
+ Serializes the to a JSON string using formatting and omits the root object if is true.
+
+ The node to serialize.
+ Indicates how the output is formatted.
+ Omits writing the root object.
+ A JSON string of the XNode.
+
+
+
+ Deserializes the from a JSON string.
+
+ The JSON string.
+ The deserialized XNode
+
+
+
+ Deserializes the from a JSON string nested in a root elment specified by .
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+ The deserialized XNode
+
+
+
+ Deserializes the from a JSON string nested in a root elment specified by
+ and writes a .NET array attribute for collections.
+
+ The JSON string.
+ The name of the root element to append when deserializing.
+
+ A flag to indicate whether to write the Json.NET array attribute.
+ This attribute helps preserve arrays when converting the written XML back to JSON.
+
+ The deserialized XNode
+
+
+
+ Converts an object to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false.
+
+
+
+
+
+ Gets the of the JSON produced by the JsonConverter.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The of the JSON produced by the JsonConverter.
+
+
+
+ Gets a value indicating whether this can read JSON.
+
+ true if this can read JSON; otherwise, false.
+
+
+
+ Gets a value indicating whether this can write JSON.
+
+ true if this can write JSON; otherwise, false.
+
+
+
+ Instructs the to use the specified when serializing the member or class.
+
+
+
+
+ Gets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by ConverterType.
+ If null, the default constructor is used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+
+
+
+ Initializes a new instance of the class.
+
+ Type of the .
+ Parameter list to use when constructing the . Can be null.
+
+
+
+ Represents a collection of .
+
+
+
+
+ Instructs the how to serialize the collection.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Instructs the to deserialize properties with no matching class member into the specified collection
+ and write values during serialization.
+
+
+
+
+ Gets or sets a value that indicates whether to write extension data when serializing the object.
+
+
+ true to write extension data when serializing the object; otherwise, false. The default is true.
+
+
+
+
+ Gets or sets a value that indicates whether to read extension data when deserializing the object.
+
+
+ true to read extension data when deserializing the object; otherwise, false. The default is true.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Instructs the not to serialize the public field or public read/write property value.
+
+
+
+
+ Instructs the how to serialize the object.
+
+
+
+
+ Gets or sets the member serialization.
+
+ The member serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified member serialization.
+
+ The member serialization.
+
+
+
+ Initializes a new instance of the class with the specified container Id.
+
+ The container Id.
+
+
+
+ Instructs the to always serialize the member with the specified name.
+
+
+
+
+ Gets or sets the used when serializing the property's collection items.
+
+ The collection's items .
+
+
+
+ The parameter list to use when constructing the described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the of the .
+
+ The of the .
+
+
+
+ The parameter list to use when constructing the described by NamingStrategyType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+ Gets or sets the null value handling used when serializing this property.
+
+ The null value handling.
+
+
+
+ Gets or sets the default value handling used when serializing this property.
+
+ The default value handling.
+
+
+
+ Gets or sets the reference loop handling used when serializing this property.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the object creation handling used when deserializing this property.
+
+ The object creation handling.
+
+
+
+ Gets or sets the type name handling used when serializing this property.
+
+ The type name handling.
+
+
+
+ Gets or sets whether this property's value is serialized as a reference.
+
+ Whether this property's value is serialized as a reference.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets a value indicating whether this property is required.
+
+
+ A value indicating whether this property is required.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ Name of the property.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Specifies the state of the reader.
+
+
+
+
+ The Read method has not been called.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Reader is at a property.
+
+
+
+
+ Reader is at the start of an object.
+
+
+
+
+ Reader is in an object.
+
+
+
+
+ Reader is at the start of an array.
+
+
+
+
+ Reader is in an array.
+
+
+
+
+ The Close method has been called.
+
+
+
+
+ Reader has just read a value.
+
+
+
+
+ Reader is at the start of a constructor.
+
+
+
+
+ Reader in a constructor.
+
+
+
+
+ An error occurred that prevents the read operation from continuing.
+
+
+
+
+ The end of the file has been reached successfully.
+
+
+
+
+ Gets the current reader state.
+
+ The current reader state.
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the reader is closed.
+
+
+ true to close the underlying stream or when
+ the reader is closed; otherwise false. The default is true.
+
+
+
+
+ Gets or sets a value indicating whether multiple pieces of JSON content can
+ be read from a continuous stream without erroring.
+
+
+ true to support reading multiple pieces of JSON content; otherwise false. The default is false.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+ Get or set how time zones are handling when reading JSON.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how custom date formatted strings are parsed when reading JSON.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+ Gets The Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+
+
+
+ Reads the next JSON token from the stream.
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Skips the children of the current token.
+
+
+
+
+ Sets the current token.
+
+ The new token.
+
+
+
+ Sets the current token and value.
+
+ The new token.
+ The value.
+
+
+
+ Sets the state based on current token type.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Changes the to Closed.
+
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Instructs the to always serialize the member, and require the member has a value.
+
+
+
+
+ The exception thrown when an error occurs during JSON serialization or deserialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Serializes and deserializes objects into and from the JSON format.
+ The enables you to control how objects are encoded into JSON.
+
+
+
+
+ Occurs when the errors during serialization and deserialization.
+
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+
+
+
+ Get or set how reference loops (e.g. a class referencing itself) is handled.
+
+
+
+
+ Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+
+
+
+ Get or set how null values are handled during serialization and deserialization.
+
+
+
+
+ Get or set how null default are handled during serialization and deserialization.
+
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets a collection that will be used during serialization.
+
+ Collection that will be used during serialization.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
+
+
+ true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Creates a new instance.
+ The will not use default settings
+ from .
+
+
+ A new instance.
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will not use default settings
+ from .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will not use default settings
+ from .
+
+
+
+
+ Creates a new instance.
+ The will use default settings
+ from .
+
+
+ A new instance.
+ The will use default settings
+ from .
+
+
+
+
+ Creates a new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will use default settings
+ from as well as the specified .
+
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Populates the JSON values onto the target object.
+
+ The that contains the JSON structure to reader values from.
+ The target object to populate values onto.
+
+
+
+ Deserializes the JSON structure contained by the specified .
+
+ The that contains the JSON structure to deserialize.
+ The being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The type of the object to deserialize.
+ The instance of being deserialized.
+
+
+
+ Deserializes the JSON structure contained by the specified
+ into an instance of the specified type.
+
+ The containing the object.
+ The of object being deserialized.
+ The instance of being deserialized.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
+
+
+
+ Serializes the specified and writes the JSON structure
+ to a Stream using the specified .
+
+ The used to write the JSON structure.
+ The to serialize.
+
+
+
+ Specifies the settings on a object.
+
+
+
+
+ Gets or sets how reference loops (e.g. a class referencing itself) is handled.
+
+ Reference loop handling.
+
+
+
+ Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
+
+ Missing member handling.
+
+
+
+ Gets or sets how objects are created during deserialization.
+
+ The object creation handling.
+
+
+
+ Gets or sets how null values are handled during serialization and deserialization.
+
+ Null value handling.
+
+
+
+ Gets or sets how null default are handled during serialization and deserialization.
+
+ The default value handling.
+
+
+
+ Gets or sets a collection that will be used during serialization.
+
+ The converters.
+
+
+
+ Gets or sets how object references are preserved by the serializer.
+
+ The preserve references handling.
+
+
+
+ Gets or sets how type name writing and reading is handled by the serializer.
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+ The type name handling.
+
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
+
+
+ Gets or sets how a type name assembly is written and resolved by the serializer.
+
+ The type name assembly format.
+
+
+
+ Gets or sets how constructors are used during deserialization.
+
+ The constructor handling.
+
+
+
+ Gets or sets the contract resolver used by the serializer when
+ serializing .NET objects to JSON and vice versa.
+
+ The contract resolver.
+
+
+
+ Gets or sets the equality comparer used by the serializer when comparing references.
+
+ The equality comparer.
+
+
+
+ Gets or sets the used by the serializer when resolving references.
+
+ The reference resolver.
+
+
+
+ Gets or sets a function that creates the used by the serializer when resolving references.
+
+ A function that creates the used by the serializer when resolving references.
+
+
+
+ Gets or sets the used by the serializer when writing trace messages.
+
+ The trace writer.
+
+
+
+ Gets or sets the used by the serializer when resolving type names.
+
+ The binder.
+
+
+
+ Gets or sets the error handler called during serialization and deserialization.
+
+ The error handler called during serialization and deserialization.
+
+
+
+ Gets or sets the used by the serializer when invoking serialization callback methods.
+
+ The context.
+
+
+
+ Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text.
+
+
+
+
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling during serialization and deserialization.
+
+
+
+
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written as JSON.
+
+
+
+
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when reading JSON. Defaults to .
+
+
+
+
+ Gets a value indicating whether there will be a check for additional content after deserializing an object.
+
+
+ true if there will be a check for additional content after deserializing an object; otherwise, false.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
+
+
+
+
+ Initializes a new instance of the class with the specified .
+
+ The TextReader containing the XML data to read.
+
+
+
+ Gets or sets the reader's character buffer pool.
+
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Changes the state to closed.
+
+
+
+
+ Gets a value indicating whether the class can return line information.
+
+
+ true if LineNumber and LinePosition can be provided; otherwise, false.
+
+
+
+
+ Gets the current line number.
+
+
+ The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Gets the current line position.
+
+
+ The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets the writer's character array pool.
+
+
+
+
+ Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets which character to use to quote attribute values.
+
+
+
+
+ Gets or sets which character to use for indenting when is set to Formatting.Indented.
+
+
+
+
+ Gets or sets a value indicating whether object names will be surrounded with quotes.
+
+
+
+
+ Creates an instance of the JsonWriter class using the specified .
+
+ The TextWriter to write to.
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ Specifies the type of JSON token.
+
+
+
+
+ This is returned by the if a method has not been called.
+
+
+
+
+ An object start token.
+
+
+
+
+ An array start token.
+
+
+
+
+ A constructor start token.
+
+
+
+
+ An object property name.
+
+
+
+
+ A comment.
+
+
+
+
+ Raw JSON.
+
+
+
+
+ An integer.
+
+
+
+
+ A float.
+
+
+
+
+ A string.
+
+
+
+
+ A boolean.
+
+
+
+
+ A null token.
+
+
+
+
+ An undefined token.
+
+
+
+
+ An object end token.
+
+
+
+
+ An array end token.
+
+
+
+
+ A constructor end token.
+
+
+
+
+ A Date.
+
+
+
+
+ Byte data.
+
+
+
+
+
+ Represents a reader that provides validation.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Sets an event handler for receiving schema validation errors.
+
+
+
+
+ Gets the text value of the current JSON token.
+
+
+
+
+
+ Gets the depth of the current token in the JSON document.
+
+ The depth of the current token in the JSON document.
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Gets the quotation mark character used to enclose the value of a string.
+
+
+
+
+
+ Gets the type of the current JSON token.
+
+
+
+
+
+ Gets the Common Language Runtime (CLR) type for the current JSON token.
+
+
+
+
+
+ Initializes a new instance of the class that
+ validates the content returned from the given .
+
+ The to read from while validating.
+
+
+
+ Gets or sets the schema.
+
+ The schema.
+
+
+
+ Gets the used to construct this .
+
+ The specified in the constructor.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a [].
+
+
+ A [] or a null reference if the next JSON token is null.
+
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A . This method will return null at the end of an array.
+
+
+
+ Reads the next JSON token from the stream as a .
+
+ A .
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets or sets a value indicating whether the underlying stream or
+ should be closed when the writer is closed.
+
+
+ true to close the underlying stream or when
+ the writer is closed; otherwise false. The default is true.
+
+
+
+
+ Gets the top.
+
+ The top.
+
+
+
+ Gets the state of the writer.
+
+
+
+
+ Gets the path of the writer.
+
+
+
+
+ Indicates how JSON text output is formatted.
+
+
+
+
+ Get or set how dates are written to JSON text.
+
+
+
+
+ Get or set how time zones are handling when writing JSON text.
+
+
+
+
+ Get or set how strings are escaped when writing JSON text.
+
+
+
+
+ Get or set how special floating point numbers, e.g. ,
+ and ,
+ are written to JSON text.
+
+
+
+
+ Get or set how and values are formatting when writing JSON text.
+
+
+
+
+ Gets or sets the culture used when writing JSON. Defaults to .
+
+
+
+
+ Creates an instance of the JsonWriter class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the end of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the end of an array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end constructor.
+
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+ A flag to indicate whether the text should be escaped when it is written as a JSON property name.
+
+
+
+ Writes the end of the current JSON object or array.
+
+
+
+
+ Writes the current token and its children.
+
+ The to read the token from.
+
+
+
+ Writes the current token.
+
+ The to read the token from.
+ A flag indicating whether the current token's children should be written.
+
+
+
+ Writes the token and its value.
+
+ The to write.
+
+ The value to write.
+ A value is only required for tokens that have an associated value, e.g. the property name for .
+ A null value can be passed to the method for token's that don't have a value, e.g. .
+
+
+
+ Writes the token.
+
+ The to write.
+
+
+
+ Writes the specified end token.
+
+ The end token to write.
+
+
+
+ Writes indent characters.
+
+
+
+
+ Writes the JSON value delimiter.
+
+
+
+
+ Writes an indent space.
+
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON without changing the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes raw JSON where a value is expected and updates the writer's state.
+
+ The raw JSON to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes out the given white space.
+
+ The string of white space characters.
+
+
+
+ Releases unmanaged and - optionally - managed resources
+
+ true to release both managed and unmanaged resources; false to release only unmanaged resources.
+
+
+
+ Sets the state of the JsonWriter,
+
+ The JsonToken being written.
+ The value being written.
+
+
+
+ The exception thrown when an error occurs while reading JSON text.
+
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Specifies how JSON comments are handled when loading JSON.
+
+
+
+
+ Ignore comments.
+
+
+
+
+ Load comments as a with type .
+
+
+
+
+ Specifies how line information is handled when loading JSON.
+
+
+
+
+ Ignore line information.
+
+
+
+
+ Load line information.
+
+
+
+
+ Contains the LINQ to JSON extension methods.
+
+
+
+
+ Returns a collection of tokens that contains the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains the descendants of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, and the descendants of every token in the source collection.
+
+
+
+ Returns a collection of child properties of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the properties of every object in the source collection.
+
+
+
+ Returns a collection of child values of every object in the source collection with the given key.
+
+ An of that contains the source collection.
+ The token key.
+ An of that contains the values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of child values of every object in the source collection.
+
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child values of every object in the source collection with the given key.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ The token key.
+ An that contains the converted values of every token in the source collection with the given key.
+
+
+
+ Returns a collection of converted child values of every object in the source collection.
+
+ The type to convert the values to.
+ An of that contains the source collection.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Converts the value.
+
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Converts the value.
+
+ The source collection type.
+ The type to convert the value to.
+ A cast as a of .
+ A converted value.
+
+
+
+ Returns a collection of child tokens of every array in the source collection.
+
+ The source collection type.
+ An of that contains the source collection.
+ An of that contains the values of every token in the source collection.
+
+
+
+ Returns a collection of converted child tokens of every array in the source collection.
+
+ An of that contains the source collection.
+ The type to convert the values to.
+ The source collection type.
+ An that contains the converted values of every token in the source collection.
+
+
+
+ Returns the input typed as .
+
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Returns the input typed as .
+
+ The source collection type.
+ An of that contains the source collection.
+ The input typed as .
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Represents a JSON array.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the array.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the at the specified index.
+
+
+
+
+
+ Determines the index of a specific item in the .
+
+ The object to locate in the .
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+ The object to insert into the .
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Removes the item at the specified index.
+
+ The zero-based index of the item to remove.
+
+ is not a valid index in the .
+ The is read-only.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Adds an item to the .
+
+ The object to add to the .
+ The is read-only.
+
+
+
+ Removes all items from the .
+
+ The is read-only.
+
+
+
+ Determines whether the contains a specific value.
+
+ The object to locate in the .
+
+ true if is found in the ; otherwise, false.
+
+
+
+
+ Copies to.
+
+ The array.
+ Index of the array.
+
+
+
+ Gets a value indicating whether the is read-only.
+
+ true if the is read-only; otherwise, false.
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+ The object to remove from the .
+
+ true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
+
+ The is read-only.
+
+
+
+ Represents a JSON constructor.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets or sets the name of this constructor.
+
+ The constructor name.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name and content.
+
+ The constructor name.
+ The contents of the constructor.
+
+
+
+ Initializes a new instance of the class with the specified name.
+
+ The constructor name.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Represents a token that can contain other tokens.
+
+
+
+
+ Occurs when the items list of the collection has changed, or the collection is reset.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Raises the event.
+
+ The instance containing the event data.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Get the first child token of this token.
+
+
+ A containing the first child token of the .
+
+
+
+
+ Get the last child token of this token.
+
+
+ A containing the last child token of the .
+
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+
+ An of containing the child tokens of this , in document order.
+
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+
+ A containing the child values of this , in document order.
+
+
+
+
+ Returns a collection of the descendant tokens for this token in document order.
+
+ An containing the descendant tokens of the .
+
+
+
+ Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
+
+ An containing this token, and all the descendant tokens of the .
+
+
+
+ Adds the specified content as children of this .
+
+ The content to be added.
+
+
+
+ Adds the specified content as the first children of this .
+
+ The content to be added.
+
+
+
+ Creates an that can be used to add tokens to the .
+
+ An that is ready to have content written to it.
+
+
+
+ Replaces the children nodes of this token with the specified content.
+
+ The content.
+
+
+
+ Removes the child nodes from this token.
+
+
+
+
+ Merge the specified content into this .
+
+ The content to be merged.
+
+
+
+ Merge the specified content into this using .
+
+ The content to be merged.
+ The used to merge the content.
+
+
+
+ Gets the count of child JSON tokens.
+
+ The count of child JSON tokens
+
+
+
+ Represents a collection of objects.
+
+ The type of token
+
+
+
+ An empty collection of objects.
+
+
+
+
+ Initializes a new instance of the struct.
+
+ The enumerable.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Gets the with the specified key.
+
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Returns a hash code for this instance.
+
+
+ A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
+
+
+
+
+ Represents a JSON object.
+
+
+
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Initializes a new instance of the class with the specified content.
+
+ The contents of the object.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets an of this object's properties.
+
+ An of this object's properties.
+
+
+
+ Gets a the specified name.
+
+ The property name.
+ A with the specified name or null.
+
+
+
+ Gets an of this object's property values.
+
+ An of this object's property values.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets or sets the with the specified property name.
+
+
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the values of the specified object
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ The that will be used to read the object.
+ A with the values of the specified object
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Gets the with the specified property name.
+
+ Name of the property.
+ The with the specified property name.
+
+
+
+ Gets the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ One of the enumeration values that specifies how the strings will be compared.
+ The with the specified property name.
+
+
+
+ Tries to get the with the specified property name.
+ The exact property name will be searched for first and if no matching property is found then
+ the will be used to match a property.
+
+ Name of the property.
+ The value.
+ One of the enumeration values that specifies how the strings will be compared.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Adds the specified property name.
+
+ Name of the property.
+ The value.
+
+
+
+ Removes the property with the specified name.
+
+ Name of the property.
+ true if item was successfully removed; otherwise, false.
+
+
+
+ Tries the get value.
+
+ Name of the property.
+ The value.
+ true if a value was successfully retrieved; otherwise, false.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Raises the event with the provided arguments.
+
+ Name of the property.
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Represents a JSON property.
+
+
+
+
+ Gets the container's children tokens.
+
+ The container's children tokens.
+
+
+
+ Gets the property name.
+
+ The property name.
+
+
+
+ Gets or sets the property value.
+
+ The property value.
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Initializes a new instance of the class.
+
+ The property name.
+ The property content.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ A that contains the JSON that was read from the specified .
+
+
+
+ Loads an from a .
+
+ A that will be read for the content of the .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A that contains the JSON that was read from the specified .
+
+
+
+ Represents a raw JSON string.
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class.
+
+ The raw json.
+
+
+
+ Creates an instance of with the content of the reader's current token.
+
+ The reader.
+ An instance of with the content of the reader's current token.
+
+
+
+ Specifies the settings used when loading JSON.
+
+
+
+
+ Gets or sets how JSON comments are handled when loading JSON.
+
+ The JSON comment handling.
+
+
+
+ Gets or sets how JSON line info is handled when loading JSON.
+
+ The JSON line info handling.
+
+
+
+ Specifies the settings used when merging JSON.
+
+
+
+
+ Gets or sets the method used when merging JSON arrays.
+
+ The method used when merging JSON arrays.
+
+
+
+ Gets or sets how how null value properties are merged.
+
+ How null value properties are merged.
+
+
+
+ Represents an abstract JSON token.
+
+
+
+
+ Gets a comparer that can compare two tokens for value equality.
+
+ A that can compare two nodes for value equality.
+
+
+
+ Gets or sets the parent.
+
+ The parent.
+
+
+
+ Gets the root of this .
+
+ The root of this .
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Compares the values of two tokens, including the values of all descendant tokens.
+
+ The first to compare.
+ The second to compare.
+ true if the tokens are equal; otherwise false.
+
+
+
+ Gets the next sibling token of this node.
+
+ The that contains the next sibling token.
+
+
+
+ Gets the previous sibling token of this node.
+
+ The that contains the previous sibling token.
+
+
+
+ Gets the path of the JSON token.
+
+
+
+
+ Adds the specified content immediately after this token.
+
+ A content object that contains simple content or a collection of content objects to be added after this token.
+
+
+
+ Adds the specified content immediately before this token.
+
+ A content object that contains simple content or a collection of content objects to be added before this token.
+
+
+
+ Returns a collection of the ancestor tokens of this token.
+
+ A collection of the ancestor tokens of this token.
+
+
+
+ Returns a collection of tokens that contain this token, and the ancestors of this token.
+
+ A collection of tokens that contain this token, and the ancestors of this token.
+
+
+
+ Returns a collection of the sibling tokens after this token, in document order.
+
+ A collection of the sibling tokens after this tokens, in document order.
+
+
+
+ Returns a collection of the sibling tokens before this token, in document order.
+
+ A collection of the sibling tokens before this token, in document order.
+
+
+
+ Gets the with the specified key.
+
+ The with the specified key.
+
+
+
+ Gets the with the specified key converted to the specified type.
+
+ The type to convert the token to.
+ The token key.
+ The converted token value.
+
+
+
+ Get the first child token of this token.
+
+ A containing the first child token of the .
+
+
+
+ Get the last child token of this token.
+
+ A containing the last child token of the .
+
+
+
+ Returns a collection of the child tokens of this token, in document order.
+
+ An of containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
+
+ The type to filter the child tokens on.
+ A containing the child tokens of this , in document order.
+
+
+
+ Returns a collection of the child values of this token, in document order.
+
+ The type to convert the values to.
+ A containing the child values of this , in document order.
+
+
+
+ Removes this token from its parent.
+
+
+
+
+ Replaces this token with the specified token.
+
+ The value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Returns the indented JSON for this token.
+
+
+ The indented JSON for this token.
+
+
+
+
+ Returns the JSON for this token using the given formatting and converters.
+
+ Indicates how the output is formatted.
+ A collection of which will be used when writing the token.
+ The JSON for this token using the given formatting and converters.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to [].
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from [] to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Creates an for this token.
+
+ An that can be used to read this token and its descendants.
+
+
+
+ Creates a from an object.
+
+ The object that will be used to create .
+ A with the value of the specified object
+
+
+
+ Creates a from an object using the specified .
+
+ The object that will be used to create .
+ The that will be used when reading the object.
+ A with the value of the specified object
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the .
+
+ The object type that the token will be deserialized to.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates the specified .NET type from the using the specified .
+
+ The object type that the token will be deserialized to.
+ The that will be used when creating the object.
+ The new object created from the JSON value.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Load a from a string that contains JSON.
+
+ A that contains JSON.
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+ A populated from the string that contains JSON.
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+ The used to load the JSON.
+ If this is null, default load settings will be used.
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Creates a from a .
+
+ An positioned at the token to read into this .
+
+ An that contains the token and its descendant tokens
+ that were read from the reader. The runtime type of the token is determined
+ by the token type of the first token encountered in the reader.
+
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A , or null.
+
+
+
+ Selects a using a JPath expression. Selects the token that matches the object path.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ A .
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ An that contains the selected elements.
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ An that contains the selected elements.
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Creates a new instance of the . All child tokens are recursively cloned.
+
+ A new instance of the .
+
+
+
+ Adds an object to the annotation list of this .
+
+ The annotation to add.
+
+
+
+ Get the first annotation object of the specified type from this .
+
+ The type of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets the first annotation object of the specified type from this .
+
+ The of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The type of the annotations to retrieve.
+ An that contains the annotations for this .
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The of the annotations to retrieve.
+ An of that contains the annotations that match the specified type for this .
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The type of annotations to remove.
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The of annotations to remove.
+
+
+
+ Compares tokens to determine whether they are equal.
+
+
+
+
+ Determines whether the specified objects are equal.
+
+ The first object of type to compare.
+ The second object of type to compare.
+
+ true if the specified objects are equal; otherwise, false.
+
+
+
+
+ Returns a hash code for the specified object.
+
+ The for which a hash code is to be returned.
+ A hash code for the specified object.
+ The type of is a reference type and is null.
+
+
+
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
+
+
+
+
+ Gets the at the reader's current position.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The token to read from.
+
+
+
+ Reads the next JSON token from the stream.
+
+
+ true if the next token was read successfully; false if there are no more tokens to read.
+
+
+
+
+ Gets the path of the current JSON token.
+
+
+
+
+ Specifies the type of token.
+
+
+
+
+ No token type has been set.
+
+
+
+
+ A JSON object.
+
+
+
+
+ A JSON array.
+
+
+
+
+ A JSON constructor.
+
+
+
+
+ A JSON object property.
+
+
+
+
+ A comment.
+
+
+
+
+ An integer value.
+
+
+
+
+ A float value.
+
+
+
+
+ A string value.
+
+
+
+
+ A boolean value.
+
+
+
+
+ A null value.
+
+
+
+
+ An undefined value.
+
+
+
+
+ A date value.
+
+
+
+
+ A raw JSON value.
+
+
+
+
+ A collection of bytes value.
+
+
+
+
+ A Guid value.
+
+
+
+
+ A Uri value.
+
+
+
+
+ A TimeSpan value.
+
+
+
+
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
+
+
+
+
+ Gets the at the writer's current position.
+
+
+
+
+ Gets the token being writen.
+
+ The token being writen.
+
+
+
+ Initializes a new instance of the class writing to the given .
+
+ The container being written to.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
+
+
+
+
+ Closes this stream and the underlying stream.
+
+
+
+
+ Writes the beginning of a JSON object.
+
+
+
+
+ Writes the beginning of a JSON array.
+
+
+
+
+ Writes the start of a constructor with the given name.
+
+ The name of the constructor.
+
+
+
+ Writes the end.
+
+ The token.
+
+
+
+ Writes the property name of a name/value pair on a JSON object.
+
+ The name of the property.
+
+
+
+ Writes a value.
+ An error will raised if the value cannot be written as a single JSON token.
+
+ The value to write.
+
+
+
+ Writes a null value.
+
+
+
+
+ Writes an undefined value.
+
+
+
+
+ Writes raw JSON.
+
+ The raw JSON to write.
+
+
+
+ Writes out a comment /*...*/
containing the specified text.
+
+ Text to place inside the comment.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a [] value.
+
+ The [] value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Writes a value.
+
+ The value to write.
+
+
+
+ Represents a value in JSON (string, integer, date, etc).
+
+
+
+
+ Initializes a new instance of the class from another object.
+
+ A object to copy from.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
+
+
+ Gets a value indicating whether this token has child tokens.
+
+
+ true if this token has child values; otherwise, false.
+
+
+
+
+ Creates a comment with the given value.
+
+ The value.
+ A comment with the given value.
+
+
+
+ Creates a string with the given value.
+
+ The value.
+ A string with the given value.
+
+
+
+ Creates a null value.
+
+ A null value.
+
+
+
+ Creates a undefined value.
+
+ A undefined value.
+
+
+
+ Gets the node type for this .
+
+ The type.
+
+
+
+ Gets or sets the underlying token value.
+
+ The underlying token value.
+
+
+
+ Writes this token to a .
+
+ A into which this method will write.
+ A collection of which will be used when writing the token.
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ true if the current object is equal to the parameter; otherwise, false.
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+ The to compare with the current .
+
+ true if the specified is equal to the current ; otherwise, false.
+
+
+ The parameter is null.
+
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Returns a that represents this instance.
+
+ The format.
+ The format provider.
+
+ A that represents this instance.
+
+
+
+
+ Returns the responsible for binding operations performed on this object.
+
+ The expression tree representation of the runtime value.
+
+ The to bind this object.
+
+
+
+
+ Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
+
+ An object to compare with this instance.
+
+ A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
+ Value
+ Meaning
+ Less than zero
+ This instance is less than .
+ Zero
+ This instance is equal to .
+ Greater than zero
+ This instance is greater than .
+
+
+ is not the same type as this instance.
+
+
+
+
+ Specifies how JSON arrays are merged together.
+
+
+
+ Concatenate arrays.
+
+
+ Union arrays, skipping items that already exist.
+
+
+ Replace all array items.
+
+
+ Merge array items together, matched by index.
+
+
+
+ Specifies how null value properties are merged.
+
+
+
+
+ The content's null value properties will be ignored during merging.
+
+
+
+
+ The content's null value properties will be merged.
+
+
+
+
+ Specifies the member serialization options for the .
+
+
+
+
+ All public members are serialized by default. Members can be excluded using or .
+ This is the default member serialization mode.
+
+
+
+
+ Only members marked with or are serialized.
+ This member serialization mode can also be set by marking the class with .
+
+
+
+
+ All public and private fields are serialized. Members can be excluded using or .
+ This member serialization mode can also be set by marking the class with
+ and setting IgnoreSerializableAttribute on to false.
+
+
+
+
+ Specifies metadata property handling options for the .
+
+
+
+
+ Read metadata properties located at the start of a JSON object.
+
+
+
+
+ Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
+
+
+
+
+ Do not try to read metadata properties.
+
+
+
+
+ Specifies missing member handling options for the .
+
+
+
+
+ Ignore a missing member and do not attempt to deserialize it.
+
+
+
+
+ Throw a when a missing member is encountered during deserialization.
+
+
+
+
+ Specifies null value handling options for the .
+
+
+
+
+
+
+
+
+ Include null values when serializing and deserializing objects.
+
+
+
+
+ Ignore null values when serializing and deserializing objects.
+
+
+
+
+ Specifies how object creation is handled by the .
+
+
+
+
+ Reuse existing objects, create new objects when needed.
+
+
+
+
+ Only reuse existing objects.
+
+
+
+
+ Always create new objects.
+
+
+
+
+ Specifies reference handling options for the .
+ Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable.
+
+
+
+
+
+
+
+ Do not preserve references when serializing types.
+
+
+
+
+ Preserve references when serializing into a JSON object structure.
+
+
+
+
+ Preserve references when serializing into a JSON array structure.
+
+
+
+
+ Preserve references when serializing.
+
+
+
+
+ Specifies reference loop handling options for the .
+
+
+
+
+ Throw a when a loop is encountered.
+
+
+
+
+ Ignore loop references and do not serialize.
+
+
+
+
+ Serialize loop references.
+
+
+
+
+ Indicating whether a property is required.
+
+
+
+
+ The property is not required. The default state.
+
+
+
+
+ The property must be defined in JSON but can be a null value.
+
+
+
+
+ The property must be defined in JSON and cannot be a null value.
+
+
+
+
+ The property is not required but it cannot be a null value.
+
+
+
+
+
+ Contains the JSON schema extension methods.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Determines whether the is valid.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ When this method returns, contains any error messages generated while validating.
+
+ true if the specified is valid; otherwise, false.
+
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+
+
+
+
+ Validates the specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+ The source to test.
+ The schema to test with.
+ The validation event handler.
+
+
+
+
+ An in-memory representation of a JSON Schema.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the id.
+
+
+
+
+ Gets or sets the title.
+
+
+
+
+ Gets or sets whether the object is required.
+
+
+
+
+ Gets or sets whether the object is read only.
+
+
+
+
+ Gets or sets whether the object is visible to users.
+
+
+
+
+ Gets or sets whether the object is transient.
+
+
+
+
+ Gets or sets the description of the object.
+
+
+
+
+ Gets or sets the types of values allowed by the object.
+
+ The type.
+
+
+
+ Gets or sets the pattern.
+
+ The pattern.
+
+
+
+ Gets or sets the minimum length.
+
+ The minimum length.
+
+
+
+ Gets or sets the maximum length.
+
+ The maximum length.
+
+
+
+ Gets or sets a number that the value should be divisble by.
+
+ A number that the value should be divisble by.
+
+
+
+ Gets or sets the minimum.
+
+ The minimum.
+
+
+
+ Gets or sets the maximum.
+
+ The maximum.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "minimum" attribute.
+
+
+
+ Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+ A flag indicating whether the value can not equal the number defined by the "maximum" attribute.
+
+
+
+ Gets or sets the minimum number of items.
+
+ The minimum number of items.
+
+
+
+ Gets or sets the maximum number of items.
+
+ The maximum number of items.
+
+
+
+ Gets or sets the of items.
+
+ The of items.
+
+
+
+ Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
+
+
+ true if items are validated using their array position; otherwise, false.
+
+
+
+
+ Gets or sets the of additional items.
+
+ The of additional items.
+
+
+
+ Gets or sets a value indicating whether additional items are allowed.
+
+
+ true if additional items are allowed; otherwise, false.
+
+
+
+
+ Gets or sets whether the array items must be unique.
+
+
+
+
+ Gets or sets the of properties.
+
+ The of properties.
+
+
+
+ Gets or sets the of additional properties.
+
+ The of additional properties.
+
+
+
+ Gets or sets the pattern properties.
+
+ The pattern properties.
+
+
+
+ Gets or sets a value indicating whether additional properties are allowed.
+
+
+ true if additional properties are allowed; otherwise, false.
+
+
+
+
+ Gets or sets the required property if this property is present.
+
+ The required property if this property is present.
+
+
+
+ Gets or sets the a collection of valid enum values allowed.
+
+ A collection of valid enum values allowed.
+
+
+
+ Gets or sets disallowed types.
+
+ The disallow types.
+
+
+
+ Gets or sets the default value.
+
+ The default value.
+
+
+
+ Gets or sets the collection of that this schema extends.
+
+ The collection of that this schema extends.
+
+
+
+ Gets or sets the format.
+
+ The format.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The object representing the JSON Schema.
+
+
+
+ Reads a from the specified .
+
+ The containing the JSON Schema to read.
+ The to use when resolving schema references.
+ The object representing the JSON Schema.
+
+
+
+ Load a from a string that contains schema JSON.
+
+ A that contains JSON.
+ A populated from the string that contains JSON.
+
+
+
+ Parses the specified json.
+
+ The json.
+ The resolver.
+ A populated from the string that contains JSON.
+
+
+
+ Writes this schema to a .
+
+ A into which this method will write.
+
+
+
+ Writes this schema to a using the specified .
+
+ A into which this method will write.
+ The resolver used.
+
+
+
+ Returns a that represents the current .
+
+
+ A that represents the current .
+
+
+
+
+
+ Returns detailed information about the schema exception.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the line number indicating where the error occurred.
+
+ The line number indicating where the error occurred.
+
+
+
+ Gets the line position indicating where the error occurred.
+
+ The line position indicating where the error occurred.
+
+
+
+ Gets the path to the JSON where the error occurred.
+
+ The path to the JSON where the error occurred.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with a specified error message.
+
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class
+ with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+
+ Generates a from a specified .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets how undefined schemas are handled by the serializer.
+
+
+
+
+ Gets or sets the contract resolver.
+
+ The contract resolver.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+ Generate a from the specified type.
+
+ The type to generate a from.
+ The used to resolve schema references.
+ Specify whether the generated root will be nullable.
+ A generated from the specified type.
+
+
+
+
+ Resolves from an id.
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets or sets the loaded schemas.
+
+ The loaded schemas.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets a for the specified reference.
+
+ The id.
+ A for the specified reference.
+
+
+
+
+ The value types allowed by the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ No type specified.
+
+
+
+
+ String type.
+
+
+
+
+ Float type.
+
+
+
+
+ Integer type.
+
+
+
+
+ Boolean type.
+
+
+
+
+ Object type.
+
+
+
+
+ Array type.
+
+
+
+
+ Null type.
+
+
+
+
+ Any type.
+
+
+
+
+
+ Specifies undefined schema Id handling options for the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Do not infer a schema Id.
+
+
+
+
+ Use the .NET type name as the schema Id.
+
+
+
+
+ Use the assembly qualified .NET type name as the schema Id.
+
+
+
+
+
+ Returns detailed information related to the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Gets the associated with the validation error.
+
+ The JsonSchemaException associated with the validation error.
+
+
+
+ Gets the path of the JSON location where the validation error occurred.
+
+ The path of the JSON location where the validation error occurred.
+
+
+
+ Gets the text description corresponding to the validation error.
+
+ The text description.
+
+
+
+
+ Represents the callback method that will handle JSON schema validation events and the .
+
+
+ JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.
+
+
+
+
+
+ Allows users to control class loading and mandate what class to load.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object
+ The type of the object the formatter creates a new instance of.
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ The type of the object the formatter creates a new instance of.
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+
+
+ A camel case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Resolves member mappings for a type, camel casing property names.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ The default naming strategy. Property names and dictionary keys are unchanged.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Get and set values for a using dynamic methods.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+ Gets a value indicating whether members are being get and set using dynamic code generation.
+ This value is determined by the runtime permissions available.
+
+
+ true if using dynamic code generation; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether compiler generated members should be serialized.
+
+
+ true if serialized compiler generated members; otherwise, false.
+
+
+
+
+ Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
+
+ The naming strategy used to resolve how property names and dictionary keys are serialized.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ If set to true the will use a cached shared with other resolvers of the same type.
+ Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only
+ happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different
+ results. When set to false it is highly recommended to reuse instances with the .
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Gets the serializable members for the type.
+
+ The type to get serializable members for.
+ The serializable members for the type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates the constructor parameters.
+
+ The constructor to create properties for.
+ The type's member properties.
+ Properties for the given .
+
+
+
+ Creates a for the given .
+
+ The matching member property.
+ The constructor parameter.
+ A created for the given .
+
+
+
+ Resolves the default for the contract.
+
+ Type of the object.
+ The contract's default .
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates a for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Determines which contract type is created for the given type.
+
+ Type of the object.
+ A for the given type.
+
+
+
+ Creates properties for the given .
+
+ The type to create properties for.
+ /// The member serialization mode for the type.
+ Properties for the given .
+
+
+
+ Creates the used by the serializer to get and set values from a member.
+
+ The member.
+ The used by the serializer to get and set values from a member.
+
+
+
+ Creates a for the given .
+
+ The member's parent .
+ The member to create a for.
+ A created for the given .
+
+
+
+ Resolves the name of the property.
+
+ Name of the property.
+ Resolved name of the property.
+
+
+
+ Resolves the key of the dictionary. By default is used to resolve dictionary keys.
+
+ Key of the dictionary.
+ Resolved key of the dictionary.
+
+
+
+ Gets the resolved name of the property.
+
+ Name of the property.
+ Name of the property.
+
+
+
+ The default serialization binder used when resolving and loading classes from type names.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+ The type of the object the formatter creates a new instance of.
+
+
+
+
+ When overridden in a derived class, controls the binding of a serialized object to a type.
+
+ The type of the object the formatter creates a new instance of.
+ Specifies the name of the serialized object.
+ Specifies the name of the serialized object.
+
+
+
+ Provides information surrounding an error.
+
+
+
+
+ Gets the error.
+
+ The error.
+
+
+
+ Gets the original object that caused the error.
+
+ The original object that caused the error.
+
+
+
+ Gets the member that caused the error.
+
+ The member that caused the error.
+
+
+
+ Gets the path of the JSON location where the error occurred.
+
+ The path of the JSON location where the error occurred.
+
+
+
+ Gets or sets a value indicating whether this is handled.
+
+ true if handled; otherwise, false.
+
+
+
+ Provides data for the Error event.
+
+
+
+
+ Gets the current object the error event is being raised against.
+
+ The current object the error event is being raised against.
+
+
+
+ Gets the error context.
+
+ The error context.
+
+
+
+ Initializes a new instance of the class.
+
+ The current object.
+ The error context.
+
+
+
+ Provides methods to get attributes.
+
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Used by to resolves a for a given .
+
+
+
+
+
+
+
+
+ Resolves the contract for a given type.
+
+ The type to resolve a contract for.
+ The contract for a given type.
+
+
+
+ Used to resolve references when serializing and deserializing JSON by the .
+
+
+
+
+ Resolves a reference to its object.
+
+ The serialization context.
+ The reference to resolve.
+ The object that
+
+
+
+ Gets the reference for the sepecified object.
+
+ The serialization context.
+ The object to get a reference for.
+ The reference to the object.
+
+
+
+ Determines whether the specified object is referenced.
+
+ The serialization context.
+ The object to test for a reference.
+
+ true if the specified object is referenced; otherwise, false.
+
+
+
+
+ Adds a reference to the specified object.
+
+ The serialization context.
+ The reference.
+ The object to reference.
+
+
+
+ Represents a trace writer.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Provides methods to get and set values.
+
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the of the collection items.
+
+ The of the collection items.
+
+
+
+ Gets a value indicating whether the collection type is a multidimensional array.
+
+ true if the collection type is a multidimensional array; otherwise, false.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the collection values.
+
+ true if the creator has a parameter with the collection values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the default collection items .
+
+ The converter.
+
+
+
+ Gets or sets a value indicating whether the collection items preserve object references.
+
+ true if collection items preserve object references; otherwise, false.
+
+
+
+ Gets or sets the collection item reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the collection item type name handling.
+
+ The type name handling.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Handles serialization callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+
+
+
+ Handles serialization error callback events.
+
+ The object that raised the callback event.
+ The streaming context.
+ The error context.
+
+
+
+ Sets extension data for an object during deserialization.
+
+ The object to set extension data on.
+ The extension data key.
+ The extension data value.
+
+
+
+ Gets extension data for an object during serialization.
+
+ The object to set extension data on.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the underlying type for the contract.
+
+ The underlying type for the contract.
+
+
+
+ Gets or sets the type created during deserialization.
+
+ The type created during deserialization.
+
+
+
+ Gets or sets whether this type contract is serialized as a reference.
+
+ Whether this type contract is serialized as a reference.
+
+
+
+ Gets or sets the default for this contract.
+
+ The converter.
+
+
+
+ Gets or sets all methods called immediately after deserialization of the object.
+
+ The methods called immediately after deserialization of the object.
+
+
+
+ Gets or sets all methods called during deserialization of the object.
+
+ The methods called during deserialization of the object.
+
+
+
+ Gets or sets all methods called after serialization of the object graph.
+
+ The methods called after serialization of the object graph.
+
+
+
+ Gets or sets all methods called before serialization of the object.
+
+ The methods called before serialization of the object.
+
+
+
+ Gets or sets all method called when an error is thrown during the serialization of the object.
+
+ The methods called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the method called immediately after deserialization of the object.
+
+ The method called immediately after deserialization of the object.
+
+
+
+ Gets or sets the method called during deserialization of the object.
+
+ The method called during deserialization of the object.
+
+
+
+ Gets or sets the method called after serialization of the object graph.
+
+ The method called after serialization of the object graph.
+
+
+
+ Gets or sets the method called before serialization of the object.
+
+ The method called before serialization of the object.
+
+
+
+ Gets or sets the method called when an error is thrown during the serialization of the object.
+
+ The method called when an error is thrown during the serialization of the object.
+
+
+
+ Gets or sets the default creator method used to create the object.
+
+ The default creator method used to create the object.
+
+
+
+ Gets or sets a value indicating whether the default creator is non public.
+
+ true if the default object creator is non-public; otherwise, false.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the property name resolver.
+
+ The property name resolver.
+
+
+
+ Gets or sets the dictionary key resolver.
+
+ The dictionary key resolver.
+
+
+
+ Gets the of the dictionary keys.
+
+ The of the dictionary keys.
+
+
+
+ Gets the of the dictionary values.
+
+ The of the dictionary values.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+
+ The function used to create the object.
+
+
+
+ Gets a value indicating whether the creator has a parameter with the dictionary values.
+
+ true if the creator has a parameter with the dictionary values; otherwise, false.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets the object's properties.
+
+ The object's properties.
+
+
+
+ Gets or sets the property name resolver.
+
+ The property name resolver.
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Gets or sets the object member serialization.
+
+ The member object serialization.
+
+
+
+ Gets or sets a value that indicates whether the object's properties are required.
+
+
+ A value indicating whether the object's properties are required.
+
+
+
+
+ Gets the object's properties.
+
+ The object's properties.
+
+
+
+ Gets the constructor parameters required for any non-default constructor
+
+
+
+
+ Gets a collection of instances that define the parameters used with .
+
+
+
+
+ Gets or sets the override constructor used to create the object.
+ This is set when a constructor is marked up using the
+ JsonConstructor attribute.
+
+ The override constructor.
+
+
+
+ Gets or sets the parametrized constructor used to create the object.
+
+ The parametrized constructor.
+
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+ This function is called with a collection of arguments which are defined by the collection.
+
+ The function used to create the object.
+
+
+
+ Gets or sets the extension data setter.
+
+
+
+
+ Gets or sets the extension data getter.
+
+
+
+
+ Gets or sets the extension data value type.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Maps a JSON property to a .NET member or constructor parameter.
+
+
+
+
+ Gets or sets the name of the property.
+
+ The name of the property.
+
+
+
+ Gets or sets the type that declared this property.
+
+ The type that declared this property.
+
+
+
+ Gets or sets the order of serialization of a member.
+
+ The numeric order of serialization.
+
+
+
+ Gets or sets the name of the underlying member or parameter.
+
+ The name of the underlying member or parameter.
+
+
+
+ Gets the that will get and set the during serialization.
+
+ The that will get and set the during serialization.
+
+
+
+ Gets or sets the for this property.
+
+ The for this property.
+
+
+
+ Gets or sets the type of the property.
+
+ The type of the property.
+
+
+
+ Gets or sets the for the property.
+ If set this converter takes presidence over the contract converter for the property type.
+
+ The converter.
+
+
+
+ Gets or sets the member converter.
+
+ The member converter.
+
+
+
+ Gets or sets a value indicating whether this is ignored.
+
+ true if ignored; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is readable.
+
+ true if readable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this is writable.
+
+ true if writable; otherwise, false.
+
+
+
+ Gets or sets a value indicating whether this has a member attribute.
+
+ true if has a member attribute; otherwise, false.
+
+
+
+ Gets the default value.
+
+ The default value.
+
+
+
+ Gets or sets a value indicating whether this is required.
+
+ A value indicating whether this is required.
+
+
+
+ Gets or sets a value indicating whether this property preserves object references.
+
+
+ true if this instance is reference; otherwise, false.
+
+
+
+
+ Gets or sets the property null value handling.
+
+ The null value handling.
+
+
+
+ Gets or sets the property default value handling.
+
+ The default value handling.
+
+
+
+ Gets or sets the property reference loop handling.
+
+ The reference loop handling.
+
+
+
+ Gets or sets the property object creation handling.
+
+ The object creation handling.
+
+
+
+ Gets or sets or sets the type name handling.
+
+ The type name handling.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialize.
+
+ A predicate used to determine whether the property should be serialize.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be deserialized.
+
+ A predicate used to determine whether the property should be deserialized.
+
+
+
+ Gets or sets a predicate used to determine whether the property should be serialized.
+
+ A predicate used to determine whether the property should be serialized.
+
+
+
+ Gets or sets an action used to set whether the property has been deserialized.
+
+ An action used to set whether the property has been deserialized.
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets or sets the converter used when serializing the property's collection items.
+
+ The collection's items converter.
+
+
+
+ Gets or sets whether this property's collection items are serialized as a reference.
+
+ Whether this property's collection items are serialized as a reference.
+
+
+
+ Gets or sets the the type name handling used when serializing the property's collection items.
+
+ The collection's items type name handling.
+
+
+
+ Gets or sets the the reference loop handling used when serializing the property's collection items.
+
+ The collection's items reference loop handling.
+
+
+
+ A collection of objects.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type.
+
+
+
+ When implemented in a derived class, extracts the key from the specified element.
+
+ The element from which to extract the key.
+ The key for the specified element.
+
+
+
+ Adds a object.
+
+ The property to add to the collection.
+
+
+
+ Gets the closest matching object.
+ First attempts to get an exact case match of propertyName and then
+ a case insensitive match.
+
+ Name of the property.
+ A matching property if found.
+
+
+
+ Gets a property by property name.
+
+ The name of the property to get.
+ Type property name string comparison.
+ A matching property if found.
+
+
+
+ Contract details for a used by the .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The underlying type for the contract.
+
+
+
+ Lookup and create an instance of the JsonConverter type described by the argument.
+
+ The JsonConverter type to create.
+ Optional arguments to pass to an initializing constructor of the JsonConverter.
+ If null, the default constructor is used.
+
+
+
+ Represents a trace writer that writes to memory. When the trace message limit is
+ reached then old trace messages will be removed as new messages are added.
+
+
+
+
+ Gets the that will be used to filter the trace messages passed to the writer.
+ For example a filter level of Info
will exclude Verbose
messages and include Info
,
+ Warning
and Error
messages.
+
+
+ The that will be used to filter the trace messages passed to the writer.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Writes the specified trace level, message and optional exception.
+
+ The at which to write this trace.
+ The trace message.
+ The trace exception. This parameter is optional.
+
+
+
+ Returns an enumeration of the most recent trace messages.
+
+ An enumeration of the most recent trace messages.
+
+
+
+ Returns a of the most recent trace messages.
+
+
+ A of the most recent trace messages.
+
+
+
+
+ A base class for resolving how property names and dictionary keys are serialized.
+
+
+
+
+ A flag indicating whether dictionary keys should be processed.
+ Defaults to false.
+
+
+
+
+ A flag indicating whether explicitly specified property names,
+ e.g. a property name customized with a , should be processed.
+ Defaults to false.
+
+
+
+
+ Gets the serialized name for a given property name.
+
+ The initial property name.
+ A flag indicating whether the property has had a name explicitly specfied.
+ The serialized property name.
+
+
+
+ Gets the serialized key for a given dictionary key.
+
+ The initial dictionary key.
+ The serialized dictionary key.
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Represents a method that constructs an object.
+
+ The object type to create.
+
+
+
+ When applied to a method, specifies that the method is called when an error occurs serializing an object.
+
+
+
+
+ Provides methods to get attributes from a , , or .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The instance to get attributes for. This parameter should be a , , or .
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Get and set values for a using reflection.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The member info.
+
+
+
+ Sets the value.
+
+ The target to set the value on.
+ The value to set on the target.
+
+
+
+ Gets the value.
+
+ The target to get the value from.
+ The value.
+
+
+
+ A snake case naming strategy.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ A flag indicating whether dictionary keys should be processed.
+
+
+ A flag indicating whether explicitly specified property names should be processed,
+ e.g. a property name customized with a .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves the specified property name.
+
+ The property name to resolve.
+ The resolved property name.
+
+
+
+ Specifies how strings are escaped when writing JSON text.
+
+
+
+
+ Only control characters (e.g. newline) are escaped.
+
+
+
+
+ All non-ASCII and control characters (e.g. newline) are escaped.
+
+
+
+
+ HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
+
+
+
+
+ Specifies what messages to output for the class.
+
+
+
+
+ Output no tracing and debugging messages.
+
+
+
+
+ Output error-handling messages.
+
+
+
+
+ Output warnings and error-handling messages.
+
+
+
+
+ Output informational messages, warnings, and error-handling messages.
+
+
+
+
+ Output all debugging and tracing messages.
+
+
+
+
+ Specifies type name handling options for the .
+
+
+ should be used with caution when your application deserializes JSON from an external source.
+ Incoming types should be validated with a custom
+ when deserializing with a value other than TypeNameHandling.None.
+
+
+
+
+ Do not include the .NET type name when serializing types.
+
+
+
+
+ Include the .NET type name when serializing into a JSON object structure.
+
+
+
+
+ Include the .NET type name when serializing into a JSON array structure.
+
+
+
+
+ Always include the .NET type name when serializing.
+
+
+
+
+ Include the .NET type name when the type of the object being serialized is not the same as its declared type.
+
+
+
+
+ Determines whether the collection is null or empty.
+
+ The collection.
+
+ true if the collection is null or empty; otherwise, false.
+
+
+
+
+ Adds the elements of the specified collection to the specified generic IList.
+
+ The list to add to.
+ The collection of elements to add.
+
+
+
+ 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.
+
+
+
+
+ Specifies the state of the .
+
+
+
+
+ An exception has been thrown, which has left the in an invalid state.
+ You may call the method to put the in the Closed state.
+ Any other method calls results in an being thrown.
+
+
+
+
+ The method has been called.
+
+
+
+
+ An object is being written.
+
+
+
+
+ A array is being written.
+
+
+
+
+ A constructor is being written.
+
+
+
+
+ A property is being written.
+
+
+
+
+ A write method has not been called.
+
+
+
+
+ Indicates the method that will be used during deserialization for locating and loading assemblies.
+
+
+
+
+ In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly.
+
+
+
+
+ In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly.
+
+
+
+
diff --git a/packages/Newtonsoft.Json.9.0.1/tools/install.ps1 b/packages/Newtonsoft.Json.9.0.1/tools/install.ps1
new file mode 100644
index 0000000..0cebb5e
--- /dev/null
+++ b/packages/Newtonsoft.Json.9.0.1/tools/install.ps1
@@ -0,0 +1,116 @@
+param($installPath, $toolsPath, $package, $project)
+
+# open json.net splash page on package install
+# don't open if json.net is installed as a dependency
+
+try
+{
+ $url = "http://www.newtonsoft.com/json/install?version=" + $package.Version
+ $dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
+
+ if ($dte2.ActiveWindow.Caption -eq "Package Manager Console")
+ {
+ # user is installing from VS NuGet console
+ # get reference to the window, the console host and the input history
+ # show webpage if "install-package newtonsoft.json" was last input
+
+ $consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow])
+
+ $props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor `
+ [System.Reflection.BindingFlags]::NonPublic)
+
+ $prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1
+ if ($prop -eq $null) { return }
+
+ $hostInfo = $prop.GetValue($consoleWindow)
+ if ($hostInfo -eq $null) { return }
+
+ $history = $hostInfo.WpfConsole.InputHistory.History
+
+ $lastCommand = $history | select -last 1
+
+ if ($lastCommand)
+ {
+ $lastCommand = $lastCommand.Trim().ToLower()
+ if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json"))
+ {
+ $dte2.ItemOperations.Navigate($url) | Out-Null
+ }
+ }
+ }
+ else
+ {
+ # user is installing from VS NuGet dialog
+ # get reference to the window, then smart output console provider
+ # show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation
+
+ $instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor `
+ [System.Reflection.BindingFlags]::NonPublic)
+
+ $consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor `
+ [System.Reflection.BindingFlags]::NonPublic)
+
+ if ($instanceField -eq $null -or $consoleField -eq $null) { return }
+
+ $instance = $instanceField.GetValue($null)
+
+ if ($instance -eq $null) { return }
+
+ $consoleProvider = $consoleField.GetValue($instance)
+ if ($consoleProvider -eq $null) { return }
+
+ $console = $consoleProvider.CreateOutputConsole($false)
+
+ $messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor `
+ [System.Reflection.BindingFlags]::NonPublic)
+ if ($messagesField -eq $null) { return }
+
+ $messages = $messagesField.GetValue($console)
+ if ($messages -eq $null) { return }
+
+ $operations = $messages -split "=============================="
+
+ $lastOperation = $operations | select -last 1
+
+ if ($lastOperation)
+ {
+ $lastOperation = $lastOperation.ToLower()
+
+ $lines = $lastOperation -split "`r`n"
+
+ $installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1
+
+ if ($installMatch)
+ {
+ $dte2.ItemOperations.Navigate($url) | Out-Null
+ }
+ }
+ }
+}
+catch
+{
+ try
+ {
+ $pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager")
+
+ $selection = $pmPane.TextDocument.Selection
+ $selection.StartOfDocument($false)
+ $selection.EndOfDocument($true)
+
+ if ($selection.Text.StartsWith("Attempting to gather dependencies information for package 'Newtonsoft.Json." + $package.Version + "'"))
+ {
+ # don't show on upgrade
+ if (!$selection.Text.Contains("Removed package"))
+ {
+ $dte2.ItemOperations.Navigate($url) | Out-Null
+ }
+ }
+ }
+ catch
+ {
+ # stop potential errors from bubbling up
+ # worst case the splash page won't open
+ }
+}
+
+# still yolo
\ No newline at end of file
diff --git a/packages/Prism.Core.6.2.0/Prism.Core.6.2.0.nupkg b/packages/Prism.Core.6.2.0/Prism.Core.6.2.0.nupkg
new file mode 100644
index 0000000..43214d6
Binary files /dev/null and b/packages/Prism.Core.6.2.0/Prism.Core.6.2.0.nupkg differ
diff --git a/packages/Prism.Core.6.2.0/lib/MonoAndroid10/Prism.dll b/packages/Prism.Core.6.2.0/lib/MonoAndroid10/Prism.dll
new file mode 100644
index 0000000..7c64324
Binary files /dev/null and b/packages/Prism.Core.6.2.0/lib/MonoAndroid10/Prism.dll differ
diff --git a/packages/Prism.Core.6.2.0/lib/MonoAndroid10/Prism.xml b/packages/Prism.Core.6.2.0/lib/MonoAndroid10/Prism.xml
new file mode 100644
index 0000000..d625846
--- /dev/null
+++ b/packages/Prism.Core.6.2.0/lib/MonoAndroid10/Prism.xml
@@ -0,0 +1,1304 @@
+
+
+
+ Prism
+
+
+
+
+ The CompositeCommand composes one or more ICommands.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ Indicates when the command activity is going to be monitored.
+
+
+
+ Adds a command to the collection and signs up for the event of it.
+
+
+ If this command is set to monitor command activity, and
+ implements the interface, this method will subscribe to its
+ event.
+
+ The command to register.
+
+
+
+ Removes a command from the collection and removes itself from the event of it.
+
+ The command to unregister.
+
+
+
+ Forwards to the registered commands and returns
+ if all of the commands return .
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+ if all of the commands return ; otherwise, .
+
+
+
+ Occurs when any of the registered commands raise .
+
+
+
+
+ Forwards to the registered commands.
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+
+
+
+ Evaluates if a command should execute.
+
+ The command to evaluate.
+ A value indicating whether the command should be used
+ when evaluating and .
+
+ If this command is set to monitor command activity, and
+ implements the interface,
+ this method will return if the command's
+ property is ; otherwise it always returns .
+
+
+
+ Gets the list of all the registered commands.
+
+ A list of registered commands.
+ This returns a copy of the commands subscribed to the CompositeCommand.
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Handler for IsActiveChanged events of registered commands.
+
+ The sender.
+ EventArgs to pass to the event.
+
+
+
+ An whose delegates can be attached for and .
+
+ Parameter type.
+
+ The constructor deliberately prevents the use of value types.
+ Because ICommand takes an object, having a value type for T would cause unexpected behavior when CanExecute(null) is called during XAML initialization for command bindings.
+ Using default(T) was considered and rejected as a solution because the implementor would not be able to distinguish between a valid and defaulted values.
+
+ Instead, callers should support a value type by using a nullable value type and checking the HasValue property before using the Value property.
+
+
+ public MyClass()
+ {
+ this.submitCommand = new DelegateCommand<int?>(this.Submit, this.CanSubmit);
+ }
+
+ private bool CanSubmit(int? customerId)
+ {
+ return (customerId.HasValue && customers.Contains(customerId.Value));
+ }
+
+
+
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ will always return true.
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ When both and ar .
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Determines if the command can execute by invoked the provided during construction.
+
+ Data used by the command to determine if it can execute.
+
+ if this command can be executed; otherwise, .
+
+
+
+
+ Executes the command and invokes the provided during construction.
+
+ Data used by the command.
+
+
+
+ An whose delegates do not take any parameters for and .
+
+
+
+
+
+
+ Creates a new instance of with the to invoke on execution.
+
+ The to invoke when is called.
+
+
+
+ Creates a new instance of with the to invoke on execution
+ and a to query for determining if the command can execute.
+
+ The to invoke when is called.
+ The to invoke when is called
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Executes the command.
+
+
+
+
+ Determines if the command can be executed.
+
+ Returns if the command can execute, otherwise returns .
+
+
+
+ An whose delegates can be attached for and .
+
+
+
+
+ Creates a new instance of a , specifying both the execute action and the can execute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Creates a new instance of a , specifying both the Execute action as an awaitable Task and the CanExecute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute.
+
+
+
+
+ Raises so every
+ command invoker can requery .
+
+
+
+
+ Raises so every command invoker
+ can requery to check if the command can execute.
+ Note that this will trigger the execution of once for each invoker.
+
+
+
+
+ Executes the command with the provided parameter by invoking the supplied during construction.
+
+
+
+
+
+ Determines if the command can execute with the provided parameter by invoking the supplied during construction.
+
+ The parameter to use when determining if this command can execute.
+ Returns if the command can execute. otherwise.
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Fired if the property changes.
+
+
+
+
+ This raises the event.
+
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Generic arguments class to pass to event handlers that need to receive data.
+
+ The type of data to pass.
+
+
+
+ Initializes the DataEventArgs class.
+
+ Information related to the event.
+
+
+
+ Gets the information related to the event.
+
+ Information related to the event.
+
+
+
+ Represents a reference to a that may contain a
+ to the target. This class is used
+ internally by the Prism Library.
+
+
+
+
+ Initializes a new instance of .
+
+ The original to create a reference for.
+ If the class will create a weak reference to the delegate, allowing it to be garbage collected. Otherwise it will keep a strong reference to the target.
+ If the passed is not assignable to .
+
+
+
+ Gets the (the target) referenced by the current object.
+
+ if the object referenced by the current object has been garbage collected; otherwise, a reference to the referenced by the current object.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Implements .
+
+
+
+
+ Gets the single instance of the event managed by this EventAggregator. Multiple calls to this method with the same returns the same event instance.
+
+ The type of event to get. This must inherit from .
+ A singleton instance of an event object of type .
+
+
+
+ Defines a base class to publish and subscribe to events.
+
+
+
+
+ Allows the SynchronizationContext to be set by the EventAggregator for UI Thread Dispatching
+
+
+
+
+ Gets the list of current subscriptions.
+
+ The current subscribers.
+
+
+
+ Adds the specified to the subscribers' collection.
+
+ The subscriber.
+ The that uniquely identifies every subscriber.
+
+ Adds the subscription to the internal list and assigns it a new .
+
+
+
+
+ Calls all the execution strategies exposed by the list of .
+
+ The arguments that will be passed to the listeners.
+ Before executing the strategies, this class will prune all the subscribers from the
+ list that return a when calling the
+ method.
+
+
+
+ Removes the subscriber matching the .
+
+ The returned by while subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The returned by while subscribing to the event.
+ if there is a that matches; otherwise .
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If is no longer valid because it was
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds a hard reference to the target
+ delegates. As long as the returned delegate is not garbage collected,
+ the references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ An is thrown if is null.
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If or are no longer valid because they were
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds hard references to the and target
+ delegates. As long as the returned delegate is not garbage collected,
+ the and references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ The payload to pass while invoking it.
+ An is thrown if is null.
+
+
+
+ Represents a reference to a .
+
+
+
+
+ Gets the referenced object.
+
+ A instance if the target is valid; otherwise .
+
+
+
+ Defines an interface to get instances of an event type.
+
+
+
+
+ Gets an instance of an event type.
+
+ The type of event to get.
+ An instance of an event object of type .
+
+
+
+ Defines a contract for an event subscription to be used by .
+
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+ The type of message that will be passed to the subscribers.
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ Filter to evaluate if the subscriber should receive the event.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+ Message to pass to the subscribers.
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Subscription token returned from on subscribe.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ if the current object is equal to the parameter; otherwise, .
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+
+ true if the specified is equal to the current ; otherwise, false.
+
+ The to compare with the current .
+ The parameter is null.2
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+ 2
+
+
+
+ Disposes the SubscriptionToken, removing the subscription from the corresponding .
+
+
+
+
+ Specifies on which thread a subscriber will be called.
+
+
+
+
+ The call is done on the same thread on which the was published.
+
+
+
+
+ The call is done on the UI thread.
+
+
+
+
+ The call is done asynchronously on a background thread.
+
+
+
+
+ Interface that defines if the object instance is active
+ and notifies when the activity changes.
+
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Notifies that the value for property has changed.
+
+
+
+
+ Defines values for the categories used by .
+
+
+
+
+ Debug category.
+
+
+
+
+ Exception category.
+
+
+
+
+ Informational category.
+
+
+
+
+ Warning category.
+
+
+
+
+ Implementation of that logs into a message into the Debug.Listeners collection.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Implementation of that does nothing. This
+ implementation is useful when the application does not need logging
+ but there are infrastructure pieces that assume there is a logger.
+
+
+
+
+ This method does nothing.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines a simple logger façade to be used by the Prism Library.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines values for the priorities used by .
+
+
+
+
+ No priority specified.
+
+
+
+
+ High priority entry.
+
+
+
+
+ Medium priority entry.
+
+
+
+
+ Low priority entry.
+
+
+
+
+ Implementation of to simplify models.
+
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Checks if a property already matches a desired value. Sets the property and
+ notifies listeners only when necessary.
+
+ Type of the property.
+ Reference to a property with both getter and setter.
+ Desired value for the property.
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers that
+ support CallerMemberName.
+ True if the value was changed, false if the existing value matched the
+ desired value.
+
+
+
+ Notifies listeners that a property value has changed.
+
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers
+ that support .
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The type of the property that has a new value
+ A Lambda expression representing the property that has a new value.
+
+
+
+ Manages validation errors for an object, notifying when the error state changes.
+
+ The type of the error object.
+
+
+
+ Initializes a new instance of the class.
+
+ The action that invoked if when errors are added for an object./>
+ event.
+
+
+
+ Gets a value indicating whether the object has validation errors.
+
+
+
+
+ Gets the validation errors for a specified property.
+
+ The name of the property.
+ The validation errors of type for the property.
+
+
+
+ Clears the errors for the property indicated by the property expression.
+
+ The property type.
+ The expression indicating a property.
+
+ container.ClearErrors(()=>SomeProperty);
+
+
+
+
+ Clears the errors for a property.
+
+ The name of th property for which to clear errors.
+
+ container.ClearErrors("SomeProperty");
+
+
+
+
+ Sets the validation errors for the specified property.
+
+ The property type for which to set errors.
+ The indicating the property.
+ The list of errors to set for the property.
+
+
+
+ Sets the validation errors for the specified property.
+
+
+ If a change is detected then the errors changed event is raised.
+
+ The name of the property.
+ The new validation errors.
+
+
+
+ Provides support for extracting property information based on a property expression.
+
+
+
+
+ Extracts the property name from a property expression.
+
+ The object type containing the property specified in the expression.
+ The property expression (e.g. p => p.PropertyName)
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ Not a
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ Extracts the property name from a LambdaExpression.
+
+ The LambdaExpression
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ The ViewModelLocationProvider class locates the view model for the view that has the AutoWireViewModelChanged attached property set to true.
+ The view model will be located and injected into the view's DataContext. To locate the view, two strategies are used: First the ViewModelLocationProvider
+ will look to see if there is a view model factory registered for that view, if not it will try to infer the view model using a convention based approach.
+ This class also provide methods for registering the view model factories,
+ and also to override the default view model factory and the default view type to view model type resolver.
+
+
+
+
+ A dictionary that contains all the registered factories for the views.
+
+
+
+
+ A dictionary that contains all the registered ViewModel types for the views.
+
+
+
+
+ The default view model factory which provides the ViewModel type as a parameter.
+
+
+
+
+ ViewModelfactory that provides the View instance and ViewModel type as parameters.
+
+
+
+
+ Default view type to view model type resolver, assumes the view model is in same assembly as the view type, but in the "ViewModels" namespace.
+
+
+
+
+ Sets the default view model factory.
+
+ The view model factory which provides the ViewModel type as a parameter.
+
+
+
+ Sets the default view model factory.
+
+ The view model factory that provides the View instance and ViewModel type as parameters.
+
+
+
+ Sets the default view type to view model type resolver.
+
+ The view type to view model type resolver.
+
+
+
+ Automatically looks up the viewmodel that corresponds to the current view, using two strategies:
+ It first looks to see if there is a mapping registered for that view, if not it will fallback to the convention based approach.
+
+ The dependency object, typically a view.
+ The call back to use to create the binding between the View and ViewModel
+
+
+
+ Gets the view model for the specified view.
+
+ The view that the view model wants.
+ The ViewModel that corresponds to the view passed as a parameter.
+
+
+
+ Gets the ViewModel type for the specified view.
+
+ The View that the ViewModel wants.
+ The ViewModel type that corresponds to the View.
+
+
+
+ Registers the ViewModel factory for the specified view type.
+
+ The View
+ The ViewModel factory.
+
+
+
+ Registers the ViewModel factory for the specified view type name.
+
+ The name of the view type.
+ The ViewModel factory.
+
+
+
+ Registers a ViewModel type for the specified view type.
+
+ The View
+ The ViewModel
+
+
+
+ Registers a ViewModel type for the specified view.
+
+ The View type name
+ The ViewModel type
+
+
+
+ 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 Cannot register a CompositeCommand in itself..
+
+
+
+
+ Looks up a localized string similar to Cannot register the same command twice in the same CompositeCommand..
+
+
+
+
+ Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}..
+
+
+
+
+ Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null..
+
+
+
+
+ Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable..
+
+
+
+
+ Looks up a localized string similar to To use the UIThread option for subscribing, the EventAggregator must be constructed on the UI thread..
+
+
+
+
+ Looks up a localized string similar to Invalid Delegate Reference Type Exception.
+
+
+
+
+ Looks up a localized string similar to The entity does not contain a property with that name.
+
+
+
+
+ Looks up a localized string similar to The member access expression does not access a property..
+
+
+
+
+ Looks up a localized string similar to The expression is not a member access expression..
+
+
+
+
+ Looks up a localized string similar to The referenced property is a static property..
+
+
+
+
diff --git a/packages/Prism.Core.6.2.0/lib/MonoTouch10/Prism.dll b/packages/Prism.Core.6.2.0/lib/MonoTouch10/Prism.dll
new file mode 100644
index 0000000..7c64324
Binary files /dev/null and b/packages/Prism.Core.6.2.0/lib/MonoTouch10/Prism.dll differ
diff --git a/packages/Prism.Core.6.2.0/lib/MonoTouch10/Prism.xml b/packages/Prism.Core.6.2.0/lib/MonoTouch10/Prism.xml
new file mode 100644
index 0000000..d625846
--- /dev/null
+++ b/packages/Prism.Core.6.2.0/lib/MonoTouch10/Prism.xml
@@ -0,0 +1,1304 @@
+
+
+
+ Prism
+
+
+
+
+ The CompositeCommand composes one or more ICommands.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ Indicates when the command activity is going to be monitored.
+
+
+
+ Adds a command to the collection and signs up for the event of it.
+
+
+ If this command is set to monitor command activity, and
+ implements the interface, this method will subscribe to its
+ event.
+
+ The command to register.
+
+
+
+ Removes a command from the collection and removes itself from the event of it.
+
+ The command to unregister.
+
+
+
+ Forwards to the registered commands and returns
+ if all of the commands return .
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+ if all of the commands return ; otherwise, .
+
+
+
+ Occurs when any of the registered commands raise .
+
+
+
+
+ Forwards to the registered commands.
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+
+
+
+ Evaluates if a command should execute.
+
+ The command to evaluate.
+ A value indicating whether the command should be used
+ when evaluating and .
+
+ If this command is set to monitor command activity, and
+ implements the interface,
+ this method will return if the command's
+ property is ; otherwise it always returns .
+
+
+
+ Gets the list of all the registered commands.
+
+ A list of registered commands.
+ This returns a copy of the commands subscribed to the CompositeCommand.
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Handler for IsActiveChanged events of registered commands.
+
+ The sender.
+ EventArgs to pass to the event.
+
+
+
+ An whose delegates can be attached for and .
+
+ Parameter type.
+
+ The constructor deliberately prevents the use of value types.
+ Because ICommand takes an object, having a value type for T would cause unexpected behavior when CanExecute(null) is called during XAML initialization for command bindings.
+ Using default(T) was considered and rejected as a solution because the implementor would not be able to distinguish between a valid and defaulted values.
+
+ Instead, callers should support a value type by using a nullable value type and checking the HasValue property before using the Value property.
+
+
+ public MyClass()
+ {
+ this.submitCommand = new DelegateCommand<int?>(this.Submit, this.CanSubmit);
+ }
+
+ private bool CanSubmit(int? customerId)
+ {
+ return (customerId.HasValue && customers.Contains(customerId.Value));
+ }
+
+
+
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ will always return true.
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ When both and ar .
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Determines if the command can execute by invoked the provided during construction.
+
+ Data used by the command to determine if it can execute.
+
+ if this command can be executed; otherwise, .
+
+
+
+
+ Executes the command and invokes the provided during construction.
+
+ Data used by the command.
+
+
+
+ An whose delegates do not take any parameters for and .
+
+
+
+
+
+
+ Creates a new instance of with the to invoke on execution.
+
+ The to invoke when is called.
+
+
+
+ Creates a new instance of with the to invoke on execution
+ and a to query for determining if the command can execute.
+
+ The to invoke when is called.
+ The to invoke when is called
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Executes the command.
+
+
+
+
+ Determines if the command can be executed.
+
+ Returns if the command can execute, otherwise returns .
+
+
+
+ An whose delegates can be attached for and .
+
+
+
+
+ Creates a new instance of a , specifying both the execute action and the can execute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Creates a new instance of a , specifying both the Execute action as an awaitable Task and the CanExecute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute.
+
+
+
+
+ Raises so every
+ command invoker can requery .
+
+
+
+
+ Raises so every command invoker
+ can requery to check if the command can execute.
+ Note that this will trigger the execution of once for each invoker.
+
+
+
+
+ Executes the command with the provided parameter by invoking the supplied during construction.
+
+
+
+
+
+ Determines if the command can execute with the provided parameter by invoking the supplied during construction.
+
+ The parameter to use when determining if this command can execute.
+ Returns if the command can execute. otherwise.
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Fired if the property changes.
+
+
+
+
+ This raises the event.
+
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Generic arguments class to pass to event handlers that need to receive data.
+
+ The type of data to pass.
+
+
+
+ Initializes the DataEventArgs class.
+
+ Information related to the event.
+
+
+
+ Gets the information related to the event.
+
+ Information related to the event.
+
+
+
+ Represents a reference to a that may contain a
+ to the target. This class is used
+ internally by the Prism Library.
+
+
+
+
+ Initializes a new instance of .
+
+ The original to create a reference for.
+ If the class will create a weak reference to the delegate, allowing it to be garbage collected. Otherwise it will keep a strong reference to the target.
+ If the passed is not assignable to .
+
+
+
+ Gets the (the target) referenced by the current object.
+
+ if the object referenced by the current object has been garbage collected; otherwise, a reference to the referenced by the current object.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Implements .
+
+
+
+
+ Gets the single instance of the event managed by this EventAggregator. Multiple calls to this method with the same returns the same event instance.
+
+ The type of event to get. This must inherit from .
+ A singleton instance of an event object of type .
+
+
+
+ Defines a base class to publish and subscribe to events.
+
+
+
+
+ Allows the SynchronizationContext to be set by the EventAggregator for UI Thread Dispatching
+
+
+
+
+ Gets the list of current subscriptions.
+
+ The current subscribers.
+
+
+
+ Adds the specified to the subscribers' collection.
+
+ The subscriber.
+ The that uniquely identifies every subscriber.
+
+ Adds the subscription to the internal list and assigns it a new .
+
+
+
+
+ Calls all the execution strategies exposed by the list of .
+
+ The arguments that will be passed to the listeners.
+ Before executing the strategies, this class will prune all the subscribers from the
+ list that return a when calling the
+ method.
+
+
+
+ Removes the subscriber matching the .
+
+ The returned by while subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The returned by while subscribing to the event.
+ if there is a that matches; otherwise .
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If is no longer valid because it was
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds a hard reference to the target
+ delegates. As long as the returned delegate is not garbage collected,
+ the references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ An is thrown if is null.
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If or are no longer valid because they were
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds hard references to the and target
+ delegates. As long as the returned delegate is not garbage collected,
+ the and references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ The payload to pass while invoking it.
+ An is thrown if is null.
+
+
+
+ Represents a reference to a .
+
+
+
+
+ Gets the referenced object.
+
+ A instance if the target is valid; otherwise .
+
+
+
+ Defines an interface to get instances of an event type.
+
+
+
+
+ Gets an instance of an event type.
+
+ The type of event to get.
+ An instance of an event object of type .
+
+
+
+ Defines a contract for an event subscription to be used by .
+
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+ The type of message that will be passed to the subscribers.
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ Filter to evaluate if the subscriber should receive the event.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+ Message to pass to the subscribers.
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Subscription token returned from on subscribe.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ if the current object is equal to the parameter; otherwise, .
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+
+ true if the specified is equal to the current ; otherwise, false.
+
+ The to compare with the current .
+ The parameter is null.2
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+ 2
+
+
+
+ Disposes the SubscriptionToken, removing the subscription from the corresponding .
+
+
+
+
+ Specifies on which thread a subscriber will be called.
+
+
+
+
+ The call is done on the same thread on which the was published.
+
+
+
+
+ The call is done on the UI thread.
+
+
+
+
+ The call is done asynchronously on a background thread.
+
+
+
+
+ Interface that defines if the object instance is active
+ and notifies when the activity changes.
+
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Notifies that the value for property has changed.
+
+
+
+
+ Defines values for the categories used by .
+
+
+
+
+ Debug category.
+
+
+
+
+ Exception category.
+
+
+
+
+ Informational category.
+
+
+
+
+ Warning category.
+
+
+
+
+ Implementation of that logs into a message into the Debug.Listeners collection.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Implementation of that does nothing. This
+ implementation is useful when the application does not need logging
+ but there are infrastructure pieces that assume there is a logger.
+
+
+
+
+ This method does nothing.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines a simple logger façade to be used by the Prism Library.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines values for the priorities used by .
+
+
+
+
+ No priority specified.
+
+
+
+
+ High priority entry.
+
+
+
+
+ Medium priority entry.
+
+
+
+
+ Low priority entry.
+
+
+
+
+ Implementation of to simplify models.
+
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Checks if a property already matches a desired value. Sets the property and
+ notifies listeners only when necessary.
+
+ Type of the property.
+ Reference to a property with both getter and setter.
+ Desired value for the property.
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers that
+ support CallerMemberName.
+ True if the value was changed, false if the existing value matched the
+ desired value.
+
+
+
+ Notifies listeners that a property value has changed.
+
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers
+ that support .
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The type of the property that has a new value
+ A Lambda expression representing the property that has a new value.
+
+
+
+ Manages validation errors for an object, notifying when the error state changes.
+
+ The type of the error object.
+
+
+
+ Initializes a new instance of the class.
+
+ The action that invoked if when errors are added for an object./>
+ event.
+
+
+
+ Gets a value indicating whether the object has validation errors.
+
+
+
+
+ Gets the validation errors for a specified property.
+
+ The name of the property.
+ The validation errors of type for the property.
+
+
+
+ Clears the errors for the property indicated by the property expression.
+
+ The property type.
+ The expression indicating a property.
+
+ container.ClearErrors(()=>SomeProperty);
+
+
+
+
+ Clears the errors for a property.
+
+ The name of th property for which to clear errors.
+
+ container.ClearErrors("SomeProperty");
+
+
+
+
+ Sets the validation errors for the specified property.
+
+ The property type for which to set errors.
+ The indicating the property.
+ The list of errors to set for the property.
+
+
+
+ Sets the validation errors for the specified property.
+
+
+ If a change is detected then the errors changed event is raised.
+
+ The name of the property.
+ The new validation errors.
+
+
+
+ Provides support for extracting property information based on a property expression.
+
+
+
+
+ Extracts the property name from a property expression.
+
+ The object type containing the property specified in the expression.
+ The property expression (e.g. p => p.PropertyName)
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ Not a
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ Extracts the property name from a LambdaExpression.
+
+ The LambdaExpression
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ The ViewModelLocationProvider class locates the view model for the view that has the AutoWireViewModelChanged attached property set to true.
+ The view model will be located and injected into the view's DataContext. To locate the view, two strategies are used: First the ViewModelLocationProvider
+ will look to see if there is a view model factory registered for that view, if not it will try to infer the view model using a convention based approach.
+ This class also provide methods for registering the view model factories,
+ and also to override the default view model factory and the default view type to view model type resolver.
+
+
+
+
+ A dictionary that contains all the registered factories for the views.
+
+
+
+
+ A dictionary that contains all the registered ViewModel types for the views.
+
+
+
+
+ The default view model factory which provides the ViewModel type as a parameter.
+
+
+
+
+ ViewModelfactory that provides the View instance and ViewModel type as parameters.
+
+
+
+
+ Default view type to view model type resolver, assumes the view model is in same assembly as the view type, but in the "ViewModels" namespace.
+
+
+
+
+ Sets the default view model factory.
+
+ The view model factory which provides the ViewModel type as a parameter.
+
+
+
+ Sets the default view model factory.
+
+ The view model factory that provides the View instance and ViewModel type as parameters.
+
+
+
+ Sets the default view type to view model type resolver.
+
+ The view type to view model type resolver.
+
+
+
+ Automatically looks up the viewmodel that corresponds to the current view, using two strategies:
+ It first looks to see if there is a mapping registered for that view, if not it will fallback to the convention based approach.
+
+ The dependency object, typically a view.
+ The call back to use to create the binding between the View and ViewModel
+
+
+
+ Gets the view model for the specified view.
+
+ The view that the view model wants.
+ The ViewModel that corresponds to the view passed as a parameter.
+
+
+
+ Gets the ViewModel type for the specified view.
+
+ The View that the ViewModel wants.
+ The ViewModel type that corresponds to the View.
+
+
+
+ Registers the ViewModel factory for the specified view type.
+
+ The View
+ The ViewModel factory.
+
+
+
+ Registers the ViewModel factory for the specified view type name.
+
+ The name of the view type.
+ The ViewModel factory.
+
+
+
+ Registers a ViewModel type for the specified view type.
+
+ The View
+ The ViewModel
+
+
+
+ Registers a ViewModel type for the specified view.
+
+ The View type name
+ The ViewModel type
+
+
+
+ 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 Cannot register a CompositeCommand in itself..
+
+
+
+
+ Looks up a localized string similar to Cannot register the same command twice in the same CompositeCommand..
+
+
+
+
+ Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}..
+
+
+
+
+ Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null..
+
+
+
+
+ Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable..
+
+
+
+
+ Looks up a localized string similar to To use the UIThread option for subscribing, the EventAggregator must be constructed on the UI thread..
+
+
+
+
+ Looks up a localized string similar to Invalid Delegate Reference Type Exception.
+
+
+
+
+ Looks up a localized string similar to The entity does not contain a property with that name.
+
+
+
+
+ Looks up a localized string similar to The member access expression does not access a property..
+
+
+
+
+ Looks up a localized string similar to The expression is not a member access expression..
+
+
+
+
+ Looks up a localized string similar to The referenced property is a static property..
+
+
+
+
diff --git a/packages/Prism.Core.6.2.0/lib/Xamarin.iOS10/Prism.dll b/packages/Prism.Core.6.2.0/lib/Xamarin.iOS10/Prism.dll
new file mode 100644
index 0000000..7c64324
Binary files /dev/null and b/packages/Prism.Core.6.2.0/lib/Xamarin.iOS10/Prism.dll differ
diff --git a/packages/Prism.Core.6.2.0/lib/Xamarin.iOS10/Prism.xml b/packages/Prism.Core.6.2.0/lib/Xamarin.iOS10/Prism.xml
new file mode 100644
index 0000000..d625846
--- /dev/null
+++ b/packages/Prism.Core.6.2.0/lib/Xamarin.iOS10/Prism.xml
@@ -0,0 +1,1304 @@
+
+
+
+ Prism
+
+
+
+
+ The CompositeCommand composes one or more ICommands.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ Indicates when the command activity is going to be monitored.
+
+
+
+ Adds a command to the collection and signs up for the event of it.
+
+
+ If this command is set to monitor command activity, and
+ implements the interface, this method will subscribe to its
+ event.
+
+ The command to register.
+
+
+
+ Removes a command from the collection and removes itself from the event of it.
+
+ The command to unregister.
+
+
+
+ Forwards to the registered commands and returns
+ if all of the commands return .
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+ if all of the commands return ; otherwise, .
+
+
+
+ Occurs when any of the registered commands raise .
+
+
+
+
+ Forwards to the registered commands.
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+
+
+
+ Evaluates if a command should execute.
+
+ The command to evaluate.
+ A value indicating whether the command should be used
+ when evaluating and .
+
+ If this command is set to monitor command activity, and
+ implements the interface,
+ this method will return if the command's
+ property is ; otherwise it always returns .
+
+
+
+ Gets the list of all the registered commands.
+
+ A list of registered commands.
+ This returns a copy of the commands subscribed to the CompositeCommand.
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Handler for IsActiveChanged events of registered commands.
+
+ The sender.
+ EventArgs to pass to the event.
+
+
+
+ An whose delegates can be attached for and .
+
+ Parameter type.
+
+ The constructor deliberately prevents the use of value types.
+ Because ICommand takes an object, having a value type for T would cause unexpected behavior when CanExecute(null) is called during XAML initialization for command bindings.
+ Using default(T) was considered and rejected as a solution because the implementor would not be able to distinguish between a valid and defaulted values.
+
+ Instead, callers should support a value type by using a nullable value type and checking the HasValue property before using the Value property.
+
+
+ public MyClass()
+ {
+ this.submitCommand = new DelegateCommand<int?>(this.Submit, this.CanSubmit);
+ }
+
+ private bool CanSubmit(int? customerId)
+ {
+ return (customerId.HasValue && customers.Contains(customerId.Value));
+ }
+
+
+
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ will always return true.
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ When both and ar .
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Determines if the command can execute by invoked the provided during construction.
+
+ Data used by the command to determine if it can execute.
+
+ if this command can be executed; otherwise, .
+
+
+
+
+ Executes the command and invokes the provided during construction.
+
+ Data used by the command.
+
+
+
+ An whose delegates do not take any parameters for and .
+
+
+
+
+
+
+ Creates a new instance of with the to invoke on execution.
+
+ The to invoke when is called.
+
+
+
+ Creates a new instance of with the to invoke on execution
+ and a to query for determining if the command can execute.
+
+ The to invoke when is called.
+ The to invoke when is called
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Executes the command.
+
+
+
+
+ Determines if the command can be executed.
+
+ Returns if the command can execute, otherwise returns .
+
+
+
+ An whose delegates can be attached for and .
+
+
+
+
+ Creates a new instance of a , specifying both the execute action and the can execute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Creates a new instance of a , specifying both the Execute action as an awaitable Task and the CanExecute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute.
+
+
+
+
+ Raises so every
+ command invoker can requery .
+
+
+
+
+ Raises so every command invoker
+ can requery to check if the command can execute.
+ Note that this will trigger the execution of once for each invoker.
+
+
+
+
+ Executes the command with the provided parameter by invoking the supplied during construction.
+
+
+
+
+
+ Determines if the command can execute with the provided parameter by invoking the supplied during construction.
+
+ The parameter to use when determining if this command can execute.
+ Returns if the command can execute. otherwise.
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Fired if the property changes.
+
+
+
+
+ This raises the event.
+
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Generic arguments class to pass to event handlers that need to receive data.
+
+ The type of data to pass.
+
+
+
+ Initializes the DataEventArgs class.
+
+ Information related to the event.
+
+
+
+ Gets the information related to the event.
+
+ Information related to the event.
+
+
+
+ Represents a reference to a that may contain a
+ to the target. This class is used
+ internally by the Prism Library.
+
+
+
+
+ Initializes a new instance of .
+
+ The original to create a reference for.
+ If the class will create a weak reference to the delegate, allowing it to be garbage collected. Otherwise it will keep a strong reference to the target.
+ If the passed is not assignable to .
+
+
+
+ Gets the (the target) referenced by the current object.
+
+ if the object referenced by the current object has been garbage collected; otherwise, a reference to the referenced by the current object.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Implements .
+
+
+
+
+ Gets the single instance of the event managed by this EventAggregator. Multiple calls to this method with the same returns the same event instance.
+
+ The type of event to get. This must inherit from .
+ A singleton instance of an event object of type .
+
+
+
+ Defines a base class to publish and subscribe to events.
+
+
+
+
+ Allows the SynchronizationContext to be set by the EventAggregator for UI Thread Dispatching
+
+
+
+
+ Gets the list of current subscriptions.
+
+ The current subscribers.
+
+
+
+ Adds the specified to the subscribers' collection.
+
+ The subscriber.
+ The that uniquely identifies every subscriber.
+
+ Adds the subscription to the internal list and assigns it a new .
+
+
+
+
+ Calls all the execution strategies exposed by the list of .
+
+ The arguments that will be passed to the listeners.
+ Before executing the strategies, this class will prune all the subscribers from the
+ list that return a when calling the
+ method.
+
+
+
+ Removes the subscriber matching the .
+
+ The returned by while subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The returned by while subscribing to the event.
+ if there is a that matches; otherwise .
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If is no longer valid because it was
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds a hard reference to the target
+ delegates. As long as the returned delegate is not garbage collected,
+ the references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ An is thrown if is null.
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If or are no longer valid because they were
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds hard references to the and target
+ delegates. As long as the returned delegate is not garbage collected,
+ the and references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ The payload to pass while invoking it.
+ An is thrown if is null.
+
+
+
+ Represents a reference to a .
+
+
+
+
+ Gets the referenced object.
+
+ A instance if the target is valid; otherwise .
+
+
+
+ Defines an interface to get instances of an event type.
+
+
+
+
+ Gets an instance of an event type.
+
+ The type of event to get.
+ An instance of an event object of type .
+
+
+
+ Defines a contract for an event subscription to be used by .
+
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+ The type of message that will be passed to the subscribers.
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ Filter to evaluate if the subscriber should receive the event.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+ Message to pass to the subscribers.
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Subscription token returned from on subscribe.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ if the current object is equal to the parameter; otherwise, .
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+
+ true if the specified is equal to the current ; otherwise, false.
+
+ The to compare with the current .
+ The parameter is null.2
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+ 2
+
+
+
+ Disposes the SubscriptionToken, removing the subscription from the corresponding .
+
+
+
+
+ Specifies on which thread a subscriber will be called.
+
+
+
+
+ The call is done on the same thread on which the was published.
+
+
+
+
+ The call is done on the UI thread.
+
+
+
+
+ The call is done asynchronously on a background thread.
+
+
+
+
+ Interface that defines if the object instance is active
+ and notifies when the activity changes.
+
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Notifies that the value for property has changed.
+
+
+
+
+ Defines values for the categories used by .
+
+
+
+
+ Debug category.
+
+
+
+
+ Exception category.
+
+
+
+
+ Informational category.
+
+
+
+
+ Warning category.
+
+
+
+
+ Implementation of that logs into a message into the Debug.Listeners collection.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Implementation of that does nothing. This
+ implementation is useful when the application does not need logging
+ but there are infrastructure pieces that assume there is a logger.
+
+
+
+
+ This method does nothing.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines a simple logger façade to be used by the Prism Library.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines values for the priorities used by .
+
+
+
+
+ No priority specified.
+
+
+
+
+ High priority entry.
+
+
+
+
+ Medium priority entry.
+
+
+
+
+ Low priority entry.
+
+
+
+
+ Implementation of to simplify models.
+
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Checks if a property already matches a desired value. Sets the property and
+ notifies listeners only when necessary.
+
+ Type of the property.
+ Reference to a property with both getter and setter.
+ Desired value for the property.
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers that
+ support CallerMemberName.
+ True if the value was changed, false if the existing value matched the
+ desired value.
+
+
+
+ Notifies listeners that a property value has changed.
+
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers
+ that support .
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The type of the property that has a new value
+ A Lambda expression representing the property that has a new value.
+
+
+
+ Manages validation errors for an object, notifying when the error state changes.
+
+ The type of the error object.
+
+
+
+ Initializes a new instance of the class.
+
+ The action that invoked if when errors are added for an object./>
+ event.
+
+
+
+ Gets a value indicating whether the object has validation errors.
+
+
+
+
+ Gets the validation errors for a specified property.
+
+ The name of the property.
+ The validation errors of type for the property.
+
+
+
+ Clears the errors for the property indicated by the property expression.
+
+ The property type.
+ The expression indicating a property.
+
+ container.ClearErrors(()=>SomeProperty);
+
+
+
+
+ Clears the errors for a property.
+
+ The name of th property for which to clear errors.
+
+ container.ClearErrors("SomeProperty");
+
+
+
+
+ Sets the validation errors for the specified property.
+
+ The property type for which to set errors.
+ The indicating the property.
+ The list of errors to set for the property.
+
+
+
+ Sets the validation errors for the specified property.
+
+
+ If a change is detected then the errors changed event is raised.
+
+ The name of the property.
+ The new validation errors.
+
+
+
+ Provides support for extracting property information based on a property expression.
+
+
+
+
+ Extracts the property name from a property expression.
+
+ The object type containing the property specified in the expression.
+ The property expression (e.g. p => p.PropertyName)
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ Not a
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ Extracts the property name from a LambdaExpression.
+
+ The LambdaExpression
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ The ViewModelLocationProvider class locates the view model for the view that has the AutoWireViewModelChanged attached property set to true.
+ The view model will be located and injected into the view's DataContext. To locate the view, two strategies are used: First the ViewModelLocationProvider
+ will look to see if there is a view model factory registered for that view, if not it will try to infer the view model using a convention based approach.
+ This class also provide methods for registering the view model factories,
+ and also to override the default view model factory and the default view type to view model type resolver.
+
+
+
+
+ A dictionary that contains all the registered factories for the views.
+
+
+
+
+ A dictionary that contains all the registered ViewModel types for the views.
+
+
+
+
+ The default view model factory which provides the ViewModel type as a parameter.
+
+
+
+
+ ViewModelfactory that provides the View instance and ViewModel type as parameters.
+
+
+
+
+ Default view type to view model type resolver, assumes the view model is in same assembly as the view type, but in the "ViewModels" namespace.
+
+
+
+
+ Sets the default view model factory.
+
+ The view model factory which provides the ViewModel type as a parameter.
+
+
+
+ Sets the default view model factory.
+
+ The view model factory that provides the View instance and ViewModel type as parameters.
+
+
+
+ Sets the default view type to view model type resolver.
+
+ The view type to view model type resolver.
+
+
+
+ Automatically looks up the viewmodel that corresponds to the current view, using two strategies:
+ It first looks to see if there is a mapping registered for that view, if not it will fallback to the convention based approach.
+
+ The dependency object, typically a view.
+ The call back to use to create the binding between the View and ViewModel
+
+
+
+ Gets the view model for the specified view.
+
+ The view that the view model wants.
+ The ViewModel that corresponds to the view passed as a parameter.
+
+
+
+ Gets the ViewModel type for the specified view.
+
+ The View that the ViewModel wants.
+ The ViewModel type that corresponds to the View.
+
+
+
+ Registers the ViewModel factory for the specified view type.
+
+ The View
+ The ViewModel factory.
+
+
+
+ Registers the ViewModel factory for the specified view type name.
+
+ The name of the view type.
+ The ViewModel factory.
+
+
+
+ Registers a ViewModel type for the specified view type.
+
+ The View
+ The ViewModel
+
+
+
+ Registers a ViewModel type for the specified view.
+
+ The View type name
+ The ViewModel type
+
+
+
+ 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 Cannot register a CompositeCommand in itself..
+
+
+
+
+ Looks up a localized string similar to Cannot register the same command twice in the same CompositeCommand..
+
+
+
+
+ Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}..
+
+
+
+
+ Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null..
+
+
+
+
+ Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable..
+
+
+
+
+ Looks up a localized string similar to To use the UIThread option for subscribing, the EventAggregator must be constructed on the UI thread..
+
+
+
+
+ Looks up a localized string similar to Invalid Delegate Reference Type Exception.
+
+
+
+
+ Looks up a localized string similar to The entity does not contain a property with that name.
+
+
+
+
+ Looks up a localized string similar to The member access expression does not access a property..
+
+
+
+
+ Looks up a localized string similar to The expression is not a member access expression..
+
+
+
+
+ Looks up a localized string similar to The referenced property is a static property..
+
+
+
+
diff --git a/packages/Prism.Core.6.2.0/lib/net45/Prism.dll b/packages/Prism.Core.6.2.0/lib/net45/Prism.dll
new file mode 100644
index 0000000..7c64324
Binary files /dev/null and b/packages/Prism.Core.6.2.0/lib/net45/Prism.dll differ
diff --git a/packages/Prism.Core.6.2.0/lib/net45/Prism.xml b/packages/Prism.Core.6.2.0/lib/net45/Prism.xml
new file mode 100644
index 0000000..d625846
--- /dev/null
+++ b/packages/Prism.Core.6.2.0/lib/net45/Prism.xml
@@ -0,0 +1,1304 @@
+
+
+
+ Prism
+
+
+
+
+ The CompositeCommand composes one or more ICommands.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ Indicates when the command activity is going to be monitored.
+
+
+
+ Adds a command to the collection and signs up for the event of it.
+
+
+ If this command is set to monitor command activity, and
+ implements the interface, this method will subscribe to its
+ event.
+
+ The command to register.
+
+
+
+ Removes a command from the collection and removes itself from the event of it.
+
+ The command to unregister.
+
+
+
+ Forwards to the registered commands and returns
+ if all of the commands return .
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+ if all of the commands return ; otherwise, .
+
+
+
+ Occurs when any of the registered commands raise .
+
+
+
+
+ Forwards to the registered commands.
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+
+
+
+ Evaluates if a command should execute.
+
+ The command to evaluate.
+ A value indicating whether the command should be used
+ when evaluating and .
+
+ If this command is set to monitor command activity, and
+ implements the interface,
+ this method will return if the command's
+ property is ; otherwise it always returns .
+
+
+
+ Gets the list of all the registered commands.
+
+ A list of registered commands.
+ This returns a copy of the commands subscribed to the CompositeCommand.
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Handler for IsActiveChanged events of registered commands.
+
+ The sender.
+ EventArgs to pass to the event.
+
+
+
+ An whose delegates can be attached for and .
+
+ Parameter type.
+
+ The constructor deliberately prevents the use of value types.
+ Because ICommand takes an object, having a value type for T would cause unexpected behavior when CanExecute(null) is called during XAML initialization for command bindings.
+ Using default(T) was considered and rejected as a solution because the implementor would not be able to distinguish between a valid and defaulted values.
+
+ Instead, callers should support a value type by using a nullable value type and checking the HasValue property before using the Value property.
+
+
+ public MyClass()
+ {
+ this.submitCommand = new DelegateCommand<int?>(this.Submit, this.CanSubmit);
+ }
+
+ private bool CanSubmit(int? customerId)
+ {
+ return (customerId.HasValue && customers.Contains(customerId.Value));
+ }
+
+
+
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ will always return true.
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ When both and ar .
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Determines if the command can execute by invoked the provided during construction.
+
+ Data used by the command to determine if it can execute.
+
+ if this command can be executed; otherwise, .
+
+
+
+
+ Executes the command and invokes the provided during construction.
+
+ Data used by the command.
+
+
+
+ An whose delegates do not take any parameters for and .
+
+
+
+
+
+
+ Creates a new instance of with the to invoke on execution.
+
+ The to invoke when is called.
+
+
+
+ Creates a new instance of with the to invoke on execution
+ and a to query for determining if the command can execute.
+
+ The to invoke when is called.
+ The to invoke when is called
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Executes the command.
+
+
+
+
+ Determines if the command can be executed.
+
+ Returns if the command can execute, otherwise returns .
+
+
+
+ An whose delegates can be attached for and .
+
+
+
+
+ Creates a new instance of a , specifying both the execute action and the can execute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Creates a new instance of a , specifying both the Execute action as an awaitable Task and the CanExecute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute.
+
+
+
+
+ Raises so every
+ command invoker can requery .
+
+
+
+
+ Raises so every command invoker
+ can requery to check if the command can execute.
+ Note that this will trigger the execution of once for each invoker.
+
+
+
+
+ Executes the command with the provided parameter by invoking the supplied during construction.
+
+
+
+
+
+ Determines if the command can execute with the provided parameter by invoking the supplied during construction.
+
+ The parameter to use when determining if this command can execute.
+ Returns if the command can execute. otherwise.
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Fired if the property changes.
+
+
+
+
+ This raises the event.
+
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Generic arguments class to pass to event handlers that need to receive data.
+
+ The type of data to pass.
+
+
+
+ Initializes the DataEventArgs class.
+
+ Information related to the event.
+
+
+
+ Gets the information related to the event.
+
+ Information related to the event.
+
+
+
+ Represents a reference to a that may contain a
+ to the target. This class is used
+ internally by the Prism Library.
+
+
+
+
+ Initializes a new instance of .
+
+ The original to create a reference for.
+ If the class will create a weak reference to the delegate, allowing it to be garbage collected. Otherwise it will keep a strong reference to the target.
+ If the passed is not assignable to .
+
+
+
+ Gets the (the target) referenced by the current object.
+
+ if the object referenced by the current object has been garbage collected; otherwise, a reference to the referenced by the current object.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Implements .
+
+
+
+
+ Gets the single instance of the event managed by this EventAggregator. Multiple calls to this method with the same returns the same event instance.
+
+ The type of event to get. This must inherit from .
+ A singleton instance of an event object of type .
+
+
+
+ Defines a base class to publish and subscribe to events.
+
+
+
+
+ Allows the SynchronizationContext to be set by the EventAggregator for UI Thread Dispatching
+
+
+
+
+ Gets the list of current subscriptions.
+
+ The current subscribers.
+
+
+
+ Adds the specified to the subscribers' collection.
+
+ The subscriber.
+ The that uniquely identifies every subscriber.
+
+ Adds the subscription to the internal list and assigns it a new .
+
+
+
+
+ Calls all the execution strategies exposed by the list of .
+
+ The arguments that will be passed to the listeners.
+ Before executing the strategies, this class will prune all the subscribers from the
+ list that return a when calling the
+ method.
+
+
+
+ Removes the subscriber matching the .
+
+ The returned by while subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The returned by while subscribing to the event.
+ if there is a that matches; otherwise .
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If is no longer valid because it was
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds a hard reference to the target
+ delegates. As long as the returned delegate is not garbage collected,
+ the references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ An is thrown if is null.
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If or are no longer valid because they were
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds hard references to the and target
+ delegates. As long as the returned delegate is not garbage collected,
+ the and references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ The payload to pass while invoking it.
+ An is thrown if is null.
+
+
+
+ Represents a reference to a .
+
+
+
+
+ Gets the referenced object.
+
+ A instance if the target is valid; otherwise .
+
+
+
+ Defines an interface to get instances of an event type.
+
+
+
+
+ Gets an instance of an event type.
+
+ The type of event to get.
+ An instance of an event object of type .
+
+
+
+ Defines a contract for an event subscription to be used by .
+
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+ The type of message that will be passed to the subscribers.
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ Filter to evaluate if the subscriber should receive the event.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+ Message to pass to the subscribers.
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Subscription token returned from on subscribe.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ if the current object is equal to the parameter; otherwise, .
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+
+ true if the specified is equal to the current ; otherwise, false.
+
+ The to compare with the current .
+ The parameter is null.2
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+ 2
+
+
+
+ Disposes the SubscriptionToken, removing the subscription from the corresponding .
+
+
+
+
+ Specifies on which thread a subscriber will be called.
+
+
+
+
+ The call is done on the same thread on which the was published.
+
+
+
+
+ The call is done on the UI thread.
+
+
+
+
+ The call is done asynchronously on a background thread.
+
+
+
+
+ Interface that defines if the object instance is active
+ and notifies when the activity changes.
+
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Notifies that the value for property has changed.
+
+
+
+
+ Defines values for the categories used by .
+
+
+
+
+ Debug category.
+
+
+
+
+ Exception category.
+
+
+
+
+ Informational category.
+
+
+
+
+ Warning category.
+
+
+
+
+ Implementation of that logs into a message into the Debug.Listeners collection.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Implementation of that does nothing. This
+ implementation is useful when the application does not need logging
+ but there are infrastructure pieces that assume there is a logger.
+
+
+
+
+ This method does nothing.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines a simple logger façade to be used by the Prism Library.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines values for the priorities used by .
+
+
+
+
+ No priority specified.
+
+
+
+
+ High priority entry.
+
+
+
+
+ Medium priority entry.
+
+
+
+
+ Low priority entry.
+
+
+
+
+ Implementation of to simplify models.
+
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Checks if a property already matches a desired value. Sets the property and
+ notifies listeners only when necessary.
+
+ Type of the property.
+ Reference to a property with both getter and setter.
+ Desired value for the property.
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers that
+ support CallerMemberName.
+ True if the value was changed, false if the existing value matched the
+ desired value.
+
+
+
+ Notifies listeners that a property value has changed.
+
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers
+ that support .
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The type of the property that has a new value
+ A Lambda expression representing the property that has a new value.
+
+
+
+ Manages validation errors for an object, notifying when the error state changes.
+
+ The type of the error object.
+
+
+
+ Initializes a new instance of the class.
+
+ The action that invoked if when errors are added for an object./>
+ event.
+
+
+
+ Gets a value indicating whether the object has validation errors.
+
+
+
+
+ Gets the validation errors for a specified property.
+
+ The name of the property.
+ The validation errors of type for the property.
+
+
+
+ Clears the errors for the property indicated by the property expression.
+
+ The property type.
+ The expression indicating a property.
+
+ container.ClearErrors(()=>SomeProperty);
+
+
+
+
+ Clears the errors for a property.
+
+ The name of th property for which to clear errors.
+
+ container.ClearErrors("SomeProperty");
+
+
+
+
+ Sets the validation errors for the specified property.
+
+ The property type for which to set errors.
+ The indicating the property.
+ The list of errors to set for the property.
+
+
+
+ Sets the validation errors for the specified property.
+
+
+ If a change is detected then the errors changed event is raised.
+
+ The name of the property.
+ The new validation errors.
+
+
+
+ Provides support for extracting property information based on a property expression.
+
+
+
+
+ Extracts the property name from a property expression.
+
+ The object type containing the property specified in the expression.
+ The property expression (e.g. p => p.PropertyName)
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ Not a
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ Extracts the property name from a LambdaExpression.
+
+ The LambdaExpression
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ The ViewModelLocationProvider class locates the view model for the view that has the AutoWireViewModelChanged attached property set to true.
+ The view model will be located and injected into the view's DataContext. To locate the view, two strategies are used: First the ViewModelLocationProvider
+ will look to see if there is a view model factory registered for that view, if not it will try to infer the view model using a convention based approach.
+ This class also provide methods for registering the view model factories,
+ and also to override the default view model factory and the default view type to view model type resolver.
+
+
+
+
+ A dictionary that contains all the registered factories for the views.
+
+
+
+
+ A dictionary that contains all the registered ViewModel types for the views.
+
+
+
+
+ The default view model factory which provides the ViewModel type as a parameter.
+
+
+
+
+ ViewModelfactory that provides the View instance and ViewModel type as parameters.
+
+
+
+
+ Default view type to view model type resolver, assumes the view model is in same assembly as the view type, but in the "ViewModels" namespace.
+
+
+
+
+ Sets the default view model factory.
+
+ The view model factory which provides the ViewModel type as a parameter.
+
+
+
+ Sets the default view model factory.
+
+ The view model factory that provides the View instance and ViewModel type as parameters.
+
+
+
+ Sets the default view type to view model type resolver.
+
+ The view type to view model type resolver.
+
+
+
+ Automatically looks up the viewmodel that corresponds to the current view, using two strategies:
+ It first looks to see if there is a mapping registered for that view, if not it will fallback to the convention based approach.
+
+ The dependency object, typically a view.
+ The call back to use to create the binding between the View and ViewModel
+
+
+
+ Gets the view model for the specified view.
+
+ The view that the view model wants.
+ The ViewModel that corresponds to the view passed as a parameter.
+
+
+
+ Gets the ViewModel type for the specified view.
+
+ The View that the ViewModel wants.
+ The ViewModel type that corresponds to the View.
+
+
+
+ Registers the ViewModel factory for the specified view type.
+
+ The View
+ The ViewModel factory.
+
+
+
+ Registers the ViewModel factory for the specified view type name.
+
+ The name of the view type.
+ The ViewModel factory.
+
+
+
+ Registers a ViewModel type for the specified view type.
+
+ The View
+ The ViewModel
+
+
+
+ Registers a ViewModel type for the specified view.
+
+ The View type name
+ The ViewModel type
+
+
+
+ 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 Cannot register a CompositeCommand in itself..
+
+
+
+
+ Looks up a localized string similar to Cannot register the same command twice in the same CompositeCommand..
+
+
+
+
+ Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}..
+
+
+
+
+ Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null..
+
+
+
+
+ Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable..
+
+
+
+
+ Looks up a localized string similar to To use the UIThread option for subscribing, the EventAggregator must be constructed on the UI thread..
+
+
+
+
+ Looks up a localized string similar to Invalid Delegate Reference Type Exception.
+
+
+
+
+ Looks up a localized string similar to The entity does not contain a property with that name.
+
+
+
+
+ Looks up a localized string similar to The member access expression does not access a property..
+
+
+
+
+ Looks up a localized string similar to The expression is not a member access expression..
+
+
+
+
+ Looks up a localized string similar to The referenced property is a static property..
+
+
+
+
diff --git a/packages/Prism.Core.6.2.0/lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Prism.dll b/packages/Prism.Core.6.2.0/lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Prism.dll
new file mode 100644
index 0000000..7c64324
Binary files /dev/null and b/packages/Prism.Core.6.2.0/lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Prism.dll differ
diff --git a/packages/Prism.Core.6.2.0/lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Prism.xml b/packages/Prism.Core.6.2.0/lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Prism.xml
new file mode 100644
index 0000000..d625846
--- /dev/null
+++ b/packages/Prism.Core.6.2.0/lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Prism.xml
@@ -0,0 +1,1304 @@
+
+
+
+ Prism
+
+
+
+
+ The CompositeCommand composes one or more ICommands.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ Indicates when the command activity is going to be monitored.
+
+
+
+ Adds a command to the collection and signs up for the event of it.
+
+
+ If this command is set to monitor command activity, and
+ implements the interface, this method will subscribe to its
+ event.
+
+ The command to register.
+
+
+
+ Removes a command from the collection and removes itself from the event of it.
+
+ The command to unregister.
+
+
+
+ Forwards to the registered commands and returns
+ if all of the commands return .
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+ if all of the commands return ; otherwise, .
+
+
+
+ Occurs when any of the registered commands raise .
+
+
+
+
+ Forwards to the registered commands.
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+
+
+
+ Evaluates if a command should execute.
+
+ The command to evaluate.
+ A value indicating whether the command should be used
+ when evaluating and .
+
+ If this command is set to monitor command activity, and
+ implements the interface,
+ this method will return if the command's
+ property is ; otherwise it always returns .
+
+
+
+ Gets the list of all the registered commands.
+
+ A list of registered commands.
+ This returns a copy of the commands subscribed to the CompositeCommand.
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Handler for IsActiveChanged events of registered commands.
+
+ The sender.
+ EventArgs to pass to the event.
+
+
+
+ An whose delegates can be attached for and .
+
+ Parameter type.
+
+ The constructor deliberately prevents the use of value types.
+ Because ICommand takes an object, having a value type for T would cause unexpected behavior when CanExecute(null) is called during XAML initialization for command bindings.
+ Using default(T) was considered and rejected as a solution because the implementor would not be able to distinguish between a valid and defaulted values.
+
+ Instead, callers should support a value type by using a nullable value type and checking the HasValue property before using the Value property.
+
+
+ public MyClass()
+ {
+ this.submitCommand = new DelegateCommand<int?>(this.Submit, this.CanSubmit);
+ }
+
+ private bool CanSubmit(int? customerId)
+ {
+ return (customerId.HasValue && customers.Contains(customerId.Value));
+ }
+
+
+
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ will always return true.
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ When both and ar .
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Determines if the command can execute by invoked the provided during construction.
+
+ Data used by the command to determine if it can execute.
+
+ if this command can be executed; otherwise, .
+
+
+
+
+ Executes the command and invokes the provided during construction.
+
+ Data used by the command.
+
+
+
+ An whose delegates do not take any parameters for and .
+
+
+
+
+
+
+ Creates a new instance of with the to invoke on execution.
+
+ The to invoke when is called.
+
+
+
+ Creates a new instance of with the to invoke on execution
+ and a to query for determining if the command can execute.
+
+ The to invoke when is called.
+ The to invoke when is called
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Executes the command.
+
+
+
+
+ Determines if the command can be executed.
+
+ Returns if the command can execute, otherwise returns .
+
+
+
+ An whose delegates can be attached for and .
+
+
+
+
+ Creates a new instance of a , specifying both the execute action and the can execute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Creates a new instance of a , specifying both the Execute action as an awaitable Task and the CanExecute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute.
+
+
+
+
+ Raises so every
+ command invoker can requery .
+
+
+
+
+ Raises so every command invoker
+ can requery to check if the command can execute.
+ Note that this will trigger the execution of once for each invoker.
+
+
+
+
+ Executes the command with the provided parameter by invoking the supplied during construction.
+
+
+
+
+
+ Determines if the command can execute with the provided parameter by invoking the supplied during construction.
+
+ The parameter to use when determining if this command can execute.
+ Returns if the command can execute. otherwise.
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Fired if the property changes.
+
+
+
+
+ This raises the event.
+
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Generic arguments class to pass to event handlers that need to receive data.
+
+ The type of data to pass.
+
+
+
+ Initializes the DataEventArgs class.
+
+ Information related to the event.
+
+
+
+ Gets the information related to the event.
+
+ Information related to the event.
+
+
+
+ Represents a reference to a that may contain a
+ to the target. This class is used
+ internally by the Prism Library.
+
+
+
+
+ Initializes a new instance of .
+
+ The original to create a reference for.
+ If the class will create a weak reference to the delegate, allowing it to be garbage collected. Otherwise it will keep a strong reference to the target.
+ If the passed is not assignable to .
+
+
+
+ Gets the (the target) referenced by the current object.
+
+ if the object referenced by the current object has been garbage collected; otherwise, a reference to the referenced by the current object.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Implements .
+
+
+
+
+ Gets the single instance of the event managed by this EventAggregator. Multiple calls to this method with the same returns the same event instance.
+
+ The type of event to get. This must inherit from .
+ A singleton instance of an event object of type .
+
+
+
+ Defines a base class to publish and subscribe to events.
+
+
+
+
+ Allows the SynchronizationContext to be set by the EventAggregator for UI Thread Dispatching
+
+
+
+
+ Gets the list of current subscriptions.
+
+ The current subscribers.
+
+
+
+ Adds the specified to the subscribers' collection.
+
+ The subscriber.
+ The that uniquely identifies every subscriber.
+
+ Adds the subscription to the internal list and assigns it a new .
+
+
+
+
+ Calls all the execution strategies exposed by the list of .
+
+ The arguments that will be passed to the listeners.
+ Before executing the strategies, this class will prune all the subscribers from the
+ list that return a when calling the
+ method.
+
+
+
+ Removes the subscriber matching the .
+
+ The returned by while subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The returned by while subscribing to the event.
+ if there is a that matches; otherwise .
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If is no longer valid because it was
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds a hard reference to the target
+ delegates. As long as the returned delegate is not garbage collected,
+ the references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ An is thrown if is null.
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If or are no longer valid because they were
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds hard references to the and target
+ delegates. As long as the returned delegate is not garbage collected,
+ the and references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ The payload to pass while invoking it.
+ An is thrown if is null.
+
+
+
+ Represents a reference to a .
+
+
+
+
+ Gets the referenced object.
+
+ A instance if the target is valid; otherwise .
+
+
+
+ Defines an interface to get instances of an event type.
+
+
+
+
+ Gets an instance of an event type.
+
+ The type of event to get.
+ An instance of an event object of type .
+
+
+
+ Defines a contract for an event subscription to be used by .
+
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+ The type of message that will be passed to the subscribers.
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ Filter to evaluate if the subscriber should receive the event.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+ Message to pass to the subscribers.
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Subscription token returned from on subscribe.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ if the current object is equal to the parameter; otherwise, .
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+
+ true if the specified is equal to the current ; otherwise, false.
+
+ The to compare with the current .
+ The parameter is null.2
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+ 2
+
+
+
+ Disposes the SubscriptionToken, removing the subscription from the corresponding .
+
+
+
+
+ Specifies on which thread a subscriber will be called.
+
+
+
+
+ The call is done on the same thread on which the was published.
+
+
+
+
+ The call is done on the UI thread.
+
+
+
+
+ The call is done asynchronously on a background thread.
+
+
+
+
+ Interface that defines if the object instance is active
+ and notifies when the activity changes.
+
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Notifies that the value for property has changed.
+
+
+
+
+ Defines values for the categories used by .
+
+
+
+
+ Debug category.
+
+
+
+
+ Exception category.
+
+
+
+
+ Informational category.
+
+
+
+
+ Warning category.
+
+
+
+
+ Implementation of that logs into a message into the Debug.Listeners collection.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Implementation of that does nothing. This
+ implementation is useful when the application does not need logging
+ but there are infrastructure pieces that assume there is a logger.
+
+
+
+
+ This method does nothing.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines a simple logger façade to be used by the Prism Library.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines values for the priorities used by .
+
+
+
+
+ No priority specified.
+
+
+
+
+ High priority entry.
+
+
+
+
+ Medium priority entry.
+
+
+
+
+ Low priority entry.
+
+
+
+
+ Implementation of to simplify models.
+
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Checks if a property already matches a desired value. Sets the property and
+ notifies listeners only when necessary.
+
+ Type of the property.
+ Reference to a property with both getter and setter.
+ Desired value for the property.
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers that
+ support CallerMemberName.
+ True if the value was changed, false if the existing value matched the
+ desired value.
+
+
+
+ Notifies listeners that a property value has changed.
+
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers
+ that support .
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The type of the property that has a new value
+ A Lambda expression representing the property that has a new value.
+
+
+
+ Manages validation errors for an object, notifying when the error state changes.
+
+ The type of the error object.
+
+
+
+ Initializes a new instance of the class.
+
+ The action that invoked if when errors are added for an object./>
+ event.
+
+
+
+ Gets a value indicating whether the object has validation errors.
+
+
+
+
+ Gets the validation errors for a specified property.
+
+ The name of the property.
+ The validation errors of type for the property.
+
+
+
+ Clears the errors for the property indicated by the property expression.
+
+ The property type.
+ The expression indicating a property.
+
+ container.ClearErrors(()=>SomeProperty);
+
+
+
+
+ Clears the errors for a property.
+
+ The name of th property for which to clear errors.
+
+ container.ClearErrors("SomeProperty");
+
+
+
+
+ Sets the validation errors for the specified property.
+
+ The property type for which to set errors.
+ The indicating the property.
+ The list of errors to set for the property.
+
+
+
+ Sets the validation errors for the specified property.
+
+
+ If a change is detected then the errors changed event is raised.
+
+ The name of the property.
+ The new validation errors.
+
+
+
+ Provides support for extracting property information based on a property expression.
+
+
+
+
+ Extracts the property name from a property expression.
+
+ The object type containing the property specified in the expression.
+ The property expression (e.g. p => p.PropertyName)
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ Not a
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ Extracts the property name from a LambdaExpression.
+
+ The LambdaExpression
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ The ViewModelLocationProvider class locates the view model for the view that has the AutoWireViewModelChanged attached property set to true.
+ The view model will be located and injected into the view's DataContext. To locate the view, two strategies are used: First the ViewModelLocationProvider
+ will look to see if there is a view model factory registered for that view, if not it will try to infer the view model using a convention based approach.
+ This class also provide methods for registering the view model factories,
+ and also to override the default view model factory and the default view type to view model type resolver.
+
+
+
+
+ A dictionary that contains all the registered factories for the views.
+
+
+
+
+ A dictionary that contains all the registered ViewModel types for the views.
+
+
+
+
+ The default view model factory which provides the ViewModel type as a parameter.
+
+
+
+
+ ViewModelfactory that provides the View instance and ViewModel type as parameters.
+
+
+
+
+ Default view type to view model type resolver, assumes the view model is in same assembly as the view type, but in the "ViewModels" namespace.
+
+
+
+
+ Sets the default view model factory.
+
+ The view model factory which provides the ViewModel type as a parameter.
+
+
+
+ Sets the default view model factory.
+
+ The view model factory that provides the View instance and ViewModel type as parameters.
+
+
+
+ Sets the default view type to view model type resolver.
+
+ The view type to view model type resolver.
+
+
+
+ Automatically looks up the viewmodel that corresponds to the current view, using two strategies:
+ It first looks to see if there is a mapping registered for that view, if not it will fallback to the convention based approach.
+
+ The dependency object, typically a view.
+ The call back to use to create the binding between the View and ViewModel
+
+
+
+ Gets the view model for the specified view.
+
+ The view that the view model wants.
+ The ViewModel that corresponds to the view passed as a parameter.
+
+
+
+ Gets the ViewModel type for the specified view.
+
+ The View that the ViewModel wants.
+ The ViewModel type that corresponds to the View.
+
+
+
+ Registers the ViewModel factory for the specified view type.
+
+ The View
+ The ViewModel factory.
+
+
+
+ Registers the ViewModel factory for the specified view type name.
+
+ The name of the view type.
+ The ViewModel factory.
+
+
+
+ Registers a ViewModel type for the specified view type.
+
+ The View
+ The ViewModel
+
+
+
+ Registers a ViewModel type for the specified view.
+
+ The View type name
+ The ViewModel type
+
+
+
+ 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 Cannot register a CompositeCommand in itself..
+
+
+
+
+ Looks up a localized string similar to Cannot register the same command twice in the same CompositeCommand..
+
+
+
+
+ Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}..
+
+
+
+
+ Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null..
+
+
+
+
+ Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable..
+
+
+
+
+ Looks up a localized string similar to To use the UIThread option for subscribing, the EventAggregator must be constructed on the UI thread..
+
+
+
+
+ Looks up a localized string similar to Invalid Delegate Reference Type Exception.
+
+
+
+
+ Looks up a localized string similar to The entity does not contain a property with that name.
+
+
+
+
+ Looks up a localized string similar to The member access expression does not access a property..
+
+
+
+
+ Looks up a localized string similar to The expression is not a member access expression..
+
+
+
+
+ Looks up a localized string similar to The referenced property is a static property..
+
+
+
+
diff --git a/packages/Prism.Core.6.2.0/lib/wp8/Prism.dll b/packages/Prism.Core.6.2.0/lib/wp8/Prism.dll
new file mode 100644
index 0000000..7c64324
Binary files /dev/null and b/packages/Prism.Core.6.2.0/lib/wp8/Prism.dll differ
diff --git a/packages/Prism.Core.6.2.0/lib/wp8/Prism.xml b/packages/Prism.Core.6.2.0/lib/wp8/Prism.xml
new file mode 100644
index 0000000..d625846
--- /dev/null
+++ b/packages/Prism.Core.6.2.0/lib/wp8/Prism.xml
@@ -0,0 +1,1304 @@
+
+
+
+ Prism
+
+
+
+
+ The CompositeCommand composes one or more ICommands.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ Indicates when the command activity is going to be monitored.
+
+
+
+ Adds a command to the collection and signs up for the event of it.
+
+
+ If this command is set to monitor command activity, and
+ implements the interface, this method will subscribe to its
+ event.
+
+ The command to register.
+
+
+
+ Removes a command from the collection and removes itself from the event of it.
+
+ The command to unregister.
+
+
+
+ Forwards to the registered commands and returns
+ if all of the commands return .
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+ if all of the commands return ; otherwise, .
+
+
+
+ Occurs when any of the registered commands raise .
+
+
+
+
+ Forwards to the registered commands.
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+
+
+
+ Evaluates if a command should execute.
+
+ The command to evaluate.
+ A value indicating whether the command should be used
+ when evaluating and .
+
+ If this command is set to monitor command activity, and
+ implements the interface,
+ this method will return if the command's
+ property is ; otherwise it always returns .
+
+
+
+ Gets the list of all the registered commands.
+
+ A list of registered commands.
+ This returns a copy of the commands subscribed to the CompositeCommand.
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Handler for IsActiveChanged events of registered commands.
+
+ The sender.
+ EventArgs to pass to the event.
+
+
+
+ An whose delegates can be attached for and .
+
+ Parameter type.
+
+ The constructor deliberately prevents the use of value types.
+ Because ICommand takes an object, having a value type for T would cause unexpected behavior when CanExecute(null) is called during XAML initialization for command bindings.
+ Using default(T) was considered and rejected as a solution because the implementor would not be able to distinguish between a valid and defaulted values.
+
+ Instead, callers should support a value type by using a nullable value type and checking the HasValue property before using the Value property.
+
+
+ public MyClass()
+ {
+ this.submitCommand = new DelegateCommand<int?>(this.Submit, this.CanSubmit);
+ }
+
+ private bool CanSubmit(int? customerId)
+ {
+ return (customerId.HasValue && customers.Contains(customerId.Value));
+ }
+
+
+
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ will always return true.
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ When both and ar .
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Determines if the command can execute by invoked the provided during construction.
+
+ Data used by the command to determine if it can execute.
+
+ if this command can be executed; otherwise, .
+
+
+
+
+ Executes the command and invokes the provided during construction.
+
+ Data used by the command.
+
+
+
+ An whose delegates do not take any parameters for and .
+
+
+
+
+
+
+ Creates a new instance of with the to invoke on execution.
+
+ The to invoke when is called.
+
+
+
+ Creates a new instance of with the to invoke on execution
+ and a to query for determining if the command can execute.
+
+ The to invoke when is called.
+ The to invoke when is called
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Executes the command.
+
+
+
+
+ Determines if the command can be executed.
+
+ Returns if the command can execute, otherwise returns .
+
+
+
+ An whose delegates can be attached for and .
+
+
+
+
+ Creates a new instance of a , specifying both the execute action and the can execute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Creates a new instance of a , specifying both the Execute action as an awaitable Task and the CanExecute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute.
+
+
+
+
+ Raises so every
+ command invoker can requery .
+
+
+
+
+ Raises so every command invoker
+ can requery to check if the command can execute.
+ Note that this will trigger the execution of once for each invoker.
+
+
+
+
+ Executes the command with the provided parameter by invoking the supplied during construction.
+
+
+
+
+
+ Determines if the command can execute with the provided parameter by invoking the supplied during construction.
+
+ The parameter to use when determining if this command can execute.
+ Returns if the command can execute. otherwise.
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Fired if the property changes.
+
+
+
+
+ This raises the event.
+
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Generic arguments class to pass to event handlers that need to receive data.
+
+ The type of data to pass.
+
+
+
+ Initializes the DataEventArgs class.
+
+ Information related to the event.
+
+
+
+ Gets the information related to the event.
+
+ Information related to the event.
+
+
+
+ Represents a reference to a that may contain a
+ to the target. This class is used
+ internally by the Prism Library.
+
+
+
+
+ Initializes a new instance of .
+
+ The original to create a reference for.
+ If the class will create a weak reference to the delegate, allowing it to be garbage collected. Otherwise it will keep a strong reference to the target.
+ If the passed is not assignable to .
+
+
+
+ Gets the (the target) referenced by the current object.
+
+ if the object referenced by the current object has been garbage collected; otherwise, a reference to the referenced by the current object.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Implements .
+
+
+
+
+ Gets the single instance of the event managed by this EventAggregator. Multiple calls to this method with the same returns the same event instance.
+
+ The type of event to get. This must inherit from .
+ A singleton instance of an event object of type .
+
+
+
+ Defines a base class to publish and subscribe to events.
+
+
+
+
+ Allows the SynchronizationContext to be set by the EventAggregator for UI Thread Dispatching
+
+
+
+
+ Gets the list of current subscriptions.
+
+ The current subscribers.
+
+
+
+ Adds the specified to the subscribers' collection.
+
+ The subscriber.
+ The that uniquely identifies every subscriber.
+
+ Adds the subscription to the internal list and assigns it a new .
+
+
+
+
+ Calls all the execution strategies exposed by the list of .
+
+ The arguments that will be passed to the listeners.
+ Before executing the strategies, this class will prune all the subscribers from the
+ list that return a when calling the
+ method.
+
+
+
+ Removes the subscriber matching the .
+
+ The returned by while subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The returned by while subscribing to the event.
+ if there is a that matches; otherwise .
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If is no longer valid because it was
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds a hard reference to the target
+ delegates. As long as the returned delegate is not garbage collected,
+ the references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ An is thrown if is null.
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If or are no longer valid because they were
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds hard references to the and target
+ delegates. As long as the returned delegate is not garbage collected,
+ the and references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ The payload to pass while invoking it.
+ An is thrown if is null.
+
+
+
+ Represents a reference to a .
+
+
+
+
+ Gets the referenced object.
+
+ A instance if the target is valid; otherwise .
+
+
+
+ Defines an interface to get instances of an event type.
+
+
+
+
+ Gets an instance of an event type.
+
+ The type of event to get.
+ An instance of an event object of type .
+
+
+
+ Defines a contract for an event subscription to be used by .
+
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+ The type of message that will be passed to the subscribers.
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ Filter to evaluate if the subscriber should receive the event.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+ Message to pass to the subscribers.
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Subscription token returned from on subscribe.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ if the current object is equal to the parameter; otherwise, .
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+
+ true if the specified is equal to the current ; otherwise, false.
+
+ The to compare with the current .
+ The parameter is null.2
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+ 2
+
+
+
+ Disposes the SubscriptionToken, removing the subscription from the corresponding .
+
+
+
+
+ Specifies on which thread a subscriber will be called.
+
+
+
+
+ The call is done on the same thread on which the was published.
+
+
+
+
+ The call is done on the UI thread.
+
+
+
+
+ The call is done asynchronously on a background thread.
+
+
+
+
+ Interface that defines if the object instance is active
+ and notifies when the activity changes.
+
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Notifies that the value for property has changed.
+
+
+
+
+ Defines values for the categories used by .
+
+
+
+
+ Debug category.
+
+
+
+
+ Exception category.
+
+
+
+
+ Informational category.
+
+
+
+
+ Warning category.
+
+
+
+
+ Implementation of that logs into a message into the Debug.Listeners collection.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Implementation of that does nothing. This
+ implementation is useful when the application does not need logging
+ but there are infrastructure pieces that assume there is a logger.
+
+
+
+
+ This method does nothing.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines a simple logger façade to be used by the Prism Library.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines values for the priorities used by .
+
+
+
+
+ No priority specified.
+
+
+
+
+ High priority entry.
+
+
+
+
+ Medium priority entry.
+
+
+
+
+ Low priority entry.
+
+
+
+
+ Implementation of to simplify models.
+
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Checks if a property already matches a desired value. Sets the property and
+ notifies listeners only when necessary.
+
+ Type of the property.
+ Reference to a property with both getter and setter.
+ Desired value for the property.
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers that
+ support CallerMemberName.
+ True if the value was changed, false if the existing value matched the
+ desired value.
+
+
+
+ Notifies listeners that a property value has changed.
+
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers
+ that support .
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The type of the property that has a new value
+ A Lambda expression representing the property that has a new value.
+
+
+
+ Manages validation errors for an object, notifying when the error state changes.
+
+ The type of the error object.
+
+
+
+ Initializes a new instance of the class.
+
+ The action that invoked if when errors are added for an object./>
+ event.
+
+
+
+ Gets a value indicating whether the object has validation errors.
+
+
+
+
+ Gets the validation errors for a specified property.
+
+ The name of the property.
+ The validation errors of type for the property.
+
+
+
+ Clears the errors for the property indicated by the property expression.
+
+ The property type.
+ The expression indicating a property.
+
+ container.ClearErrors(()=>SomeProperty);
+
+
+
+
+ Clears the errors for a property.
+
+ The name of th property for which to clear errors.
+
+ container.ClearErrors("SomeProperty");
+
+
+
+
+ Sets the validation errors for the specified property.
+
+ The property type for which to set errors.
+ The indicating the property.
+ The list of errors to set for the property.
+
+
+
+ Sets the validation errors for the specified property.
+
+
+ If a change is detected then the errors changed event is raised.
+
+ The name of the property.
+ The new validation errors.
+
+
+
+ Provides support for extracting property information based on a property expression.
+
+
+
+
+ Extracts the property name from a property expression.
+
+ The object type containing the property specified in the expression.
+ The property expression (e.g. p => p.PropertyName)
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ Not a
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ Extracts the property name from a LambdaExpression.
+
+ The LambdaExpression
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ The ViewModelLocationProvider class locates the view model for the view that has the AutoWireViewModelChanged attached property set to true.
+ The view model will be located and injected into the view's DataContext. To locate the view, two strategies are used: First the ViewModelLocationProvider
+ will look to see if there is a view model factory registered for that view, if not it will try to infer the view model using a convention based approach.
+ This class also provide methods for registering the view model factories,
+ and also to override the default view model factory and the default view type to view model type resolver.
+
+
+
+
+ A dictionary that contains all the registered factories for the views.
+
+
+
+
+ A dictionary that contains all the registered ViewModel types for the views.
+
+
+
+
+ The default view model factory which provides the ViewModel type as a parameter.
+
+
+
+
+ ViewModelfactory that provides the View instance and ViewModel type as parameters.
+
+
+
+
+ Default view type to view model type resolver, assumes the view model is in same assembly as the view type, but in the "ViewModels" namespace.
+
+
+
+
+ Sets the default view model factory.
+
+ The view model factory which provides the ViewModel type as a parameter.
+
+
+
+ Sets the default view model factory.
+
+ The view model factory that provides the View instance and ViewModel type as parameters.
+
+
+
+ Sets the default view type to view model type resolver.
+
+ The view type to view model type resolver.
+
+
+
+ Automatically looks up the viewmodel that corresponds to the current view, using two strategies:
+ It first looks to see if there is a mapping registered for that view, if not it will fallback to the convention based approach.
+
+ The dependency object, typically a view.
+ The call back to use to create the binding between the View and ViewModel
+
+
+
+ Gets the view model for the specified view.
+
+ The view that the view model wants.
+ The ViewModel that corresponds to the view passed as a parameter.
+
+
+
+ Gets the ViewModel type for the specified view.
+
+ The View that the ViewModel wants.
+ The ViewModel type that corresponds to the View.
+
+
+
+ Registers the ViewModel factory for the specified view type.
+
+ The View
+ The ViewModel factory.
+
+
+
+ Registers the ViewModel factory for the specified view type name.
+
+ The name of the view type.
+ The ViewModel factory.
+
+
+
+ Registers a ViewModel type for the specified view type.
+
+ The View
+ The ViewModel
+
+
+
+ Registers a ViewModel type for the specified view.
+
+ The View type name
+ The ViewModel type
+
+
+
+ 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 Cannot register a CompositeCommand in itself..
+
+
+
+
+ Looks up a localized string similar to Cannot register the same command twice in the same CompositeCommand..
+
+
+
+
+ Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}..
+
+
+
+
+ Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null..
+
+
+
+
+ Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable..
+
+
+
+
+ Looks up a localized string similar to To use the UIThread option for subscribing, the EventAggregator must be constructed on the UI thread..
+
+
+
+
+ Looks up a localized string similar to Invalid Delegate Reference Type Exception.
+
+
+
+
+ Looks up a localized string similar to The entity does not contain a property with that name.
+
+
+
+
+ Looks up a localized string similar to The member access expression does not access a property..
+
+
+
+
+ Looks up a localized string similar to The expression is not a member access expression..
+
+
+
+
+ Looks up a localized string similar to The referenced property is a static property..
+
+
+
+
diff --git a/packages/Prism.Core.6.2.0/lib/wp81/Prism.dll b/packages/Prism.Core.6.2.0/lib/wp81/Prism.dll
new file mode 100644
index 0000000..7c64324
Binary files /dev/null and b/packages/Prism.Core.6.2.0/lib/wp81/Prism.dll differ
diff --git a/packages/Prism.Core.6.2.0/lib/wp81/Prism.xml b/packages/Prism.Core.6.2.0/lib/wp81/Prism.xml
new file mode 100644
index 0000000..d625846
--- /dev/null
+++ b/packages/Prism.Core.6.2.0/lib/wp81/Prism.xml
@@ -0,0 +1,1304 @@
+
+
+
+ Prism
+
+
+
+
+ The CompositeCommand composes one or more ICommands.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ Indicates when the command activity is going to be monitored.
+
+
+
+ Adds a command to the collection and signs up for the event of it.
+
+
+ If this command is set to monitor command activity, and
+ implements the interface, this method will subscribe to its
+ event.
+
+ The command to register.
+
+
+
+ Removes a command from the collection and removes itself from the event of it.
+
+ The command to unregister.
+
+
+
+ Forwards to the registered commands and returns
+ if all of the commands return .
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+ if all of the commands return ; otherwise, .
+
+
+
+ Occurs when any of the registered commands raise .
+
+
+
+
+ Forwards to the registered commands.
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+
+
+
+ Evaluates if a command should execute.
+
+ The command to evaluate.
+ A value indicating whether the command should be used
+ when evaluating and .
+
+ If this command is set to monitor command activity, and
+ implements the interface,
+ this method will return if the command's
+ property is ; otherwise it always returns .
+
+
+
+ Gets the list of all the registered commands.
+
+ A list of registered commands.
+ This returns a copy of the commands subscribed to the CompositeCommand.
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Handler for IsActiveChanged events of registered commands.
+
+ The sender.
+ EventArgs to pass to the event.
+
+
+
+ An whose delegates can be attached for and .
+
+ Parameter type.
+
+ The constructor deliberately prevents the use of value types.
+ Because ICommand takes an object, having a value type for T would cause unexpected behavior when CanExecute(null) is called during XAML initialization for command bindings.
+ Using default(T) was considered and rejected as a solution because the implementor would not be able to distinguish between a valid and defaulted values.
+
+ Instead, callers should support a value type by using a nullable value type and checking the HasValue property before using the Value property.
+
+
+ public MyClass()
+ {
+ this.submitCommand = new DelegateCommand<int?>(this.Submit, this.CanSubmit);
+ }
+
+ private bool CanSubmit(int? customerId)
+ {
+ return (customerId.HasValue && customers.Contains(customerId.Value));
+ }
+
+
+
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ will always return true.
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ When both and ar .
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Determines if the command can execute by invoked the provided during construction.
+
+ Data used by the command to determine if it can execute.
+
+ if this command can be executed; otherwise, .
+
+
+
+
+ Executes the command and invokes the provided during construction.
+
+ Data used by the command.
+
+
+
+ An whose delegates do not take any parameters for and .
+
+
+
+
+
+
+ Creates a new instance of with the to invoke on execution.
+
+ The to invoke when is called.
+
+
+
+ Creates a new instance of with the to invoke on execution
+ and a to query for determining if the command can execute.
+
+ The to invoke when is called.
+ The to invoke when is called
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Executes the command.
+
+
+
+
+ Determines if the command can be executed.
+
+ Returns if the command can execute, otherwise returns .
+
+
+
+ An whose delegates can be attached for and .
+
+
+
+
+ Creates a new instance of a , specifying both the execute action and the can execute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Creates a new instance of a , specifying both the Execute action as an awaitable Task and the CanExecute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute.
+
+
+
+
+ Raises so every
+ command invoker can requery .
+
+
+
+
+ Raises so every command invoker
+ can requery to check if the command can execute.
+ Note that this will trigger the execution of once for each invoker.
+
+
+
+
+ Executes the command with the provided parameter by invoking the supplied during construction.
+
+
+
+
+
+ Determines if the command can execute with the provided parameter by invoking the supplied during construction.
+
+ The parameter to use when determining if this command can execute.
+ Returns if the command can execute. otherwise.
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Fired if the property changes.
+
+
+
+
+ This raises the event.
+
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Generic arguments class to pass to event handlers that need to receive data.
+
+ The type of data to pass.
+
+
+
+ Initializes the DataEventArgs class.
+
+ Information related to the event.
+
+
+
+ Gets the information related to the event.
+
+ Information related to the event.
+
+
+
+ Represents a reference to a that may contain a
+ to the target. This class is used
+ internally by the Prism Library.
+
+
+
+
+ Initializes a new instance of .
+
+ The original to create a reference for.
+ If the class will create a weak reference to the delegate, allowing it to be garbage collected. Otherwise it will keep a strong reference to the target.
+ If the passed is not assignable to .
+
+
+
+ Gets the (the target) referenced by the current object.
+
+ if the object referenced by the current object has been garbage collected; otherwise, a reference to the referenced by the current object.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Implements .
+
+
+
+
+ Gets the single instance of the event managed by this EventAggregator. Multiple calls to this method with the same returns the same event instance.
+
+ The type of event to get. This must inherit from .
+ A singleton instance of an event object of type .
+
+
+
+ Defines a base class to publish and subscribe to events.
+
+
+
+
+ Allows the SynchronizationContext to be set by the EventAggregator for UI Thread Dispatching
+
+
+
+
+ Gets the list of current subscriptions.
+
+ The current subscribers.
+
+
+
+ Adds the specified to the subscribers' collection.
+
+ The subscriber.
+ The that uniquely identifies every subscriber.
+
+ Adds the subscription to the internal list and assigns it a new .
+
+
+
+
+ Calls all the execution strategies exposed by the list of .
+
+ The arguments that will be passed to the listeners.
+ Before executing the strategies, this class will prune all the subscribers from the
+ list that return a when calling the
+ method.
+
+
+
+ Removes the subscriber matching the .
+
+ The returned by while subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The returned by while subscribing to the event.
+ if there is a that matches; otherwise .
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If is no longer valid because it was
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds a hard reference to the target
+ delegates. As long as the returned delegate is not garbage collected,
+ the references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ An is thrown if is null.
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If or are no longer valid because they were
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds hard references to the and target
+ delegates. As long as the returned delegate is not garbage collected,
+ the and references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ The payload to pass while invoking it.
+ An is thrown if is null.
+
+
+
+ Represents a reference to a .
+
+
+
+
+ Gets the referenced object.
+
+ A instance if the target is valid; otherwise .
+
+
+
+ Defines an interface to get instances of an event type.
+
+
+
+
+ Gets an instance of an event type.
+
+ The type of event to get.
+ An instance of an event object of type .
+
+
+
+ Defines a contract for an event subscription to be used by .
+
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+ The type of message that will be passed to the subscribers.
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ Filter to evaluate if the subscriber should receive the event.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+ Message to pass to the subscribers.
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Subscription token returned from on subscribe.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ if the current object is equal to the parameter; otherwise, .
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+
+ true if the specified is equal to the current ; otherwise, false.
+
+ The to compare with the current .
+ The parameter is null.2
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+ 2
+
+
+
+ Disposes the SubscriptionToken, removing the subscription from the corresponding .
+
+
+
+
+ Specifies on which thread a subscriber will be called.
+
+
+
+
+ The call is done on the same thread on which the was published.
+
+
+
+
+ The call is done on the UI thread.
+
+
+
+
+ The call is done asynchronously on a background thread.
+
+
+
+
+ Interface that defines if the object instance is active
+ and notifies when the activity changes.
+
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Notifies that the value for property has changed.
+
+
+
+
+ Defines values for the categories used by .
+
+
+
+
+ Debug category.
+
+
+
+
+ Exception category.
+
+
+
+
+ Informational category.
+
+
+
+
+ Warning category.
+
+
+
+
+ Implementation of that logs into a message into the Debug.Listeners collection.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Implementation of that does nothing. This
+ implementation is useful when the application does not need logging
+ but there are infrastructure pieces that assume there is a logger.
+
+
+
+
+ This method does nothing.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines a simple logger façade to be used by the Prism Library.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines values for the priorities used by .
+
+
+
+
+ No priority specified.
+
+
+
+
+ High priority entry.
+
+
+
+
+ Medium priority entry.
+
+
+
+
+ Low priority entry.
+
+
+
+
+ Implementation of to simplify models.
+
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Checks if a property already matches a desired value. Sets the property and
+ notifies listeners only when necessary.
+
+ Type of the property.
+ Reference to a property with both getter and setter.
+ Desired value for the property.
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers that
+ support CallerMemberName.
+ True if the value was changed, false if the existing value matched the
+ desired value.
+
+
+
+ Notifies listeners that a property value has changed.
+
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers
+ that support .
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The type of the property that has a new value
+ A Lambda expression representing the property that has a new value.
+
+
+
+ Manages validation errors for an object, notifying when the error state changes.
+
+ The type of the error object.
+
+
+
+ Initializes a new instance of the class.
+
+ The action that invoked if when errors are added for an object./>
+ event.
+
+
+
+ Gets a value indicating whether the object has validation errors.
+
+
+
+
+ Gets the validation errors for a specified property.
+
+ The name of the property.
+ The validation errors of type for the property.
+
+
+
+ Clears the errors for the property indicated by the property expression.
+
+ The property type.
+ The expression indicating a property.
+
+ container.ClearErrors(()=>SomeProperty);
+
+
+
+
+ Clears the errors for a property.
+
+ The name of th property for which to clear errors.
+
+ container.ClearErrors("SomeProperty");
+
+
+
+
+ Sets the validation errors for the specified property.
+
+ The property type for which to set errors.
+ The indicating the property.
+ The list of errors to set for the property.
+
+
+
+ Sets the validation errors for the specified property.
+
+
+ If a change is detected then the errors changed event is raised.
+
+ The name of the property.
+ The new validation errors.
+
+
+
+ Provides support for extracting property information based on a property expression.
+
+
+
+
+ Extracts the property name from a property expression.
+
+ The object type containing the property specified in the expression.
+ The property expression (e.g. p => p.PropertyName)
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ Not a
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ Extracts the property name from a LambdaExpression.
+
+ The LambdaExpression
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ The ViewModelLocationProvider class locates the view model for the view that has the AutoWireViewModelChanged attached property set to true.
+ The view model will be located and injected into the view's DataContext. To locate the view, two strategies are used: First the ViewModelLocationProvider
+ will look to see if there is a view model factory registered for that view, if not it will try to infer the view model using a convention based approach.
+ This class also provide methods for registering the view model factories,
+ and also to override the default view model factory and the default view type to view model type resolver.
+
+
+
+
+ A dictionary that contains all the registered factories for the views.
+
+
+
+
+ A dictionary that contains all the registered ViewModel types for the views.
+
+
+
+
+ The default view model factory which provides the ViewModel type as a parameter.
+
+
+
+
+ ViewModelfactory that provides the View instance and ViewModel type as parameters.
+
+
+
+
+ Default view type to view model type resolver, assumes the view model is in same assembly as the view type, but in the "ViewModels" namespace.
+
+
+
+
+ Sets the default view model factory.
+
+ The view model factory which provides the ViewModel type as a parameter.
+
+
+
+ Sets the default view model factory.
+
+ The view model factory that provides the View instance and ViewModel type as parameters.
+
+
+
+ Sets the default view type to view model type resolver.
+
+ The view type to view model type resolver.
+
+
+
+ Automatically looks up the viewmodel that corresponds to the current view, using two strategies:
+ It first looks to see if there is a mapping registered for that view, if not it will fallback to the convention based approach.
+
+ The dependency object, typically a view.
+ The call back to use to create the binding between the View and ViewModel
+
+
+
+ Gets the view model for the specified view.
+
+ The view that the view model wants.
+ The ViewModel that corresponds to the view passed as a parameter.
+
+
+
+ Gets the ViewModel type for the specified view.
+
+ The View that the ViewModel wants.
+ The ViewModel type that corresponds to the View.
+
+
+
+ Registers the ViewModel factory for the specified view type.
+
+ The View
+ The ViewModel factory.
+
+
+
+ Registers the ViewModel factory for the specified view type name.
+
+ The name of the view type.
+ The ViewModel factory.
+
+
+
+ Registers a ViewModel type for the specified view type.
+
+ The View
+ The ViewModel
+
+
+
+ Registers a ViewModel type for the specified view.
+
+ The View type name
+ The ViewModel type
+
+
+
+ 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 Cannot register a CompositeCommand in itself..
+
+
+
+
+ Looks up a localized string similar to Cannot register the same command twice in the same CompositeCommand..
+
+
+
+
+ Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}..
+
+
+
+
+ Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null..
+
+
+
+
+ Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable..
+
+
+
+
+ Looks up a localized string similar to To use the UIThread option for subscribing, the EventAggregator must be constructed on the UI thread..
+
+
+
+
+ Looks up a localized string similar to Invalid Delegate Reference Type Exception.
+
+
+
+
+ Looks up a localized string similar to The entity does not contain a property with that name.
+
+
+
+
+ Looks up a localized string similar to The member access expression does not access a property..
+
+
+
+
+ Looks up a localized string similar to The expression is not a member access expression..
+
+
+
+
+ Looks up a localized string similar to The referenced property is a static property..
+
+
+
+
diff --git a/packages/Prism.Core.6.2.0/lib/wpa81/Prism.dll b/packages/Prism.Core.6.2.0/lib/wpa81/Prism.dll
new file mode 100644
index 0000000..7c64324
Binary files /dev/null and b/packages/Prism.Core.6.2.0/lib/wpa81/Prism.dll differ
diff --git a/packages/Prism.Core.6.2.0/lib/wpa81/Prism.xml b/packages/Prism.Core.6.2.0/lib/wpa81/Prism.xml
new file mode 100644
index 0000000..d625846
--- /dev/null
+++ b/packages/Prism.Core.6.2.0/lib/wpa81/Prism.xml
@@ -0,0 +1,1304 @@
+
+
+
+ Prism
+
+
+
+
+ The CompositeCommand composes one or more ICommands.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ Indicates when the command activity is going to be monitored.
+
+
+
+ Adds a command to the collection and signs up for the event of it.
+
+
+ If this command is set to monitor command activity, and
+ implements the interface, this method will subscribe to its
+ event.
+
+ The command to register.
+
+
+
+ Removes a command from the collection and removes itself from the event of it.
+
+ The command to unregister.
+
+
+
+ Forwards to the registered commands and returns
+ if all of the commands return .
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+ if all of the commands return ; otherwise, .
+
+
+
+ Occurs when any of the registered commands raise .
+
+
+
+
+ Forwards to the registered commands.
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+
+
+
+ Evaluates if a command should execute.
+
+ The command to evaluate.
+ A value indicating whether the command should be used
+ when evaluating and .
+
+ If this command is set to monitor command activity, and
+ implements the interface,
+ this method will return if the command's
+ property is ; otherwise it always returns .
+
+
+
+ Gets the list of all the registered commands.
+
+ A list of registered commands.
+ This returns a copy of the commands subscribed to the CompositeCommand.
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Handler for IsActiveChanged events of registered commands.
+
+ The sender.
+ EventArgs to pass to the event.
+
+
+
+ An whose delegates can be attached for and .
+
+ Parameter type.
+
+ The constructor deliberately prevents the use of value types.
+ Because ICommand takes an object, having a value type for T would cause unexpected behavior when CanExecute(null) is called during XAML initialization for command bindings.
+ Using default(T) was considered and rejected as a solution because the implementor would not be able to distinguish between a valid and defaulted values.
+
+ Instead, callers should support a value type by using a nullable value type and checking the HasValue property before using the Value property.
+
+
+ public MyClass()
+ {
+ this.submitCommand = new DelegateCommand<int?>(this.Submit, this.CanSubmit);
+ }
+
+ private bool CanSubmit(int? customerId)
+ {
+ return (customerId.HasValue && customers.Contains(customerId.Value));
+ }
+
+
+
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ will always return true.
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ When both and ar .
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Determines if the command can execute by invoked the provided during construction.
+
+ Data used by the command to determine if it can execute.
+
+ if this command can be executed; otherwise, .
+
+
+
+
+ Executes the command and invokes the provided during construction.
+
+ Data used by the command.
+
+
+
+ An whose delegates do not take any parameters for and .
+
+
+
+
+
+
+ Creates a new instance of with the to invoke on execution.
+
+ The to invoke when is called.
+
+
+
+ Creates a new instance of with the to invoke on execution
+ and a to query for determining if the command can execute.
+
+ The to invoke when is called.
+ The to invoke when is called
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command.
+ Constructed instance of
+
+
+
+ Factory method to create a new instance of from an awaitable handler method.
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ Constructed instance of
+
+
+
+ Executes the command.
+
+
+
+
+ Determines if the command can be executed.
+
+ Returns if the command can execute, otherwise returns .
+
+
+
+ An whose delegates can be attached for and .
+
+
+
+
+ Creates a new instance of a , specifying both the execute action and the can execute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Creates a new instance of a , specifying both the Execute action as an awaitable Task and the CanExecute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute.
+
+
+
+
+ Raises so every
+ command invoker can requery .
+
+
+
+
+ Raises so every command invoker
+ can requery to check if the command can execute.
+ Note that this will trigger the execution of once for each invoker.
+
+
+
+
+ Executes the command with the provided parameter by invoking the supplied during construction.
+
+
+
+
+
+ Determines if the command can execute with the provided parameter by invoking the supplied during construction.
+
+ The parameter to use when determining if this command can execute.
+ Returns if the command can execute. otherwise.
+
+
+
+ Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The object type containing the property specified in the expression.
+ The property expression. Example: ObservesProperty(() => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications.
+
+ The property expression. Example: ObservesCanExecute((o) => PropertyName).
+ The current instance of DelegateCommand
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Fired if the property changes.
+
+
+
+
+ This raises the event.
+
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Generic arguments class to pass to event handlers that need to receive data.
+
+ The type of data to pass.
+
+
+
+ Initializes the DataEventArgs class.
+
+ Information related to the event.
+
+
+
+ Gets the information related to the event.
+
+ Information related to the event.
+
+
+
+ Represents a reference to a that may contain a
+ to the target. This class is used
+ internally by the Prism Library.
+
+
+
+
+ Initializes a new instance of .
+
+ The original to create a reference for.
+ If the class will create a weak reference to the delegate, allowing it to be garbage collected. Otherwise it will keep a strong reference to the target.
+ If the passed is not assignable to .
+
+
+
+ Gets the (the target) referenced by the current object.
+
+ if the object referenced by the current object has been garbage collected; otherwise, a reference to the referenced by the current object.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ The synchronization context to use for UI thread dispatching.
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Implements .
+
+
+
+
+ Gets the single instance of the event managed by this EventAggregator. Multiple calls to this method with the same returns the same event instance.
+
+ The type of event to get. This must inherit from .
+ A singleton instance of an event object of type .
+
+
+
+ Defines a base class to publish and subscribe to events.
+
+
+
+
+ Allows the SynchronizationContext to be set by the EventAggregator for UI Thread Dispatching
+
+
+
+
+ Gets the list of current subscriptions.
+
+ The current subscribers.
+
+
+
+ Adds the specified to the subscribers' collection.
+
+ The subscriber.
+ The that uniquely identifies every subscriber.
+
+ Adds the subscription to the internal list and assigns it a new .
+
+
+
+
+ Calls all the execution strategies exposed by the list of .
+
+ The arguments that will be passed to the listeners.
+ Before executing the strategies, this class will prune all the subscribers from the
+ list that return a when calling the
+ method.
+
+
+
+ Removes the subscriber matching the .
+
+ The returned by while subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The returned by while subscribing to the event.
+ if there is a that matches; otherwise .
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If is no longer valid because it was
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds a hard reference to the target
+ delegates. As long as the returned delegate is not garbage collected,
+ the references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ An is thrown if is null.
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If or are no longer valid because they were
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds hard references to the and target
+ delegates. As long as the returned delegate is not garbage collected,
+ the and references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overridden.
+
+ The action to execute.
+ The payload to pass while invoking it.
+ An is thrown if is null.
+
+
+
+ Represents a reference to a .
+
+
+
+
+ Gets the referenced object.
+
+ A instance if the target is valid; otherwise .
+
+
+
+ Defines an interface to get instances of an event type.
+
+
+
+
+ Gets an instance of an event type.
+
+ The type of event to get.
+ An instance of an event object of type .
+
+
+
+ Defines a contract for an event subscription to be used by .
+
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+ The type of message that will be passed to the subscribers.
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ PubSubEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ Filter to evaluate if the subscriber should receive the event.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior.
+
+ The PubSubEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+ Message to pass to the subscribers.
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Subscription token returned from on subscribe.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ if the current object is equal to the parameter; otherwise, .
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+
+ true if the specified is equal to the current ; otherwise, false.
+
+ The to compare with the current .
+ The parameter is null.2
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+ 2
+
+
+
+ Disposes the SubscriptionToken, removing the subscription from the corresponding .
+
+
+
+
+ Specifies on which thread a subscriber will be called.
+
+
+
+
+ The call is done on the same thread on which the was published.
+
+
+
+
+ The call is done on the UI thread.
+
+
+
+
+ The call is done asynchronously on a background thread.
+
+
+
+
+ Interface that defines if the object instance is active
+ and notifies when the activity changes.
+
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Notifies that the value for property has changed.
+
+
+
+
+ Defines values for the categories used by .
+
+
+
+
+ Debug category.
+
+
+
+
+ Exception category.
+
+
+
+
+ Informational category.
+
+
+
+
+ Warning category.
+
+
+
+
+ Implementation of that logs into a message into the Debug.Listeners collection.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Implementation of that does nothing. This
+ implementation is useful when the application does not need logging
+ but there are infrastructure pieces that assume there is a logger.
+
+
+
+
+ This method does nothing.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines a simple logger façade to be used by the Prism Library.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines values for the priorities used by .
+
+
+
+
+ No priority specified.
+
+
+
+
+ High priority entry.
+
+
+
+
+ Medium priority entry.
+
+
+
+
+ Low priority entry.
+
+
+
+
+ Implementation of to simplify models.
+
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Checks if a property already matches a desired value. Sets the property and
+ notifies listeners only when necessary.
+
+ Type of the property.
+ Reference to a property with both getter and setter.
+ Desired value for the property.
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers that
+ support CallerMemberName.
+ True if the value was changed, false if the existing value matched the
+ desired value.
+
+
+
+ Notifies listeners that a property value has changed.
+
+ Name of the property used to notify listeners. This
+ value is optional and can be provided automatically when invoked from compilers
+ that support .
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The type of the property that has a new value
+ A Lambda expression representing the property that has a new value.
+
+
+
+ Manages validation errors for an object, notifying when the error state changes.
+
+ The type of the error object.
+
+
+
+ Initializes a new instance of the class.
+
+ The action that invoked if when errors are added for an object./>
+ event.
+
+
+
+ Gets a value indicating whether the object has validation errors.
+
+
+
+
+ Gets the validation errors for a specified property.
+
+ The name of the property.
+ The validation errors of type for the property.
+
+
+
+ Clears the errors for the property indicated by the property expression.
+
+ The property type.
+ The expression indicating a property.
+
+ container.ClearErrors(()=>SomeProperty);
+
+
+
+
+ Clears the errors for a property.
+
+ The name of th property for which to clear errors.
+
+ container.ClearErrors("SomeProperty");
+
+
+
+
+ Sets the validation errors for the specified property.
+
+ The property type for which to set errors.
+ The indicating the property.
+ The list of errors to set for the property.
+
+
+
+ Sets the validation errors for the specified property.
+
+
+ If a change is detected then the errors changed event is raised.
+
+ The name of the property.
+ The new validation errors.
+
+
+
+ Provides support for extracting property information based on a property expression.
+
+
+
+
+ Extracts the property name from a property expression.
+
+ The object type containing the property specified in the expression.
+ The property expression (e.g. p => p.PropertyName)
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ Not a
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ Extracts the property name from a LambdaExpression.
+
+ The LambdaExpression
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ The ViewModelLocationProvider class locates the view model for the view that has the AutoWireViewModelChanged attached property set to true.
+ The view model will be located and injected into the view's DataContext. To locate the view, two strategies are used: First the ViewModelLocationProvider
+ will look to see if there is a view model factory registered for that view, if not it will try to infer the view model using a convention based approach.
+ This class also provide methods for registering the view model factories,
+ and also to override the default view model factory and the default view type to view model type resolver.
+
+
+
+
+ A dictionary that contains all the registered factories for the views.
+
+
+
+
+ A dictionary that contains all the registered ViewModel types for the views.
+
+
+
+
+ The default view model factory which provides the ViewModel type as a parameter.
+
+
+
+
+ ViewModelfactory that provides the View instance and ViewModel type as parameters.
+
+
+
+
+ Default view type to view model type resolver, assumes the view model is in same assembly as the view type, but in the "ViewModels" namespace.
+
+
+
+
+ Sets the default view model factory.
+
+ The view model factory which provides the ViewModel type as a parameter.
+
+
+
+ Sets the default view model factory.
+
+ The view model factory that provides the View instance and ViewModel type as parameters.
+
+
+
+ Sets the default view type to view model type resolver.
+
+ The view type to view model type resolver.
+
+
+
+ Automatically looks up the viewmodel that corresponds to the current view, using two strategies:
+ It first looks to see if there is a mapping registered for that view, if not it will fallback to the convention based approach.
+
+ The dependency object, typically a view.
+ The call back to use to create the binding between the View and ViewModel
+
+
+
+ Gets the view model for the specified view.
+
+ The view that the view model wants.
+ The ViewModel that corresponds to the view passed as a parameter.
+
+
+
+ Gets the ViewModel type for the specified view.
+
+ The View that the ViewModel wants.
+ The ViewModel type that corresponds to the View.
+
+
+
+ Registers the ViewModel factory for the specified view type.
+
+ The View
+ The ViewModel factory.
+
+
+
+ Registers the ViewModel factory for the specified view type name.
+
+ The name of the view type.
+ The ViewModel factory.
+
+
+
+ Registers a ViewModel type for the specified view type.
+
+ The View
+ The ViewModel
+
+
+
+ Registers a ViewModel type for the specified view.
+
+ The View type name
+ The ViewModel type
+
+
+
+ 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 Cannot register a CompositeCommand in itself..
+
+
+
+
+ Looks up a localized string similar to Cannot register the same command twice in the same CompositeCommand..
+
+
+
+
+ Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}..
+
+
+
+
+ Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null..
+
+
+
+
+ Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable..
+
+
+
+
+ Looks up a localized string similar to To use the UIThread option for subscribing, the EventAggregator must be constructed on the UI thread..
+
+
+
+
+ Looks up a localized string similar to Invalid Delegate Reference Type Exception.
+
+
+
+
+ Looks up a localized string similar to The entity does not contain a property with that name.
+
+
+
+
+ Looks up a localized string similar to The member access expression does not access a property..
+
+
+
+
+ Looks up a localized string similar to The expression is not a member access expression..
+
+
+
+
+ Looks up a localized string similar to The referenced property is a static property..
+
+
+
+
diff --git a/packages/Prism.Mef.6.2.0/Prism.Mef.6.2.0.nupkg b/packages/Prism.Mef.6.2.0/Prism.Mef.6.2.0.nupkg
new file mode 100644
index 0000000..1e7d517
Binary files /dev/null and b/packages/Prism.Mef.6.2.0/Prism.Mef.6.2.0.nupkg differ
diff --git a/packages/Prism.Mef.6.2.0/lib/net45/Prism.Mef.Wpf.dll b/packages/Prism.Mef.6.2.0/lib/net45/Prism.Mef.Wpf.dll
new file mode 100644
index 0000000..4d8cf2c
Binary files /dev/null and b/packages/Prism.Mef.6.2.0/lib/net45/Prism.Mef.Wpf.dll differ
diff --git a/packages/Prism.Mef.6.2.0/lib/net45/Prism.Mef.Wpf.xml b/packages/Prism.Mef.6.2.0/lib/net45/Prism.Mef.Wpf.xml
new file mode 100644
index 0000000..b103df1
--- /dev/null
+++ b/packages/Prism.Mef.6.2.0/lib/net45/Prism.Mef.Wpf.xml
@@ -0,0 +1,789 @@
+
+
+
+ Prism.Mef.Wpf
+
+
+
+
+ DefaultPrismServiceRegistrationAgent allows the Prism required types to be registered if necessary.
+
+
+
+
+ Registers the required Prism types that are not already registered in the .
+
+ The to register the required types in, if they are not already registered.
+
+
+
+ Returns an for the current assembly
+
+
+ To ensure that the calling assembly is this one, the call is in this
+ private helper method.
+
+
+ Returns an for the current assembly
+
+
+
+
+ Exports the EventAggregator using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Base class that provides a basic bootstrapping sequence that registers most of the Prism Library assets in a MEF .
+
+
+ This class must be overridden to provide application specific configuration.
+
+
+
+
+ Gets or sets the default for the application.
+
+ The default instance.
+
+
+
+ Gets or sets the default for the application.
+
+ The default instance.
+
+
+
+ Run the bootstrapper process.
+
+ If , registers default
+ Prism Library services in the container. This is the default behavior.
+
+
+
+ Configures the used by MEF.
+
+
+ The base implementation returns a new AggregateCatalog.
+
+ An to be used by the bootstrapper.
+
+
+
+ Configures the used by MEF.
+
+
+ The base implementation does nothing.
+
+
+
+
+ Creates the that will be used as the default container.
+
+ A new instance of .
+
+ The base implementation registers a default MEF catalog of exports of key Prism types.
+ Exporting your own types will replace these defaults.
+
+
+
+
+ Configures the .
+ May be overwritten in a derived class to add specific type mappings required by the application.
+
+
+ The base implementation registers all the types direct instantiated by the bootstrapper with the container.
+ If the method is overwritten, the new implementation should call the base class version.
+
+
+
+
+ Helper method for configuring the .
+ Registers defaults for all the types necessary for Prism to work, if they are not already registered.
+
+
+
+
+ Helper method for configuring the .
+ Registers all the types direct instantiated by the bootstrapper with the container.
+
+
+
+
+ Configures the LocatorProvider for the .
+
+
+ The base implementation also sets the ServiceLocator provider singleton.
+
+
+
+
+ Initializes the shell.
+
+
+ The base implementation ensures the shell is composed in the container.
+
+
+
+
+ Initializes the modules. May be overwritten in a derived class to use a custom Modules Catalog
+
+
+
+
+ Provides service location utilizing the Managed Extensibility Framework container.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The MEF composition container.
+
+
+
+ Resolves the instance of the requested service.
+
+ Type of instance requested.
+ The requested service instance.
+
+
+
+ Resolves all the instances of the requested service.
+
+ Type of service requested.
+ Name of registered service you want. May be null.
+ Sequence of service instance objects.
+
+
+
+ Holds a collection of composable part catalogs keyed by module info.
+
+
+
+
+ Adds the specified catalog using the module info as a key.
+
+ The module info.
+ The catalog.
+
+
+
+ Gets the catalog for the specified module info.
+
+ The module info.
+
+
+
+
+ Tries to ge the catalog for the specified module info.
+
+ The module info.
+ The catalog.
+ true if found; otherwise false;
+
+
+
+ Removes the catalgo for the specified module info.
+
+ The module info.
+
+
+
+ Clears the collection of catalogs.
+
+
+
+
+ Describe the Managed Extensibility Framework export of an IModule.
+
+
+ This interface is used when importing classes exported with the ModuleExportAttribute.
+ This interface and the ModuleExport class properties should match.
+
+
+
+
+ Gets the name of the module.
+
+ The name of the module.
+
+
+
+ Gets the type of the module.
+
+ The type of the module.
+
+
+
+ Gets when the module should have Initialize() called.
+
+ The initialization mode.
+
+
+
+ Gets the names of modules this module depends upon.
+
+ An array of module names.
+
+
+
+ Loads modules from an arbitrary location on the filesystem. This typeloader is only called if
+ classes have a Ref parameter that starts with "file://".
+ This class is only used on the Desktop version of the Prism Library when used with Managed Extensibility Framework.
+
+
+
+
+ Initializes a new instance of the MefFileModuleTypeLoader class.
+ This instance is used to load requested module types.
+
+
+
+
+ Raised repeatedly to provide progress as modules are loaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Evaluates the property to see if the current typeloader will be able to retrieve the .
+ Returns true if the property starts with "file://", because this indicates that the file
+ is a local file.
+
+ Module that should have it's type loaded.
+
+ if the current typeloader is able to retrieve the module, otherwise .
+
+
+
+
+ Retrieves the .
+
+ Module that should have it's type loaded.
+
+
+
+ Exports the ModuleInitializer using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Import the available modules from the MEF container
+
+
+
+
+ Initializes a new instance of the class.
+
+ The container that will be used to resolve the modules by specifying its type.
+ The logger to use.
+ The downloaded part catalogs.
+ The aggregate catalog.
+
+
+
+ Uses the container to resolve a new by specifying its .
+
+ The module to create.
+
+ A new instance of the module specified by .
+
+
+
+
+ Component responsible for coordinating the modules' type loading and module initialization process.
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+ Component responsible for coordinating the modules' type loading and module initialization process.
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Service used for initialization of modules.
+ Catalog that enumerates the modules to be loaded and initialized.
+ Logger used during the load and initialization of modules.
+
+
+
+ Gets or sets the modules to be imported.
+
+ Import the available modules from the MEF container
+
+
+
+ Called when a part's imports have been satisfied and it is safe to use.
+
+
+ Whenever the MEF container loads new types that cause ImportedModules to be recomposed, this is called.
+ This method ensures that as the MEF container discovered new modules, the ModuleCatalog is updated.
+
+
+
+
+ Checks if the module needs to be retrieved before it's initialized.
+
+ Module that is being checked if needs retrieval.
+ True if the module needs to be retrieved. Otherwise, false.
+
+
+
+ Gets or sets the type loaders used by the module manager.
+
+
+
+
+ An attribute that is applied to describe the Managed Extensibility Framework export of an IModule.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The concrete type of the module being exported. Not typeof(IModule).
+
+
+
+ Initializes a new instance of the class.
+
+ The contract name of the module.
+ The concrete type of the module being exported. Not typeof(IModule).
+
+
+
+ Gets the contract name of the module.
+
+
+
+
+ Gets concrete type of the module being exported. Not typeof(IModule).
+
+
+
+
+ Gets or sets when the module should have Initialize() called.
+
+
+
+
+ Gets or sets the contract names of modules this module depends upon.
+
+
+
+
+ A very simple custom that takes an enumeration
+ of parts and returns them when requested.
+
+
+
+
+ Creates a PrismDefaultsCatalog that will return the provided parts when requested.
+
+ Parts to add to the catalog
+ Thrown if the parts parameter is null.
+
+
+
+ Gets the parts contained in the catalog.
+
+
+
+
+ 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 Bootstrapper sequence completed.
+
+
+
+
+ Looks up a localized string similar to Configuring catalog for MEF.
+
+
+
+
+ Looks up a localized string similar to Configuring default region behaviors.
+
+
+
+
+ Looks up a localized string similar to Configuring MEF container.
+
+
+
+
+ Looks up a localized string similar to Configuring module catalog..
+
+
+
+
+ Looks up a localized string similar to Configuring region adapters.
+
+
+
+
+ Looks up a localized string similar to Configuring ServiceLocator singleton.
+
+
+
+
+ Looks up a localized string similar to Configuring the ViewModelLocator to use MEF.
+
+
+
+
+ Looks up a localized string similar to Creating catalog for MEF.
+
+
+
+
+ Looks up a localized string similar to Creating Mef container.
+
+
+
+
+ Looks up a localized string similar to Creating module catalog..
+
+
+
+
+ Looks up a localized string similar to Creating shell.
+
+
+
+
+ Looks up a localized string similar to Unable to locate the module with type '{0}' among the exported modules. Make sure the module name in the module catalog matches that specified on ModuleExportAttribute for the module type..
+
+
+
+
+ Looks up a localized string similar to Initializing modules.
+
+
+
+
+ Looks up a localized string similar to Initializing shell.
+
+
+
+
+ Looks up a localized string similar to Logger was created successfully..
+
+
+
+
+ Looks up a localized string similar to The CompositionContainer is required and cannot be null..
+
+
+
+
+ Looks up a localized string similar to The ILoggerFacade is required and cannot be null..
+
+
+
+
+ Looks up a localized string similar to The IModuleCatalog is required and cannot be null in order to initialize the modules..
+
+
+
+
+ Looks up a localized string similar to Registering Framework Exception Types.
+
+
+
+
+ Looks up a localized string similar to Setting the RegionManager..
+
+
+
+
+ Looks up a localized string similar to Updating Regions..
+
+
+
+
+ Exports the AutoPopulateRegionBehavior using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ that the behavior will monitor for views to populate the region.
+
+
+
+ Exports the BindRegionContextToDependencyObjectBehavior using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Exports the ClearChildViewsRegionBehavior using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Exports the DelayedRegionCreationBehavior using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The region adapter mappings, that are used to find the correct adapter for
+ a given controltype. The controltype is determined by the value.
+
+
+
+ Exports the RegionActiveAwareBehavior using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Exports the RegionManagerRegistrationBehavior using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Exports the AutoPopulateRegionBehavior using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Exports the SelectorItemsSourceSyncBehavior using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Exports the SyncRegionContextWithHostBehavior using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Exports the ContentControlRegionAdapter using the Managed Extensibility Framework (MEF).
+
+
+ This allows the to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The region behavior factory.
+
+
+
+ Exports the ItemsControlRegionAdapter using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Exports the RegionAdapterMappings using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Exports the RegionBehaviorFactory using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ used to create the instance of the behavior from its .
+
+
+
+ Exports the RegionManager using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Exports the LocatorNavigationTargetHandler using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ used to create the instance of the view from its .
+
+
+
+ Returns the set of candidates that may satisfiy this navigation request.
+
+ The region containing items that may satisfy the navigation request.
+ The candidate navigation target.
+ An enumerable of candidate objects from the
+
+
+
+ Exports the MefRegionNavigationJournal using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Exports the RegionNavigationJournalEntry using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Exports the MefRegionNavigationService using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The service locator.
+ The navigation content loader.
+ The navigation journal.
+
+
+
+ Exports the RegionViewRegistry using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The service locator.
+
+
+
+ Exports the SelectorRegionAdapter using the Managed Extensibility Framework (MEF).
+
+
+ This allows the MefBootstrapper to provide this class as a default implementation.
+ If another implementation is found, this export will not be used.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
diff --git a/packages/Prism.Wpf.6.2.0/Prism.Wpf.6.2.0.nupkg b/packages/Prism.Wpf.6.2.0/Prism.Wpf.6.2.0.nupkg
new file mode 100644
index 0000000..3709ddf
Binary files /dev/null and b/packages/Prism.Wpf.6.2.0/Prism.Wpf.6.2.0.nupkg differ
diff --git a/packages/Prism.Wpf.6.2.0/lib/net45/Prism.Wpf.dll b/packages/Prism.Wpf.6.2.0/lib/net45/Prism.Wpf.dll
new file mode 100644
index 0000000..c2ea5d9
Binary files /dev/null and b/packages/Prism.Wpf.6.2.0/lib/net45/Prism.Wpf.dll differ
diff --git a/packages/Prism.Wpf.6.2.0/lib/net45/Prism.Wpf.xml b/packages/Prism.Wpf.6.2.0/lib/net45/Prism.Wpf.xml
new file mode 100644
index 0000000..0346803
--- /dev/null
+++ b/packages/Prism.Wpf.6.2.0/lib/net45/Prism.Wpf.xml
@@ -0,0 +1,5525 @@
+
+
+
+ Prism.Wpf
+
+
+
+
+ Base class that provides a basic bootstrapping sequence and hooks
+ that specific implementations can override
+
+
+ This class must be overridden to provide application specific configuration.
+
+
+
+
+ Gets the for the application.
+
+ A instance.
+
+
+
+ Gets the default for the application.
+
+ The default instance.
+
+
+
+ Gets the shell user interface
+
+ The shell user interface.
+
+
+
+ Create the used by the bootstrapper.
+
+
+ The base implementation returns a new TextLogger.
+
+
+
+
+ Runs the bootstrapper process.
+
+
+
+
+ Creates the used by Prism.
+
+
+ The base implementation returns a new ModuleCatalog.
+
+
+
+
+ Configures the used by Prism.
+
+
+
+
+ Configures the used by Prism.
+
+
+
+
+ Registers the s of the Exceptions that are not considered
+ root exceptions by the .
+
+
+
+
+ Initializes the modules. May be overwritten in a derived class to use a custom Modules Catalog
+
+
+
+
+ Configures the default region adapter mappings to use in the application, in order
+ to adapt UI controls defined in XAML to use a region and register it automatically.
+ May be overwritten in a derived class to add specific mappings required by the application.
+
+ The instance containing all the mappings.
+
+
+
+ Configures the .
+ This will be the list of default behaviors that will be added to a region.
+
+
+
+
+ Creates the shell or main window of the application.
+
+ The shell of the application.
+
+ If the returned instance is a , the
+ will attach the default of
+ the application in its attached property
+ in order to be able to add regions by using the
+ attached property from XAML.
+
+
+
+
+ Initializes the shell.
+
+
+
+
+ Run the bootstrapper process.
+
+ If , registers default
+ Prism Library services in the container. This is the default behavior.
+
+
+
+ Configures the LocatorProvider for the .
+
+
+
+
+ A dictionary of lists.
+
+ The key to use for lists.
+ The type of the value held by lists.
+
+
+
+ If a list does not already exist, it will be created automatically.
+
+ The key of the list that will hold the value.
+
+
+
+ Adds a value to a list with the given key. If a list does not already exist,
+ it will be created automatically.
+
+ The key of the list that will hold the value.
+ The value to add to the list under the given key.
+
+
+
+ Removes all entries in the dictionary.
+
+
+
+
+ Determines whether the dictionary contains the specified value.
+
+ The value to locate.
+ true if the dictionary contains the value in any list; otherwise, false.
+
+
+
+ Determines whether the dictionary contains the given key.
+
+ The key to locate.
+ true if the dictionary contains the given key; otherwise, false.
+
+
+
+ Retrieves the all the elements from the list which have a key that matches the condition
+ defined by the specified predicate.
+
+ The filter with the condition to use to filter lists by their key.
+ The elements that have a key that matches the condition defined by the specified predicate.
+
+
+
+ Retrieves all the elements that match the condition defined by the specified predicate.
+
+ The filter with the condition to use to filter values.
+ The elements that match the condition defined by the specified predicate.
+
+
+
+ Removes a list by key.
+
+ The key of the list to remove.
+ if the element was removed.
+
+
+
+ Removes a value from the list with the given key.
+
+ The key of the list where the value exists.
+ The value to remove.
+
+
+
+ Removes a value from all lists where it may be found.
+
+ The value to remove.
+
+
+
+ Gets a shallow copy of all values in all lists.
+
+ List of values.
+
+
+
+ Gets the list of keys in the dictionary.
+
+ Collection of keys.
+
+
+
+ Gets or sets the list associated with the given key. The
+ access always succeeds, eventually returning an empty list.
+
+ The key of the list to access.
+ The list associated with the key.
+
+
+
+ Gets the number of lists in the dictionary.
+
+ Value indicating the values count.
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ Class that wraps an object, so that other classes can notify for Change events. Typically, this class is set as
+ a Dependency Property on DependencyObjects, and allows other classes to observe any changes in the Value.
+
+
+ This class is required, because in Silverlight, it's not possible to receive Change notifications for Dependency properties that you do not own.
+
+ The type of the property that's wrapped in the Observable object
+
+
+
+ Identifies the Value property of the ObservableObject
+
+
+
+
+ Event that gets invoked when the Value property changes.
+
+
+
+
+ The value that's wrapped inside the ObservableObject.
+
+
+
+
+ Helper class for parsing instances.
+
+
+
+
+ Gets the query part of .
+
+ The Uri.
+
+
+
+ Gets the AbsolutePath part of .
+
+ The Uri.
+
+
+
+ Parses the query of into a dictionary.
+
+ The URI.
+
+
+
+ Base behavior to handle connecting a to a Command.
+
+ The target object must derive from Control
+
+ CommandBehaviorBase can be used to provide new behaviors for commands.
+
+
+
+
+ Constructor specifying the target object.
+
+ The target object the behavior is attached to.
+
+
+
+ Corresponding command to be execute and monitored for
+
+
+
+
+ The parameter to supply the command during execution
+
+
+
+
+ Object to which this behavior is attached.
+
+
+
+
+ Updates the target object's IsEnabled property based on the commands ability to execute.
+
+
+
+
+ Executes the command, if it's set, providing the
+
+
+
+
+ Interaction logic for ConfirmationChildWindow.xaml
+
+
+ DefaultConfirmationWindow
+
+
+
+
+ Creates a new instance of ConfirmationChildWindow.
+
+
+
+
+ Sets or gets the shown by this window./>
+
+
+
+
+ InitializeComponent
+
+
+
+
+ Interaction logic for NotificationChildWindow.xaml
+
+
+ DefaultNotificationWindow
+
+
+
+
+ Creates a new instance of
+
+
+
+
+ Sets or gets the shown by this window./>
+
+
+
+
+ InitializeComponent
+
+
+
+
+ Interaction logic for DefaultWindow.xaml
+
+
+ DefaultWindow
+
+
+
+
+ InitializeComponent
+
+
+
+
+ Basic implementation of .
+
+
+
+
+ Gets or sets a value indicating that the confirmation is confirmed.
+
+
+
+
+ Represents an interaction request used for confirmations.
+
+
+
+
+ Gets or sets a value indicating that the confirmation is confirmed.
+
+
+
+
+ Represents a request from user interaction.
+
+
+ View models can expose interaction request objects through properties and raise them when user interaction
+ is required so views associated with the view models can materialize the user interaction using an appropriate
+ mechanism.
+
+
+
+
+ Fired when the interaction is needed.
+
+
+
+
+ Interface used by the .
+ If the DataContext object of a view that is shown with this action implements this interface
+ it will be populated with the data of the interaction request
+ as well as an to finish the request upon invocation.
+
+
+
+
+ The passed when the interaction request was raised.
+
+
+
+
+ An that can be invoked to finish the interaction.
+
+
+
+
+ Represents an interaction request used for notifications.
+
+
+
+
+ Gets or sets the title to use for the notification.
+
+
+
+
+ Gets or sets the content of the notification.
+
+
+
+
+ Implementation of the interface.
+
+
+
+
+ Fired when interaction is needed.
+
+
+
+
+ Fires the Raised event.
+
+ The context for the interaction request.
+
+
+
+ Fires the Raised event.
+
+ The context for the interaction request.
+ The callback to execute when the interaction is completed.
+
+
+
+ Fires the Raised event asynchronously. Please note that this request may never return
+ if the InteractionRequest is unhandled.
+
+ The context for the interaction request.
+ The context after the request has been handled by the UI.
+
+
+
+ Event args for the event.
+
+
+
+
+ Constructs a new instance of
+
+
+
+
+
+
+ Gets the context for a requested interaction.
+
+
+
+
+ Gets the callback to execute when an interaction is completed.
+
+
+
+
+ Custom event trigger for using with objects.
+
+
+ The standard class can be used instead, as long as the 'Raised' event
+ name is specified.
+
+
+
+
+ Specifies the name of the Event this EventTriggerBase is listening for.
+
+ This implementation always returns the Raised event name for ease of connection with .
+
+
+
+ Basic implementation of .
+
+
+
+
+ Gets or sets the title to use for the notification.
+
+
+
+
+ Gets or sets the content of the notification.
+
+
+
+
+ Trigger action that executes a command when invoked.
+ It also maintains the Enabled state of the target control based on the CanExecute method of the command.
+
+
+
+
+ Dependency property identifying if the associated element should automaticlaly be enabled or disabled based on the result of the Command's CanExecute
+
+
+
+
+ Gets or sets whther or not the associated element will automatically be enabled or disabled based on the result of the commands CanExecute
+
+
+
+
+ Dependency property identifying the command to execute when invoked.
+
+
+
+
+ Gets or sets the command to execute when invoked.
+
+
+
+
+ Dependency property identifying the command parameter to supply on command execution.
+
+
+
+
+ Gets or sets the command parameter to supply on command execution.
+
+
+
+
+ Dependency property identifying the TriggerParameterPath to be parsed to identify the child property of the trigger parameter to be used as the command parameter.
+
+
+
+
+ Gets or sets the TriggerParameterPath value.
+
+
+
+
+ Public wrapper of the Invoke method.
+
+
+
+
+ Executes the command
+
+ This parameter is passed to the command; the CommandParameter specified in the CommandParameterProperty is used for command invocation if not null.
+
+
+
+ Sets the Command and CommandParameter properties to null.
+
+
+
+
+ This method is called after the behavior is attached.
+ It updates the command behavior's Command and CommandParameter properties if necessary.
+
+
+
+
+ A CommandBehavior that exposes a public ExecuteCommand method. It provides the functionality to invoke commands and update Enabled state of the target control.
+ It is not possible to make the inherit from , since the
+ must already inherit from , so we chose to follow the aggregation approach.
+
+
+
+
+ Constructor specifying the target object.
+
+ The target object the behavior is attached to.
+
+
+
+ Executes the command, if it's set.
+
+
+
+
+ Shows a popup window in response to an being raised.
+
+
+
+
+ The content of the child window to display as part of the popup.
+
+
+
+
+ Determines if the content should be shown in a modal window or not.
+
+
+
+
+ Determines if the content should be initially shown centered over the view that raised the interaction request or not.
+
+
+
+
+ If set, applies this WindowStartupLocation to the child window.
+
+
+
+
+ If set, applies this Style to the child window.
+
+
+
+
+ Gets or sets the content of the window.
+
+
+
+
+ Gets or sets if the window will be modal or not.
+
+
+
+
+ Gets or sets if the window will be initially shown centered over the view that raised the interaction request or not.
+
+
+
+
+ Gets or sets the startup location of the Window.
+
+
+
+
+ Gets or sets the Style of the Window.
+
+
+
+
+ Displays the child window and collects results for .
+
+ The parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference.
+
+
+
+ Returns the window to display as part of the trigger action.
+
+ The notification to be set as a DataContext in the window.
+
+
+
+
+ Checks if the WindowContent or its DataContext implements .
+ If so, it sets the corresponding values.
+
+ The notification to be set as a DataContext in the HostWindow.
+ The HostWindow
+
+
+
+ Creates a Window that is used when providing custom Window Content
+
+ The Window
+
+
+
+ When no WindowContent is sent this method is used to create a default basic window to show
+ the corresponding or .
+
+ The INotification or IConfirmation parameter to show.
+
+
+
+
+ Implementation of that logs into a .
+
+
+
+
+ Initializes a new instance of that writes to
+ the console output.
+
+
+
+
+ Initializes a new instance of .
+
+ The writer to use for writing log entries.
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Disposes the associated .
+
+ When , disposes the associated .
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+ Calls .
+ 2
+
+
+
+ Implementation of that logs to .NET class.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Handles AppDomain's AssemblyResolve event to be able to load assemblies dynamically in
+ the LoadFrom context, but be able to reference the type from assemblies loaded in the Load context.
+
+
+
+
+ Registers the specified assembly and resolves the types in it when the AppDomain requests for it.
+
+ The path to the assemly to load in the LoadFrom context.
+ This method does not load the assembly immediately, but lazily until someone requests a
+ declared in the assembly.
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+ Calls .
+ 2
+
+
+
+ Disposes the associated .
+
+ When , it is being called from the Dispose method.
+
+
+
+ A catalog built from a configuration file.
+
+
+
+
+ Builds an instance of ConfigurationModuleCatalog with a as the default store.
+
+
+
+
+ Gets or sets the store where the configuration is kept.
+
+
+
+
+ Loads the catalog from the configuration.
+
+
+
+
+ Defines a store for the module metadata.
+
+
+
+
+ Gets the module configuration data.
+
+ A instance.
+
+
+
+ Represents the exception that is thrown when there is a circular dependency
+ between modules during the module loading process.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with the specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class
+ with the specified error message and inner exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class
+ with the serialization data.
+
+ Holds the serialized object data about the exception being thrown.
+ Contains contextual information about the source or destination.
+
+
+
+ Represets a catalog created from a directory on disk.
+
+
+ The directory catalog will scan the contents of a directory, locating classes that implement
+ and add them to the catalog based on contents in their associated .
+ Assemblies are loaded into a new application domain with ReflectionOnlyLoad. The application domain is destroyed
+ once the assemblies have been discovered.
+
+ The diretory catalog does not continue to monitor the directory after it has created the initialze catalog.
+
+
+
+
+ Directory containing modules to search for.
+
+
+
+
+ Drives the main logic of building the child domain and searching for the assemblies.
+
+
+
+
+ Creates a new child domain and copies the evidence from a parent domain.
+
+ The parent domain.
+ The new child domain.
+
+ Grabs the evidence and uses it to construct the new
+ because in a ClickOnce execution environment, creating an
+ will by default pick up the partial trust environment of
+ the AppLaunch.exe, which was the root executable. The AppLaunch.exe does a
+ create domain and applies the evidence from the ClickOnce manifests to
+ create the domain that the application is actually executing in. This will
+ need to be Full Trust for Prism applications.
+
+ An is thrown if is null.
+
+
+
+ Exception thrown when a module is declared twice in the same catalog.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+ The name of the module.
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The name of the module.
+ 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
+ with the serialization data.
+
+ Holds the serialized object data about the exception being thrown.
+ Contains contextual information about the source or destination.
+
+
+
+ Loads modules from an arbitrary location on the filesystem. This typeloader is only called if
+ classes have a Ref parameter that starts with "file://".
+ This class is only used on the Desktop version of the Prism Library.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The assembly resolver.
+
+
+
+ Raised repeatedly to provide progress as modules are loaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Evaluates the property to see if the current typeloader will be able to retrieve the .
+ Returns true if the property starts with "file://", because this indicates that the file
+ is a local file.
+
+ Module that should have it's type loaded.
+
+ if the current typeloader is able to retrieve the module, otherwise .
+
+ An is thrown if is null.
+
+
+
+ Retrieves the .
+
+ Module that should have it's type loaded.
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+ Calls .
+ 2
+
+
+
+ Disposes the associated .
+
+ When , it is being called from the Dispose method.
+
+
+
+ Interface for classes that are responsible for resolving and loading assembly files.
+
+
+
+
+ Load an assembly when it's required by the application.
+
+
+
+
+
+ Defines a store for the module metadata.
+
+
+
+
+ Gets the module configuration data.
+
+ A instance.
+
+
+
+ Defines the contract for the modules deployed in the application.
+
+
+
+
+ Notifies the module that it has be initialized.
+
+
+
+
+ This is the expected catalog definition for the ModuleManager.
+ The ModuleCatalog holds information about the modules that can be used by the
+ application. Each module is described in a ModuleInfo class, that records the
+ name, type and location of the module.
+
+
+
+
+ Gets all the classes that are in the .
+
+
+
+
+ Return the list of s that depends on.
+
+ The to get the
+ An enumeration of that depends on.
+
+
+
+ Returns the collection of s that contain both the s in
+ , but also all the modules they depend on.
+
+ The modules to get the dependencies for.
+
+ A collection of that contains both all s in
+ and also all the they depend on.
+
+
+
+
+ Initializes the catalog, which may load and validate the modules.
+
+
+
+
+ Adds a to the .
+
+ The to add.
+ The for easily adding multiple modules.
+
+
+
+ Marker interface that allows both s and s to be
+ added to the from code and XAML.
+
+
+
+
+ Declares a service which initializes the modules into the application.
+
+
+
+
+ Initializes the specified module.
+
+ The module to initialize
+
+
+
+ Defines the interface for the service that will retrieve and initialize the application's modules.
+
+
+
+
+ Initializes the modules marked as on the .
+
+
+
+
+ Loads and initializes the module on the with the name .
+
+ Name of the module requested for initialization.
+
+
+
+ Raised repeatedly to provide progress as modules are downloaded.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Defines the interface for moduleTypeLoaders
+
+
+
+
+ Evaluates the property to see if the current typeloader will be able to retrieve the .
+
+ Module that should have it's type loaded.
+ if the current typeloader is able to retrieve the module, otherwise .
+
+
+
+ Retrieves the .
+
+ Module that should have it's type loaded.
+
+
+
+ Raised repeatedly to provide progress as modules are downloaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+ This event is raised once per ModuleInfo instance requested in .
+
+
+
+
+ Specifies on which stage the Module group will be initialized.
+
+
+
+
+ The module will be initialized when it is available on application start-up.
+
+
+
+
+ The module will be initialized when requested, and not automatically on application start-up.
+
+
+
+
+ Provides completion information after a module is loaded, or fails to load.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The module info.
+ Any error that occurred during the call.
+
+
+
+ Gets the module info.
+
+ The module info.
+
+
+
+ Gets any error that occurred
+
+ The exception if an error occurred; otherwise null.
+
+
+
+ Gets or sets a value indicating whether the error has been handled by the event subscriber.
+
+ trueif the error is handled; otherwise, false.
+
+ If there is an error on this event and no event subscriber sets this to true, an exception will be thrown by the event publisher.
+
+
+
+
+ Base class for exceptions that are thrown because of a problem with modules.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes the exception with a particular module and error message.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Gets or sets the name of the module that this exception refers to.
+
+ The name of the module.
+
+
+
+ Initializes a new instance with serialized data.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Sets the with information about the exception.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Indicates that the class should be considered a named module using the
+ provided module name.
+
+
+
+
+ Gets or sets the name of the module.
+
+ The name of the module.
+
+
+
+ Gets or sets the value indicating whether the module should be loaded OnDemand.
+
+ When (default value), it indicates the module should be loaded as soon as it's dependencies are satisfied.
+ Otherwise you should explicitily load this module via the .
+
+
+
+ The holds information about the modules that can be used by the
+ application. Each module is described in a class, that records the
+ name, type and location of the module.
+
+ It also verifies that the is internally valid. That means that
+ it does not have:
+
+ - Circular dependencies
+ - Missing dependencies
+ -
+ Invalid dependencies, such as a Module that's loaded at startup that depends on a module
+ that might need to be retrieved.
+
+
+ The also serves as a baseclass for more specialized Catalogs .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class while providing an
+ initial list of s.
+
+ The initial list of modules.
+
+
+
+ Gets the items in the . This property is mainly used to add s or
+ s through XAML.
+
+ The items in the catalog.
+
+
+
+ Gets all the classes that are in the , regardless
+ if they are within a or not.
+
+ The modules.
+
+
+
+ Gets the s that have been added to the .
+
+ The groups.
+
+
+
+ Gets or sets a value that remembers whether the has been validated already.
+
+
+
+
+ Returns the list of s that are not contained within any .
+
+ The groupless modules.
+
+
+
+ Creates a from XAML.
+
+ that contains the XAML declaration of the catalog.
+ An instance of built from the XAML.
+
+
+
+ Creates a from a XAML included as an Application Resource.
+
+ Relative that identifies the XAML included as an Application Resource.
+ An instance of build from the XAML.
+
+
+
+ Loads the catalog if necessary.
+
+
+
+
+ Return the list of s that depends on.
+
+
+ If the was not yet validated, this method will call .
+
+ The to get the
+ An enumeration of that depends on.
+
+
+
+ Returns a list of s that contain both the s in
+ , but also all the modules they depend on.
+
+ The modules to get the dependencies for.
+
+ A list of that contains both all s in
+ but also all the they depend on.
+
+
+
+
+ Validates the .
+
+ When validation of the fails.
+
+
+
+ Adds a to the .
+
+ The to add.
+ The for easily adding multiple modules.
+
+
+
+ Adds a groupless to the catalog.
+
+ of the module to be added.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ of the module to be added.
+ Stage on which the module to be added will be initialized.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ Name of the module to be added.
+ of the module to be added.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ Name of the module to be added.
+ of the module to be added.
+ Stage on which the module to be added will be initialized.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ Name of the module to be added.
+ of the module to be added.
+ Reference to the location of the module to be added assembly.
+ Stage on which the module to be added will be initialized.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Initializes the catalog, which may load and validate the modules.
+
+ When validation of the fails, because this method calls .
+
+
+
+ Creates and adds a to the catalog.
+
+ Stage on which the module group to be added will be initialized.
+ Reference to the location of the module group to be added.
+ Collection of included in the group.
+ with the added module group.
+
+
+
+ Checks for cyclic dependencies, by calling the dependencysolver.
+
+ the.
+
+
+
+
+ Ensures that all the dependencies within refer to s
+ within that list.
+
+ The modules to validate modules for.
+
+ Throws if a in depends on a module that's
+ not in .
+
+ Throws if is .
+
+
+
+ Does the actual work of loading the catalog. The base implementation does nothing.
+
+
+
+
+ Sorts a list of s. This method is called by
+ to return a sorted list.
+
+ The s to sort.
+ Sorted list of s
+
+
+
+ Makes sure all modules have an Unique name.
+
+
+ Thrown if the names of one or more modules are not unique.
+
+
+
+
+ Ensures that there are no cyclic dependencies.
+
+
+
+
+ Ensures that there are no dependencies between modules on different groups.
+
+
+ A groupless module can only depend on other groupless modules.
+ A module within a group can depend on other modules within the same group and/or on groupless modules.
+
+
+
+
+ Ensures that there are no modules marked to be loaded
+ depending on modules loaded
+
+
+
+
+ Returns the on which the received module dependens on.
+
+ Module whose dependant modules are requested.
+ Collection of dependants of .
+
+
+
+ Ensures that the catalog is validated.
+
+
+
+
+ A configuration element to declare module metadata.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ The assembly file where the module is located.
+ The type of the module.
+ The name of the module.
+ This attribute specifies whether the module is loaded at startup.
+
+
+
+ Gets or sets the assembly file.
+
+ The assembly file.
+
+
+
+ Gets or sets the module type.
+
+ The module's type.
+
+
+
+ Gets or sets the module name.
+
+ The module's name.
+
+
+
+ Gets or sets a value indicating whether the module should be loaded at startup.
+
+ A value indicating whether the module should be loaded at startup.
+
+
+
+ Gets or sets the modules this module depends on.
+
+ The names of the modules that this depends on.
+
+
+
+ A collection of .
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new .
+
+ The initial set of .
+ An is thrown if is .
+
+
+
+ Gets a value indicating whether an exception should be raised if a duplicate element is found.
+ This property will always return true.
+
+ A value.
+
+
+
+ Gets the type of the .
+
+
+ The of this collection.
+
+
+
+
+ Gets the name used to identify this collection of elements in the configuration file when overridden in a derived class.
+
+
+ The name of the collection; otherwise, an empty string.
+
+
+
+
+ Gets the located at the specified index in the collection.
+
+ The index of the element in the collection.
+ A .
+
+
+
+ Adds a to the collection.
+
+ A instance.
+
+
+
+ Tests if the collection contains the configuration for the specified module name.
+
+ The name of the module to search the configuration for.
+ if a configuration for the module is present; otherwise .
+
+
+
+ Searches the collection for all the that match the specified predicate.
+
+ A that implements the match test.
+ A with the successful matches.
+ An is thrown if is null.
+
+
+
+ Creates a new .
+
+ A .
+
+
+
+ Gets the element key for a specified configuration element when overridden in a derived class.
+
+ The to return the key for.
+
+ An that acts as the key for the specified .
+
+
+
+
+ Specifies that the current module has a dependency on another module. This attribute should be used on classes that implement .
+
+
+
+
+ Initializes a new instance of .
+
+ The name of the module that this module is dependant upon.
+
+
+
+ Gets the name of the module that this module is dependant upon.
+
+ The name of the module that this module is dependant upon.
+
+
+
+ A collection of .
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ An array of with initial list of dependencies.
+
+
+
+ Gets the type of the .
+
+
+ The of this collection.
+
+
+
+
+ Gets the name used to identify this collection of elements in the configuration file when overridden in a derived class.
+
+
+ The name of the collection; otherwise, an empty string.
+
+
+
+
+ Gets the located at the specified index in the collection.
+
+ The index of the element in the collection.
+ A .
+
+
+
+ Creates a new .
+
+ A .
+
+
+
+ Gets the element key for a specified configuration element when overridden in a derived class.
+
+ The to return the key for.
+
+ An that acts as the key for the specified .
+
+
+
+
+ A for module dependencies.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ A module name.
+
+
+
+ Gets or sets the name of a module antoher module depends on.
+
+ The name of a module antoher module depends on.
+
+
+
+ Used by to get the load sequence
+ for the modules to load according to their dependencies.
+
+
+
+
+ Adds a module to the solver.
+
+ The name that uniquely identifies the module.
+
+
+
+ Adds a module dependency between the modules specified by dependingModule and
+ dependentModule.
+
+ The name of the module with the dependency.
+ The name of the module dependingModule
+ depends on.
+
+
+
+ Calculates an ordered vector according to the defined dependencies.
+ Non-dependant modules appears at the beginning of the resulting array.
+
+ The resulting ordered list of modules.
+ This exception is thrown
+ when a cycle is found in the defined depedency graph.
+
+
+
+ Gets the number of modules added to the solver.
+
+ The number of modules.
+
+
+
+ Provides progress information as a module downloads.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The module info.
+ The bytes received.
+ The total bytes to receive.
+
+
+
+ Getsthe module info.
+
+ The module info.
+
+
+
+ Gets the bytes received.
+
+ The bytes received.
+
+
+
+ Gets the total bytes to receive.
+
+ The total bytes to receive.
+
+
+
+ Defines the metadata that describes a module.
+
+
+
+
+ Initializes a new empty instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ The module's name.
+ The module 's AssemblyQualifiedName.
+ The modules this instance depends on.
+ An is thrown if is .
+
+
+
+ Initializes a new instance of .
+
+ The module's name.
+ The module's type.
+
+
+
+ Gets or sets the name of the module.
+
+ The name of the module.
+
+
+
+ Gets or sets the module 's AssemblyQualifiedName.
+
+ The type of the module.
+
+
+
+ Gets or sets the list of modules that this module depends upon.
+
+ The list of modules that this module depends upon.
+
+
+
+ Specifies on which stage the Module will be initialized.
+
+
+
+
+ Reference to the location of the module assembly.
+ The following are examples of valid values:
+ file://c:/MyProject/Modules/MyModule.dll for a loose DLL in WPF.
+
+
+
+
+
+ Gets or sets the state of the with regards to the module loading and initialization process.
+
+
+
+
+ Represents a group of instances that are usually deployed together. s
+ are also used by the to prevent common deployment problems such as having a module that's required
+ at startup that depends on modules that will only be downloaded on demand.
+
+ The group also forwards and values to the s that it
+ contains.
+
+
+
+
+ Gets or sets the for the whole group. Any classes that are
+ added after setting this value will also get this .
+
+
+ The initialization mode.
+
+
+
+ Gets or sets the value for the whole group. Any classes that are
+ added after setting this value will also get this .
+
+ The ref value will also be used by the to determine which to use.
+ For example, using an "file://" prefix with a valid URL will cause the FileModuleTypeLoader to be used
+ (Only available in the desktop version of CAL).
+
+
+ The ref value that will be used.
+
+
+
+ Adds an moduleInfo to the .
+
+ The to the .
+
+
+
+ Forwards and properties from this
+ to .
+
+ The module info to forward values to.
+ An is thrown if is .
+
+
+
+ Removes all s from the .
+
+
+
+
+ Determines whether the contains a specific value.
+
+ The object to locate in the .
+
+ true if is found in the ; otherwise, false.
+
+
+
+
+ Copies the elements of the to an , starting at a particular index.
+
+ The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
+ The zero-based index in at which copying begins.
+
+ is null.
+
+
+ is less than 0.
+
+
+ is multidimensional.
+ -or-
+ is equal to or greater than the length of .
+ -or-
+ The number of elements in the source is greater than the available space from to the end of the destination .
+
+
+
+
+ Gets the number of elements contained in the .
+
+
+
+ The number of elements contained in the .
+
+
+
+
+ Gets a value indicating whether the is read-only.
+
+
+ false, because the is not Read-Only.
+
+
+
+
+ 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 .
+
+
+
+
+ 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.
+
+
+
+
+ Adds an item to the .
+
+
+ The to add to the .
+ Must be of type
+
+
+ The position into which the new element was inserted.
+
+
+
+
+ Determines whether the contains a specific value.
+
+
+ The to locate in the .
+ Must be of type
+
+
+ true if the is found in the ; otherwise, false.
+
+
+
+
+ Determines the index of a specific item in the .
+
+
+ The to locate in the .
+ Must be of type
+
+
+ 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 to insert into the .
+ Must be of type
+
+
+ is not a valid index in the .
+
+
+ If is null.
+
+
+ If is not of type
+
+
+
+
+ Gets a value indicating whether the has a fixed size.
+
+ false, because the does not have a fixed length.
+
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+
+ The to remove from the .
+ Must be of type
+
+
+
+
+ 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.
+
+
+
+
+ Gets or sets the at the specified index.
+
+
+
+
+
+ Copies the elements of the to an , starting at a particular index.
+
+ The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
+ The zero-based index in at which copying begins.
+
+ is null.
+
+
+ is less than zero.
+
+
+ is multidimensional.
+ -or-
+ is equal to or greater than the length of .
+ -or-
+ The number of elements in the source is greater than the available space from to the end of the destination .
+
+
+ The type of the source cannot be cast automatically to the type of the destination .
+
+
+
+
+ Gets a value indicating whether access to the is synchronized (thread safe).
+
+
+ true if access to the is synchronized (thread safe); otherwise, false.
+
+
+
+
+ Gets an object that can be used to synchronize access to the .
+
+
+
+ An object that can be used to synchronize access to the .
+
+
+
+
+ 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 .
+
+
+
+
+ Gets or sets the at the specified index.
+
+ The at the specified index
+
+
+
+ Defines extension methods for the class.
+
+
+
+
+ Adds a new module that is statically referenced to the specified module info group.
+
+ The group where to add the module info in.
+ The name for the module.
+ The type for the module. This type should be a descendant of .
+ The names for the modules that this module depends on.
+ Returns the instance of the passed in module info group, to provide a fluid interface.
+
+
+
+ Adds a new module that is statically referenced to the specified module info group.
+
+ The group where to add the module info in.
+ The type for the module. This type should be a descendant of .
+ The names for the modules that this module depends on.
+ Returns the instance of the passed in module info group, to provide a fluid interface.
+ The name of the module will be the type name.
+
+
+
+ Exception thrown by implementations whenever
+ a module fails to load.
+
+
+
+
+ Initializes a new instance.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes the exception with a particular module and error message.
+
+ The name of the module.
+ The assembly where the module is located.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception
+ that happened.
+
+ The name of the module.
+ The assembly where the module is located.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes a new instance with serialized data.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Implements the interface. Handles loading of a module based on a type.
+
+
+
+
+ Initializes a new instance of .
+
+ The container that will be used to resolve the modules by specifying its type.
+ The logger to use.
+
+
+
+ Initializes the specified module.
+
+ The module to initialize
+
+
+
+ Handles any exception occurred in the module Initialization process,
+ logs the error using the and throws a .
+ This method can be overridden to provide a different behavior.
+
+ The module metadata where the error happenened.
+ The assembly name.
+ The exception thrown that is the cause of the current error.
+
+
+
+
+ Uses the container to resolve a new by specifying its .
+
+ The module to create.
+ A new instance of the module specified by .
+
+
+
+ Uses the container to resolve a new by specifying its .
+
+ The type name to resolve. This type must implement .
+ A new instance of .
+
+
+
+ Component responsible for coordinating the modules' type loading and module initialization process.
+
+
+ Component responsible for coordinating the modules' type loading and module initialization process.
+
+
+
+
+ Initializes an instance of the class.
+
+ Service used for initialization of modules.
+ Catalog that enumerates the modules to be loaded and initialized.
+ Logger used during the load and initialization of modules.
+
+
+
+ The module catalog specified in the constructor.
+
+
+
+
+ Raised repeatedly to provide progress as modules are loaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Initializes the modules marked as on the .
+
+
+
+
+ Loads and initializes the module on the with the name .
+
+ Name of the module requested for initialization.
+
+
+
+ Checks if the module needs to be retrieved before it's initialized.
+
+ Module that is being checked if needs retrieval.
+
+
+
+
+ Loads the modules that are not intialized and have their dependencies loaded.
+
+
+
+
+ Handles any exception occurred in the module typeloading process,
+ logs the error using the and throws a .
+ This method can be overridden to provide a different behavior.
+
+ The module metadata where the error happenened.
+ The exception thrown that is the cause of the current error.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+ Calls .
+ 2
+
+
+
+ Disposes the associated s.
+
+ When , it is being called from the Dispose method.
+
+
+
+ Returns the list of registered instances that will be
+ used to load the types of modules.
+
+ The module type loaders.
+
+
+
+ Exception thrown when a requested was not found.
+
+
+ Exception thrown when a requested is not found.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+ The inner exception
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The name of the module.
+ 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 name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class
+ with the serialization data.
+
+ Holds the serialized object data about the exception being thrown.
+ Contains contextual information about the source or destination.
+
+
+
+ A for module configuration.
+
+
+
+
+ Gets or sets the collection of modules configuration.
+
+ A of .
+
+
+
+ Defines the states a can be in, with regards to the module loading and initialization process.
+
+
+
+
+ Initial state for s. The is defined,
+ but it has not been loaded, retrieved or initialized yet.
+
+
+
+
+ The assembly that contains the type of the module is currently being loaded by an instance of a
+ .
+
+
+
+
+ The assembly that holds the Module is present. This means the type of the can be instantiated and initialized.
+
+
+
+
+ The module is currently Initializing, by the
+
+
+
+
+ The module is initialized and ready to be used.
+
+
+
+
+ Exception that's thrown when there is no registered in
+ that can handle this particular type of module.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+ The inner exception
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes a new instance with serialized data.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Exception thrown by implementations whenever
+ a module fails to retrieve.
+
+
+
+
+ Initializes a new instance.
+
+
+
+
+ Initializes a new instance with a specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance with a specified error message
+ and a reference to the inner exception that is the cause 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 reference if no inner exception is specified.
+
+
+
+ Initializes the exception with a particular module and error message.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes a new instance with serialized data.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ This class defines the attached property and related change handler that calls the ViewModelLocator in Prism.Mvvm.
+
+
+
+
+ The AutoWireViewModel attached property.
+
+
+
+
+ Sets the DataContext of a View
+
+ The View to set the DataContext on
+ The object to use as the DataContext for the View
+
+
+
+ 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 The object must be of type '{0}' in order to use the current region adapter..
+
+
+
+
+ Looks up a localized string similar to Cannot change the region name once is set. The current region name is '{0}'..
+
+
+
+
+ Looks up a localized string similar to Cannot create navigation target '{0}'..
+
+
+
+
+ Looks up a localized string similar to Type '{0}' does not implement from IRegionBehavior..
+
+
+
+
+ Looks up a localized string similar to The ConfigurationStore cannot contain a null value. .
+
+
+
+
+ Looks up a localized string similar to ContentControl's Content property is not empty.
+ This control is being associated with a region, but the control is already bound to something else.
+ If you did not explicitly set the control's Content property,
+ this exception may be caused by a change in the value of the inherited RegionManager attached property..
+
+
+
+
+ Looks up a localized string similar to At least one cyclic dependency has been found in the module catalog. Cycles in the module dependencies must be avoided..
+
+
+
+
+ Looks up a localized string similar to Deactivation is not possible in this type of region..
+
+
+
+
+ Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}..
+
+
+
+
+ Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null..
+
+
+
+
+ Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable..
+
+
+
+
+ Looks up a localized string similar to Cannot add dependency for unknown module {0}.
+
+
+
+
+ Looks up a localized string similar to A module declared a dependency on another module which is not declared to be loaded. Missing module(s): {0}.
+
+
+
+
+ Looks up a localized string similar to Directory {0} was not found..
+
+
+
+
+ Looks up a localized string similar to A duplicated module with name {0} has been found by the loader..
+
+
+
+
+ Looks up a localized string similar to A duplicated module group with name {0} has been found by the loader..
+
+
+
+
+ Looks up a localized string similar to Unable to retrieve the module type {0} from the loaded assemblies. You may need to specify a more fully-qualified type name..
+
+
+
+
+ Looks up a localized string similar to An exception occurred while initializing module '{0}'.
+ - The exception message was: {2}
+ - The Assembly that the module was trying to be loaded from was:{1}
+ Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem.
+ .
+
+
+
+
+ Looks up a localized string similar to An exception occurred while initializing module '{0}'.
+ - The exception message was: {1}
+ Check the InnerException property of the exception for more information. If the exception occurred
+ while creating an object in a DI container, you can exception.GetRootException() to help locate the
+ root cause of the problem. .
+
+
+
+
+ Looks up a localized string similar to Failed to load type for module {0}.
+ Error was: {1}..
+
+
+
+
+ Looks up a localized string similar to HostControl cannot have null value when behavior attaches. .
+
+
+
+
+ Looks up a localized string similar to The HostControl property cannot be set after Attach method has been called..
+
+
+
+
+ Looks up a localized string similar to HostControl type must be a TabControl..
+
+
+
+
+ Looks up a localized string similar to The IModuleEnumerator interface is no longer used and has been replaced by ModuleCatalog..
+
+
+
+
+ Looks up a localized string similar to The argument must be a valid absolute Uri to an assembly file..
+
+
+
+
+ Looks up a localized string similar to The Target of the IDelegateReference should be of type {0}..
+
+
+
+
+ Looks up a localized string similar to ItemsControl's ItemsSource property is not empty.
+ This control is being associated with a region, but the control is already bound to something else.
+ If you did not explicitly set the control's ItemSource property,
+ this exception may be caused by a change in the value of the inherited RegionManager attached property..
+
+
+
+
+ Looks up a localized string similar to Mapping with the given type is already registered: {0}..
+
+
+
+
+ Looks up a localized string similar to Module {0} depends on other modules that don't belong to the same group..
+
+
+
+
+ Looks up a localized string similar to Module {0} was not found in the catalog..
+
+
+
+
+ Looks up a localized string similar to The ModulePath cannot contain a null value or be empty.
+
+
+
+
+ Looks up a localized string similar to Failed to load type '{0}' from assembly '{1}'..
+
+
+
+
+ Looks up a localized string similar to Navigation is already in progress on region with name '{0}'..
+
+
+
+
+ Looks up a localized string similar to Navigation cannot proceed until a region is set for the RegionNavigationService..
+
+
+
+
+ Looks up a localized string similar to The IRegionAdapter for the type {0} is not registered in the region adapter mappings. You can register an IRegionAdapter for this control by overriding the ConfigureRegionAdapterMappings method in the bootstrapper..
+
+
+
+
+ Looks up a localized string similar to There is currently no moduleTypeLoader in the ModuleManager that can retrieve the specified module..
+
+
+
+
+ Looks up a localized string similar to An exception has occurred while trying to add a view to region '{0}'.
+ - The most likely causing exception was was: '{1}'.
+ But also check the InnerExceptions for more detail or call .GetRootException(). .
+
+
+
+
+ Looks up a localized string similar to The member access expression does not access a property..
+
+
+
+
+ Looks up a localized string similar to The expression is not a member access expression..
+
+
+
+
+ Looks up a localized string similar to The referenced property is a static property..
+
+
+
+
+ Looks up a localized string similar to The Attach method cannot be called when Region property is null..
+
+
+
+
+ Looks up a localized string similar to The Region property cannot be set after Attach method has been called..
+
+
+
+
+ Looks up a localized string similar to An exception occurred while creating a region with name '{0}'. The exception was: {1}. .
+
+
+
+
+ Looks up a localized string similar to The region being added already has a name of '{0}' and cannot be added to the region manager with a different name ('{1}')..
+
+
+
+
+ Looks up a localized string similar to The region name cannot be null or empty..
+
+
+
+
+ Looks up a localized string similar to Region with the given name is already registered: {0}.
+
+
+
+
+ Looks up a localized string similar to This RegionManager does not contain a Region with the name '{0}'..
+
+
+
+
+ Looks up a localized string similar to The region manager does not contain the {0} region..
+
+
+
+
+ Looks up a localized string similar to View already exists in region..
+
+
+
+
+ Looks up a localized string similar to View with name '{0}' already exists in the region..
+
+
+
+
+ Looks up a localized string similar to Module {0} is marked for automatic initialization when the application starts, but it depends on modules that are marked as OnDemand initialization. To fix this error, mark the dependency modules for InitializationMode=WhenAvailable, or remove this validation by extending the ModuleCatalog class..
+
+
+
+
+ Looks up a localized string similar to The provided String argument {0} must not be null or empty..
+
+
+
+
+ Looks up a localized string similar to The provided String argument {0} must not be null or empty..
+
+
+
+
+ Looks up a localized string similar to No BehaviorType with key '{0}' was registered..
+
+
+
+
+ Looks up a localized string similar to An exception occurred while trying to create region objects.
+ - The most likely causing exception was: '{0}'.
+ But also check the InnerExceptions for more detail or call .GetRootException(). .
+
+
+
+
+ Looks up a localized string similar to The value must be of type ModuleInfo..
+
+
+
+
+ Looks up a localized string similar to {0} not found..
+
+
+
+
+ Looks up a localized string similar to The region does not contain the specified view..
+
+
+
+
+ Region that keeps all the views in it as active. Deactivation of views is not allowed.
+
+
+
+
+ Gets a readonly view of the collection of all the active views in the region. These are all the added views.
+
+ An of all the active views.
+
+
+
+ Deactive is not valid in this Region. This method will always throw .
+
+ The view to deactivate.
+ Every time this method is called.
+
+
+
+ Populates the target region with the views registered to it in the .
+
+
+
+
+ The key of this behavior.
+
+
+
+
+ Creates a new instance of the AutoPopulateRegionBehavior
+ associated with the received.
+
+ that the behavior will monitor for views to populate the region.
+
+
+
+ Attaches the AutoPopulateRegionBehavior to the Region.
+
+
+
+
+ Returns a collection of views that will be added to the
+ View collection.
+
+
+
+
+
+ Adds a view into the views collection of this region.
+
+
+
+
+
+ Handler of the event that fires when a new viewtype is registered to the registry.
+
+ Although this is a public method to support Weak Delegates in Silverlight, it should not be called by the user.
+
+
+
+
+
+ Defines a behavior that forwards the
+ to the views in the region.
+
+
+
+
+ The key of this behavior.
+
+
+
+
+ Behavior's attached region.
+
+
+
+
+ Attaches the behavior to the specified region.
+
+
+
+
+ Behavior that removes the RegionManager attached property of all the views in a region once the RegionManager property of a region becomes null.
+ This is useful when removing views with nested regions, to ensure these nested regions get removed from the RegionManager as well.
+
+ This behavior does not apply by default.
+ In order to activate it, the ClearChildViews attached property must be set to True in the view containing the affected child regions.
+
+
+
+
+
+ The behavior key.
+
+
+
+
+ This attached property can be defined on a view to indicate that regions defined in it must be removed from the region manager when the parent view gets removed from a region.
+
+
+
+
+ Gets the ClearChildViews attached property from a DependencyObject.
+
+ The object from which to get the value.
+ The value of the ClearChildViews attached property in the target specified.
+
+
+
+ Sets the ClearChildViews attached property in a DependencyObject.
+
+ The object in which to set the value.
+ The value of to set in the target object's ClearChildViews attached property.
+
+
+
+ Subscribes to the 's PropertyChanged method to monitor its RegionManager property.
+
+
+
+
+ Behavior that creates a new , when the control that will host the (see )
+ is added to the VisualTree. This behavior will use the class to find the right type of adapter to create
+ the region. After the region is created, this behavior will detach.
+
+
+ Attached property value inheritance is not available in Silverlight, so the current approach walks up the visual tree when requesting a region from a region manager.
+ The is now responsible for walking up the Tree.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The region adapter mappings, that are used to find the correct adapter for
+ a given controltype. The controltype is determined by the value.
+
+
+
+
+ Sets a class that interfaces between the 's static properties/events and this behavior,
+ so this behavior can be tested in isolation.
+
+ The region manager accessor.
+
+
+
+ The element that will host the Region.
+
+ The target element.
+
+
+
+ Start monitoring the and the to detect when the becomes
+ part of the Visual Tree. When that happens, the Region will be created and the behavior will .
+
+
+
+
+ Stop monitoring the and the , so that this behavior can be garbage collected.
+
+
+
+
+ Called when the is updating it's collection.
+
+
+ This method has to be public, because it has to be callable using weak references in silverlight and other partial trust environments.
+
+ The .
+ The instance containing the event data.
+
+
+
+ Method that will create the region, by calling the right .
+
+ The target element that will host the .
+ Name of the region.
+ The created
+
+
+
+ Defines a that not allows extensible behaviors on regions which also interact
+ with the target element that the is attached to.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+
+
+
+ Behavior that monitors a object and
+ changes the value for the property when
+ an object that implements gets added or removed
+ from the collection.
+
+
+ This class can also sync the active state for any scoped regions directly on the view based on the .
+ If you use the method with the createRegionManagerScope option, the scoped manager will be attached to the view.
+
+
+
+
+ Name that identifies the behavior in a collection of .
+
+
+
+
+ The region that this behavior is extending
+
+
+
+
+ Attaches the behavior to the specified region
+
+
+
+
+ Detaches the behavior from the .
+
+
+
+
+ Represents errors that occured during region creation.
+
+
+
+
+
+
+
+ Initializes a new instance of the
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference
+ to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference
+ (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class with serialized data.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Subscribes to a static event from the in order to register the target
+ in a when one is available on the host control by walking up the tree and finding
+ a control whose property is not .
+
+
+
+
+ The key of this behavior.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Provides an abstraction on top of the RegionManager static members.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+ When this member is set after the method has being called.
+
+
+
+ When the has a name assigned, the behavior will start monitoring the ancestor controls in the element tree
+ to look for an where to register the region in.
+
+
+
+
+ This event handler gets called when a RegionManager is requering the instances of a region to be registered if they are not already.
+ Although this is a public method to support Weak Delegates in Silverlight, it should not be called by the user.
+
+ The sender.
+ The arguments.
+
+
+
+ The RegionMemberLifetimeBehavior determines if items should be removed from the
+ when they are deactivated.
+
+
+ The monitors the
+ collection to discover items that transition into a deactivated state.
+
+ The behavior checks the removed items for either the
+ or the (in that order) to determine if it should be kept
+ alive on removal.
+
+ If the item in the collection is a , it will
+ also check it's DataContext for or the .
+
+ The order of checks are:
+
+ - Region Item's IRegionMemberLifetime.KeepAlive value.
+ - Region Item's DataContext's IRegionMemberLifetime.KeepAlive value.
+ - Region Item's RegionMemberLifetimeAttribute.KeepAlive value.
+ - Region Item's DataContext's RegionMemberLifetimeAttribute.KeepAlive value.
+
+
+
+
+
+ The key for this behavior.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Defines the attached behavior that keeps the items of the host control in synchronization with the .
+
+ This behavior also makes sure that, if you activate a view in a region, the SelectedItem is set. If you set the SelectedItem or SelectedItems (ListBox)
+ then this behavior will also call Activate on the selected items.
+
+ When calling Activate on a view, you can only select a single active view at a time. By setting the SelectedItems property of a listbox, you can set
+ multiple views to active.
+
+
+
+
+
+ Name that identifies the SelectorItemsSourceSyncBehavior behavior in a collection of RegionsBehaviors.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+
+ A that the is attached to.
+
+ For this behavior, the host control must always be a or an inherited class.
+
+
+
+ Starts to monitor the to keep it in synch with the items of the .
+
+
+
+
+ Behavior that synchronizes the property of a with
+ the control that hosts the Region. It does this by setting the
+ Dependency Property on the host control.
+
+ This behavior allows the usage of two way databinding of the RegionContext from XAML.
+
+
+
+
+ Name that identifies the SyncRegionContextWithHostBehavior behavior in a collection of RegionsBehaviors.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Adapter that creates a new and monitors its
+ active view to set it on the adapted .
+
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts a to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ Notification used by attached behaviors to update the region managers appropriatelly if needed to.
+
+ This event uses weak references to the event handler to prevent this static event of keeping the
+ target element longer than expected.
+
+
+
+ Gets the value for the RegionName attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region that should be created when
+ the RegionManager is also set in this element.
+
+
+
+ Gets the value of the RegionName attached property.
+
+ The target element.
+ The attached to the element.
+
+
+
+ Provides a way for objects involved in navigation to determine if a navigation request should continue.
+
+
+
+
+ Determines whether this instance accepts being navigated away from.
+
+ The navigation context.
+ The callback to indicate when navigation can proceed.
+
+ Implementors of this method do not need to invoke the callback before this method is completed,
+ but they must ensure the callback is eventually invoked.
+
+
+
+
+ Provides methods to perform navigation.
+
+
+ Convenience overloads for the methods in this interface can be found as extension methods on the
+ class.
+
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation target
+ The callback executed when the navigation request is completed.
+
+ Convenience overloads for this method can be found as extension methods on the
+ class.
+
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation target
+ The callback executed when the navigation request is completed.
+ The navigation parameters specific to the navigation request.
+
+ Convenience overloads for this method can be found as extension methods on the
+ class.
+
+
+
+
+ Provides a way for objects involved in navigation to be notified of navigation activities.
+
+
+
+
+ Called when the implementer has been navigated to.
+
+ The navigation context.
+
+
+
+ Called to determine if this instance can handle the navigation request.
+
+ The navigation context.
+
+ if this instance accepts the navigation request; otherwise, .
+
+
+
+
+ Called when the implementer is being navigated away from.
+
+ The navigation context.
+
+
+
+ Defines a model that can be used to compose views.
+
+
+
+
+ Gets a readonly view of the collection of views in the region.
+
+ An of all the added views.
+
+
+
+ Gets a readonly view of the collection of all the active views in the region.
+
+ An of all the active views.
+
+
+
+ Gets or sets a context for the region. This value can be used by the user to share context with the views.
+
+ The context value to be shared.
+
+
+
+ Gets the name of the region that uniequely identifies the region within a .
+
+ The name of the region.
+
+
+
+ Gets or sets the comparison used to sort the views.
+
+ The comparison to use.
+
+
+ Adds a new view to the region.
+
+ Adds a new view to the region.
+
+ The view to add.
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ When , the added view will receive a new instance of , otherwise it will use the current region manager for this region.
+ The that is set on the view if it is a .
+
+
+
+ Removes the specified view from the region.
+
+ The view to remove.
+
+
+
+ Removes all views from the region.
+
+
+
+
+ Marks the specified view as active.
+
+ The view to activate.
+
+
+
+ Marks the specified view as inactive.
+
+ The view to deactivate.
+
+
+
+ Returns the view instance that was added to the region using a specific name.
+
+ The name used when adding the view to the region.
+ Returns the named view or if the view with does not exist in the current region.
+
+
+
+ Gets or sets the that will be passed to the views when adding them to the region, unless the view is added by specifying createRegionManagerScope as .
+
+ The where this is registered.
+ This is usually used by implementations of and should not be
+ used by the developer explicitely.
+
+
+
+ Gets the collection of s that can extend the behavior of regions.
+
+
+
+
+ Gets or sets the navigation service.
+
+ The navigation service.
+
+
+
+ Defines an interfaces to adapt an object and bind it to a new .
+
+
+
+
+ Adapts an object and binds it to a new .
+
+ The object to adapt.
+ The name of the region to be created.
+ The new instance of that the is bound to.
+
+
+
+ Interface for allowing extensible behavior on regions.
+
+
+
+
+ The region that this behavior is extending.
+
+
+
+
+ Attaches the behavior to the specified region.
+
+
+
+
+ Defines the interface for a collection of classes on a Region.
+
+
+
+
+ Adds a to the collection, using the specified key as an indexer.
+
+
+ The key that specifies the type of that's added.
+
+ The to add.
+
+
+
+ Checks if a with the specified key is already present.
+
+ The key to use to find a particular .
+
+
+
+
+ Gets the with the specified key.
+
+ The registered
+
+
+
+ Interface for RegionBehaviorFactories. This factory allows the registration of the default set of RegionBehaviors, that will
+ be added to the s of all s, unless overridden on a 'per-region' basis.
+
+
+
+
+ Adds a particular type of RegionBehavior if it was not already registered. the string is used to check if the behavior is already present
+
+ The behavior key that's used to find if a certain behavior is already added.
+ Type of the behavior to add. .
+
+
+
+ Determines whether a behavior with the specified key already exists
+
+ The behavior key.
+
+ if a behavior with the specified key is present; otherwise, .
+
+
+
+
+ Creates an instance of the Behaviortype that's registered using the specified key.
+
+ The key that's used to register a behavior type.
+ The created behavior.
+
+
+
+ Defines a collection of uniquely identified by their Name.
+
+
+
+
+ Gets the IRegion with the name received as index.
+
+ Name of the region to be retrieved.
+ The identified with the requested name.
+
+
+
+ Adds a to the collection.
+
+ Region to be added to the collection.
+
+
+
+ Removes a from the collection.
+
+ Name of the region to be removed.
+ if the region was removed from the collection, otherwise .
+
+
+
+ Checks if the collection contains a with the name received as parameter.
+
+ The name of the region to look for.
+ if the region is contained in the collection, otherwise .
+
+
+
+ Adds a region to the regionmanager with the name received as argument.
+
+ The name to be given to the region.
+ The region to be added to the regionmanager.
+ Thrown if is .
+ Thrown if and 's name do not match and the is not .
+
+
+
+ Defines an interface to manage a set of regions and to attach regions to objects (typically controls).
+
+
+
+
+ Gets a collection of that identify each region by name. You can use this collection to add or remove regions to the current region manager.
+
+
+
+
+ Creates a new region manager.
+
+ A new region manager that can be used as a different scope from the current region manager.
+
+
+
+ Add a view to the Views collection of a Region. Note that the region must already exist in this regionmanager.
+
+ The name of the region to add a view to
+ The view to add to the views collection
+ The RegionManager, to easily add several views.
+
+
+
+ Associate a view with a region, by registering a type. When the region get's displayed
+ this type will be resolved using the ServiceLocator into a concrete instance. The instance
+ will be added to the Views collection of the region
+
+ The name of the region to associate the view with.
+ The type of the view to register with the
+ The regionmanager, for adding several views easily
+
+
+
+ Associate a view with a region, using a delegate to resolve a concreate instance of the view.
+ When the region get's displayed, this delelgate will be called and the result will be added to the
+ views collection of the region.
+
+ The name of the region to associate the view with.
+ The delegate used to resolve a concreate instance of the view.
+ The regionmanager, for adding several views easily
+
+
+
+ Navigates the specified region manager.
+
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+ The navigation callback.
+
+
+
+ Navigates the specified region manager.
+
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+
+
+
+ Navigates the specified region manager.
+
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+ The navigation callback.
+
+
+
+ Navigates the specified region manager.
+
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+
+
+
+ This method allows an IRegionManager to locate a specified region and navigate in it to the specified target Uri, passing a navigation callback and an instance of NavigationParameters, which holds a collection of object parameters.
+
+ The name of the region where the navigation will occur.
+ A Uri that represents the target where the region will navigate.
+ The navigation callback that will be executed after the navigation is completed.
+ An instance of NavigationParameters, which holds a collection of object parameters.
+
+
+
+ This method allows an IRegionManager to locate a specified region and navigate in it to the specified target string, passing a navigation callback and an instance of NavigationParameters, which holds a collection of object parameters.
+
+ The name of the region where the navigation will occur.
+ A string that represents the target where the region will navigate.
+ The navigation callback that will be executed after the navigation is completed.
+ An instance of NavigationParameters, which holds a collection of object parameters.
+
+
+
+ This method allows an IRegionManager to locate a specified region and navigate in it to the specified target Uri, passing an instance of NavigationParameters, which holds a collection of object parameters.
+
+ The name of the region where the navigation will occur.
+ A Uri that represents the target where the region will navigate.
+ An instance of NavigationParameters, which holds a collection of object parameters.
+
+
+
+ This method allows an IRegionManager to locate a specified region and navigate in it to the specified target string, passing an instance of NavigationParameters, which holds a collection of object parameters.
+
+ The name of the region where the navigation will occur.
+ A string that represents the target where the region will navigate.
+ An instance of NavigationParameters, which holds a collection of object parameters.
+
+
+
+ Provides an abstraction on top of the RegionManager static members.
+
+
+
+
+ Notification used by attached behaviors to update the region managers appropriatelly if needed to.
+
+ This event uses weak references to the event handler to prevent this static event of keeping the
+ target element longer than expected.
+
+
+
+ Gets the value for the RegionName attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region that should be created when
+ the RegionManager is also set in this element.
+
+
+
+ Gets the value of the RegionName attached property.
+
+ The target element.
+ The attached to the element.
+
+
+
+ When implemented, allows an instance placed in a
+ that uses a to indicate
+ it should be removed when it transitions from an activated to deactived state.
+
+
+
+
+ Gets a value indicating whether this instance should be kept-alive upon deactivation.
+
+
+
+
+ Identifies the view in a region that is the target of a navigation request.
+
+
+
+
+ Gets the content to which the navigation request represented by applies.
+
+
+ If none of the items in the region match the target of the navigation request, a new item
+ will be created and added to the region.
+
+ The region.
+ The context representing the navigation request.
+ The item to be the target of the navigation request.
+ when a new item cannot be created for the navigation request.
+
+
+
+ Provides journaling of current, back, and forward navigation within regions.
+
+
+
+
+ Gets a value that indicates whether there is at least one entry in the back navigation history.
+
+
+ true if the journal can go back; otherwise, false.
+
+
+
+
+ Gets a value that indicates whether there is at least one entry in the forward navigation history.
+
+
+ true if this instance can go forward; otherwise, false.
+
+
+
+
+ Gets the current navigation entry of the content that is currently displayed.
+
+ The current entry.
+
+
+
+ Gets or sets the target that implements INavigateAsync.
+
+ The INavigate implementation.
+
+ This is set by the owner of this journal.
+
+
+
+
+ Navigates to the most recent entry in the back navigation history, or does nothing if no entry exists in back navigation.
+
+
+
+
+ Navigates to the most recent entry in the forward navigation history, or does nothing if no entry exists in forward navigation.
+
+
+
+
+ Records the navigation to the entry..
+
+ The entry to record.
+
+
+
+ Clears the journal of current, back, and forward navigation histories.
+
+
+
+
+ An entry in an IRegionNavigationJournal representing the URI navigated to.
+
+
+
+
+ Gets or sets the URI.
+
+ The URI.
+
+
+
+ Gets or sets the NavigationParameters instance.
+
+
+
+
+ Provides navigation for regions.
+
+
+
+
+ Gets or sets the region owning this service.
+
+ A Region.
+
+
+
+ Gets the journal.
+
+ The journal.
+
+
+
+ Raised when the region is about to be navigated to content.
+
+
+
+
+ Raised when the region is navigated to content.
+
+
+
+
+ Raised when a navigation request fails.
+
+
+
+
+ Defines the interface for the registry of region's content.
+
+
+
+
+ Event triggered when a content is registered to a region name.
+
+
+ This event uses weak references to the event handler to prevent this service (typically a singleton) of keeping the
+ target element longer than expected.
+
+
+
+
+ Returns the contents associated with a region name.
+
+ Region name for which contents are requested.
+ Collection of contents associated with the .
+
+
+
+ Registers a content type with a region name.
+
+ Region name to which the will be registered.
+ Content type to be registered for the .
+
+
+
+ Registers a delegate that can be used to retrieve the content associated with a region name.
+
+ Region name to which the will be registered.
+ Delegate used to retrieve the content associated with the .
+
+
+
+ Defines a class that wraps an item and adds metadata for it.
+
+
+
+
+ The name of the wrapped item.
+
+
+
+
+ Value indicating whether the wrapped item is considered active.
+
+
+
+
+ Initializes a new instance of .
+
+ The item to wrap.
+
+
+
+ Gets the wrapped item.
+
+ The wrapped item.
+
+
+
+ Gets or sets a name for the wrapped item.
+
+ The name of the wrapped item.
+
+
+
+ Gets or sets a value indicating whether the wrapped item is considered active.
+
+ if the item should be considered active; otherwise .
+
+
+
+ Occurs when metadata on the item changes.
+
+
+
+
+ Explicitly invokes to notify listeners.
+
+
+
+
+ Adapter that creates a new and binds all
+ the views to the adapted .
+
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts an to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ Defines a view of a collection.
+
+
+
+
+ Determines whether the collection contains a specific value.
+
+ The object to locate in the collection.
+ if is found in the collection; otherwise, .
+
+
+
+ Provides additional methods to the interface.
+
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+ The callback executed when the navigation request is completed.
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+ The callback executed when the navigation request is completed.
+ An instance of NavigationParameters, which holds a collection of object parameters.
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ A Uri that represents the target where the region will navigate.
+ An instance of NavigationParameters, which holds a collection of object parameters.
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ A string that represents the target where the region will navigate.
+ An instance of NavigationParameters, which holds a collection of object parameters.
+
+
+
+ Encapsulates information about a navigation request.
+
+
+
+
+ Initializes a new instance of the class for a region name and a
+ .
+
+ The navigation service.
+ The Uri.
+
+
+
+ Initializes a new instance of the class for a region name and a
+ .
+
+ The navigation service.
+ The navigation parameters.
+ The Uri.
+
+
+
+ Gets the region navigation service.
+
+ The navigation service.
+
+
+
+ Gets the navigation URI.
+
+ The navigation URI.
+
+
+
+ Gets the extracted from the URI and the object parameters passed in navigation.
+
+ The URI query.
+
+
+
+ Represents Navigation parameters.
+
+
+ This class can be used to to pass object parameters during Navigation.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a query string.
+
+ The query string.
+
+
+
+ Gets the with the specified key.
+
+ The value for the specified key, or if the query does not contain such a key.
+
+
+
+ Gets the enumerator.
+
+
+
+
+
+ Adds the specified key and value.
+
+ The name.
+ The value.
+
+
+
+ Converts the list of key value pairs to a query string.
+
+
+
+
+
+ Represents the result of navigating to a URI.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The context.
+ The result.
+
+
+
+ Initializes a new instance of the class.
+
+ The context.
+ The error.
+
+
+
+ Gets the result.
+
+ The result.
+
+
+
+ Gets an exception that occurred while navigating.
+
+ The exception.
+
+
+
+ Gets the navigation context.
+
+ The navigation context.
+
+
+
+ Implementation of that allows multiple active views.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Gets the collection of s that can extend the behavior of regions.
+
+
+
+
+ Gets or sets a context for the region. This value can be used by the user to share context with the views.
+
+ The context value to be shared.
+
+
+
+ Gets the name of the region that uniequely identifies the region within a .
+
+ The name of the region.
+
+
+
+ Gets a readonly view of the collection of views in the region.
+
+ An of all the added views.
+
+
+
+ Gets a readonly view of the collection of all the active views in the region.
+
+ An of all the active views.
+
+
+
+ Gets or sets the comparison used to sort the views.
+
+ The comparison to use.
+
+
+
+ Gets or sets the that will be passed to the views when adding them to the region, unless the view is added by specifying createRegionManagerScope as .
+
+ The where this is registered.
+ This is usually used by implementations of and should not be
+ used by the developer explicitely.
+
+
+
+ Gets the navigation service.
+
+ The navigation service.
+
+
+
+ Gets the collection with all the views along with their metadata.
+
+ An of with all the added views.
+
+
+ Adds a new view to the region.
+
+ Adds a new view to the region.
+
+ The view to add.
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ When , the added view will receive a new instance of , otherwise it will use the current region manager for this region.
+ The that is set on the view if it is a .
+
+
+
+ Removes the specified view from the region.
+
+ The view to remove.
+
+
+
+ Removes all views from the region.
+
+
+
+
+ Marks the specified view as active.
+
+ The view to activate.
+
+
+
+ Marks the specified view as inactive.
+
+ The view to deactivate.
+
+
+
+ Returns the view instance that was added to the region using a specific name.
+
+ The name used when adding the view to the region.
+ Returns the named view or if the view with does not exist in the current region.
+
+
+
+ Initiates navigation to the specified target.
+
+ The target.
+ A callback to execute when the navigation request is completed.
+
+
+
+ Initiates navigation to the specified target.
+
+ The target.
+ A callback to execute when the navigation request is completed.
+ The navigation parameters specific to the navigation request.
+
+
+
+ The default sort algorithm.
+
+ The first view to compare.
+ The second view to compare.
+
+
+
+
+ Base class to facilitate the creation of implementations.
+
+ Type of object to adapt.
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Gets or sets the factory used to create the region behaviors to attach to the created regions.
+
+
+
+
+ Adapts an object and binds it to a new .
+
+ The object to adapt.
+ The name of the region to be created.
+ The new instance of that the is bound to.
+
+
+
+ Adapts an object and binds it to a new .
+
+ The object to adapt.
+ The name of the region to be created.
+ The new instance of that the is bound to.
+ This methods performs validation to check that
+ is of type .
+ When is .
+ When is not of type .
+
+
+
+ This method adds the default behaviors by using the object.
+
+ The region being used.
+ The object to adapt.
+
+
+
+ Template method to attach new behaviors.
+
+ The region being used.
+ The object to adapt.
+
+
+
+ Template method to adapt the object to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Template method to create a new instance of
+ that will be used to adapt the object.
+
+ A new instance of .
+
+
+
+ This class maps with .
+
+
+
+
+ Registers the mapping between a type and an adapter.
+
+ The type of the control.
+ The adapter to use with the type.
+ When any of or are .
+ If a mapping for already exists.
+
+
+
+ Returns the adapter associated with the type provided.
+
+ The type to obtain the mapped.
+ The mapped to the .
+ This class will look for a registered type for and if there is not any,
+ it will look for a registered type for any of its ancestors in the class hierarchy.
+ If there is no registered type for or any of its ancestors,
+ an exception will be thrown.
+ When there is no registered type for or any of its ancestors.
+
+
+
+ Provides a base class for region's behaviors.
+
+
+
+
+ Behavior's attached region.
+
+
+
+
+ Returns if the behavior is attached to a region, otherwise.
+
+
+
+
+ Attaches the behavior to the region.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ A collection of instances, that are stored and retrieved by Key.
+
+
+
+
+ Initializes a new instance of the class and associates it with a region.
+
+ The region to associate the behavior collection with.
+
+
+
+ Gets the with the specified key.
+
+ The RegionBehavior that's registered with the key.
+
+
+
+ Adds a to the collection, using the specified key as an indexer.
+
+ The key that specifies the type of that's added.
+ The to add.
+
+ Thrown is the parameter is Null,
+ or if the parameter is Null.
+
+ Thrown if a behavior with the specified Key parameter already exists.
+
+
+
+ Checks if a with the specified key is already present.
+
+ The key to use to find a particular .
+
+
+
+
+ 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.
+
+
+
+
+ Defines a factory that allows the registration of the default set of , that will
+ be added to the of all s, unless overridden on a 'per-region' basis.
+
+
+
+
+ Initializes a new instance of .
+
+ used to create the instance of the behavior from its .
+
+
+
+ Adds a particular type of RegionBehavior if it was not already registered. The string is used to check if the behavior is already present
+
+ The behavior key that's used to find if a certain behavior is already added.
+ Type of the behavior to add.
+
+
+
+ Creates an instance of the behavior that is registered using the specified key.
+
+ The key that is used to register a behavior type.
+ A new instance of the behavior.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+ 1
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+ 2
+
+
+
+ Determines whether a behavior with the specified key already exists.
+
+ The behavior key.
+
+ if a behavior with the specified key is present; otherwise, .
+
+
+
+
+ Class that holds methods to Set and Get the RegionContext from a DependencyObject.
+
+ RegionContext allows sharing of contextual information between the view that's hosting a
+ and any views that are inside the Region.
+
+
+
+
+ Returns an wrapper around the RegionContext value. The RegionContext
+ will be set on any views (dependency objects) that are inside the collection by
+ the Behavior.
+ The RegionContext will also be set to the control that hosts the Region, by the Behavior.
+
+ If the wrapper does not already exist, an empty one will be created. This way, an observer can
+ notify when the value is set for the first time.
+
+ Any view that hold the RegionContext value.
+ Wrapper around the Regioncontext value.
+
+
+
+ This class is responsible for maintaining a collection of regions and attaching regions to controls.
+
+
+ This class supplies the attached properties that can be used for simple region creation from XAML.
+
+
+
+
+ Identifies the RegionName attached property.
+
+
+ When a control has both the and
+ attached properties set to
+ a value different than and there is a
+ mapping registered for the control, it
+ will create and adapt a new region for that control, and register it
+ in the with the specified region name.
+
+
+
+
+ Sets the attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region to register.
+
+
+
+ Gets the value for the attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region that should be created when
+ is also set in this element.
+
+
+
+ Returns an wrapper that can hold an . Using this wrapper
+ you can detect when an has been created by the .
+
+ If the wrapper does not yet exist, a new wrapper will be created. When the region
+ gets created and assigned to the wrapper, you can use the event
+ to get notified of that change.
+
+ The view that will host the region.
+ Wrapper that can hold an value and can notify when the value changes.
+
+
+
+ Identifies the RegionManager attached property.
+
+
+ When a control has both the and
+ attached properties set to
+ a value different than and there is a
+ mapping registered for the control, it
+ will create and adapt a new region for that control, and register it
+ in the with the specified region name.
+
+
+
+
+ Gets the value of the attached property.
+
+ The target element.
+ The attached to the element.
+
+
+
+ Sets the attached property.
+
+ The target element.
+ The value.
+
+
+
+ Identifies the RegionContext attached property.
+
+
+
+
+ Gets the value of the attached property.
+
+ The target element.
+ The region context to pass to the contained views.
+
+
+
+ Sets the attached property.
+
+ The target element.
+ The value.
+
+
+
+ Notification used by attached behaviors to update the region managers appropriatelly if needed to.
+
+ This event uses weak references to the event handler to prevent this static event of keeping the
+ target element longer than expected.
+
+
+
+ Notifies attached behaviors to update the region managers appropriatelly if needed to.
+
+
+ This method is normally called internally, and there is usually no need to call this from user code.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Gets a collection of that identify each region by name. You can use this collection to add or remove regions to the current region manager.
+
+ A with all the registered regions.
+
+
+
+ Creates a new region manager.
+
+ A new region manager that can be used as a different scope from the current region manager.
+
+
+
+ Add a view to the Views collection of a Region. Note that the region must already exist in this regionmanager.
+
+ The name of the region to add a view to
+ The view to add to the views collection
+ The RegionManager, to easily add several views.
+
+
+
+ Associate a view with a region, by registering a type. When the region get's displayed
+ this type will be resolved using the ServiceLocator into a concrete instance. The instance
+ will be added to the Views collection of the region
+
+ The name of the region to associate the view with.
+ The type of the view to register with the
+ The regionmanager, for adding several views easily
+
+
+
+ Associate a view with a region, using a delegate to resolve a concreate instance of the view.
+ When the region get's displayed, this delelgate will be called and the result will be added to the
+ views collection of the region.
+
+ The name of the region to associate the view with.
+ The delegate used to resolve a concreate instance of the view.
+ The regionmanager, for adding several views easily
+
+
+
+ Navigates the specified region manager.
+
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+ The navigation callback.
+
+
+
+ Navigates the specified region manager.
+
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+
+
+
+ Navigates the specified region manager.
+
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+ The navigation callback.
+
+
+
+ Navigates the specified region manager.
+
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+
+
+
+ This method allows an IRegionManager to locate a specified region and navigate in it to the specified target Uri, passing a navigation callback and an instance of NavigationParameters, which holds a collection of object parameters.
+
+ The name of the region where the navigation will occur.
+ A Uri that represents the target where the region will navigate.
+ The navigation callback that will be executed after the navigation is completed.
+ An instance of NavigationParameters, which holds a collection of object parameters.
+
+
+
+ This method allows an IRegionManager to locate a specified region and navigate in it to the specified target string, passing a navigation callback and an instance of NavigationParameters, which holds a collection of object parameters.
+
+ The name of the region where the navigation will occur.
+ A string that represents the target where the region will navigate.
+ The navigation callback that will be executed after the navigation is completed.
+ An instance of NavigationParameters, which holds a collection of object parameters.
+
+
+
+ This method allows an IRegionManager to locate a specified region and navigate in it to the specified target Uri, passing an instance of NavigationParameters, which holds a collection of object parameters.
+
+ The name of the region where the navigation will occur.
+ A Uri that represents the target where the region will navigate.
+ An instance of NavigationParameters, which holds a collection of object parameters.
+
+
+
+ This method allows an IRegionManager to locate a specified region and navigate in it to the specified target string, passing an instance of NavigationParameters, which holds a collection of object parameters.
+
+ The name of the region where the navigation will occur.
+ A string that represents the target where the region will navigate.
+ An instance of NavigationParameters, which holds a collection of object parameters.
+
+
+
+ Adds a region to the regionmanager with the name received as argument.
+
+ The name to be given to the region.
+ The region to be added to the regionmanager.
+ Thrown if is .
+ Thrown if and 's name do not match and the is not .
+
+
+
+ When is applied to class provides data
+ the can use to determine if the instance should
+ be removed when it is deactivated.
+
+
+
+
+ Instantiates an instance of
+
+
+
+
+ Determines if the region member should be kept-alive
+ when deactivated.
+
+
+
+
+ Implementation of that relies on a
+ to create new views when necessary.
+
+
+
+
+ Initializes a new instance of the class with a service locator.
+
+ The service locator.
+
+
+
+ Gets the view to which the navigation request represented by applies.
+
+ The region.
+ The context representing the navigation request.
+
+ The view to be the target of the navigation request.
+
+
+ If none of the views in the region can be the target of the navigation request, a new view
+ is created and added to the region.
+
+ when a new view cannot be created for the navigation request.
+
+
+
+ Provides a new item for the region based on the supplied candidate target contract name.
+
+ The target contract to build.
+ An instance of an item to put into the .
+
+
+
+ Returns the candidate TargetContract based on the .
+
+ The navigation contract.
+ The candidate contract to seek within the and to use, if not found, when resolving from the container.
+
+
+
+ Returns the set of candidates that may satisfiy this navigation request.
+
+ The region containing items that may satisfy the navigation request.
+ The candidate navigation target as determined by
+ An enumerable of candidate objects from the
+
+
+
+ EventArgs used with the Navigated event.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The navigation context.
+
+
+
+ Gets the navigation context.
+
+ The navigation context.
+
+
+
+ Gets the navigation URI
+
+ The URI.
+
+ This is a convenience accessor around NavigationContext.Uri.
+
+
+
+
+ EventArgs used with the NavigationFailed event.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The navigation context.
+
+
+
+ Initializes a new instance of the class.
+
+ The navigation context.
+ The error.
+
+
+
+ Gets the navigation context.
+
+ The navigation context.
+
+
+
+ Gets the error.
+
+ The , or if the failure was not caused by an exception.
+
+
+
+ Gets the navigation URI
+
+ The URI.
+
+ This is a convenience accessor around NavigationContext.Uri.
+
+
+
+
+ Provides journaling of current, back, and forward navigation within regions.
+
+
+
+
+ Gets or sets the target that implements INavigate.
+
+ The INavigate implementation.
+
+ This is set by the owner of this journal.
+
+
+
+
+ Gets the current navigation entry of the content that is currently displayed.
+
+ The current entry.
+
+
+
+ Gets a value that indicates whether there is at least one entry in the back navigation history.
+
+ true if the journal can go back; otherwise, false.
+
+
+
+ Gets a value that indicates whether there is at least one entry in the forward navigation history.
+
+
+ true if this instance can go forward; otherwise, false.
+
+
+
+
+ Navigates to the most recent entry in the back navigation history, or does nothing if no entry exists in back navigation.
+
+
+
+
+ Navigates to the most recent entry in the forward navigation history, or does nothing if no entry exists in forward navigation.
+
+
+
+
+ Records the navigation to the entry..
+
+ The entry to record.
+
+
+
+ Clears the journal of current, back, and forward navigation histories.
+
+
+
+
+ An entry in an IRegionNavigationJournal representing the URI navigated to.
+
+
+
+
+ Gets or sets the URI.
+
+ The URI.
+
+
+
+ Gets or sets the NavigationParameters instance.
+
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Provides navigation for regions.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The service locator.
+ The navigation target handler.
+ The journal.
+
+
+
+ Gets or sets the region.
+
+ The region.
+
+
+
+ Gets the journal.
+
+ The journal.
+
+
+
+ Raised when the region is about to be navigated to content.
+
+
+
+
+ Raised when the region is navigated to content.
+
+
+
+
+ Raised when a navigation request fails.
+
+
+
+
+ Initiates navigation to the specified target.
+
+ The target.
+ A callback to execute when the navigation request is completed.
+
+
+
+ Initiates navigation to the specified target.
+
+ The target.
+ A callback to execute when the navigation request is completed.
+ The navigation parameters specific to the navigation request.
+
+
+
+ Defines a registry for the content of the regions used on View Discovery composition.
+
+
+
+
+ Creates a new instance of the class.
+
+ used to create the instance of the views from its .
+
+
+
+ Occurs whenever a new view is registered.
+
+
+
+
+ Returns the contents registered for a region.
+
+ Name of the region which content is being requested.
+ Collection of contents registered for the region.
+
+
+
+ Registers a content type with a region name.
+
+ Region name to which the will be registered.
+ Content type to be registered for the .
+
+
+
+ Registers a delegate that can be used to retrieve the content associated with a region name.
+
+ Region name to which the will be registered.
+ Delegate used to retrieve the content associated with the .
+
+
+
+ Creates an instance of a registered view .
+
+ Type of the registered view.
+ Instance of the registered view.
+
+
+
+ Adapter that creates a new and binds all
+ the views to the adapted .
+ It also keeps the and the selected items
+ of the in sync.
+
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts an to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Attach new behaviors.
+
+ The region being used.
+ The object to adapt.
+
+ This class attaches the base behaviors and also listens for changes in the
+ activity of the region or the control selection and keeps the in sync.
+
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ Region that allows a maximum of one active view at a time.
+
+
+
+
+ Marks the specified view as active.
+
+ The view to activate.
+ If there is an active view before calling this method,
+ that view will be deactivated automatically.
+
+
+
+ Defines that a view is synchronized with its parent view's Active state.
+
+
+
+
+ Represents errors that occured during the regions' update.
+
+
+ Represents errors that occured during the regions' update.
+
+
+
+
+ Initializes a new instance of the
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference
+ to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference
+ (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class with serialized data.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Argument class used by the event when a new content is registered.
+
+
+
+
+ Initializes the ViewRegisteredEventArgs class.
+
+ The region name to which the content was registered.
+ The content which was registered.
+
+
+
+ Gets the region name to which the content was registered.
+
+
+
+
+ Gets the content which was registered.
+
+
+
+
+ Exception that's thrown when something goes wrong while Registering a View with a region name in the class.
+
+
+ Exception that's thrown when something goes wrong while Registering a View with a region name in the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class with serialized data.
+
+ The that holds the serialized
+ object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Implementation of that takes an of
+ and filters it to display an collection of
+ elements (the items which the wraps).
+
+
+
+
+ Initializes a new instance of the class.
+
+ The list to wrap and filter.
+ A predicate to filter the collection.
+
+
+
+ Occurs when the collection changes.
+
+
+
+
+ Gets or sets the comparison used to sort the views.
+
+ The comparison to use.
+
+
+
+ Determines whether the collection contains a specific value.
+
+ The object to locate in the collection.
+ if is found in the collection; otherwise, .
+
+
+
+ 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.
+
+
+
+
+ Used to invoked the event.
+
+
+
+
+
+ Removes all monitoring of underlying MetadataItems and re-adds them.
+
+
+
+
+ Adds all underlying MetadataItems to the list from the subjectCollection
+
+
+
+
+ Removes all monitored items from our monitoring list.
+
+
+
+
+ Adds handler to monitor the MetadatItem and adds it to our monitoring list.
+
+
+
+
+
+
+ Unhooks from the MetadataItem change event and removes from our monitoring list.
+
+
+
+
+
+ Invoked when any of the underlying ItemMetadata items we're monitoring changes.
+
+
+
+
+
+
+ The event handler due to changes in the underlying collection.
+
+
+
+
+
+
+ Provides a hint from a view to a region on how to sort the view.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The hint to use for sorting.
+
+
+
+ Gets the hint.
+
+ The hint to use for sorting.
+
+
+
+ Class that provides extension methods to Collection
+
+
+
+
+ Add a range of items to a collection.
+
+ Type of objects within the collection.
+ The collection to add items to.
+ The items to add to the collection.
+ The collection.
+ An is thrown if or is .
+
+
+
+ Class that provides extension methods for the Exception class. These extension methods provide
+ a mechanism for developers to get more easily to the root cause of an exception, especially in combination with
+ DI-containers such as Unity.
+
+
+
+
+ Register the type of an Exception that is thrown by the framework. The method uses
+ this list of Exception types to find out if something has gone wrong.
+
+ The type of exception to register.
+
+
+
+ Determines whether the exception type is already registered using the
+ method
+
+ The type of framework exception to find.
+
+ true if the exception type is already registered; otherwise, false.
+
+
+
+
+ Looks at all the inner exceptions of the parameter to find the
+ most likely root cause of the exception. This works by skipping all registered exception types.
+
+
+ This method is not 100% accurate and should only be used to point a developer into the most likely direction.
+ It should not be used to replace the Inner Exception stack of an exception, because this might hide required exception
+ information.
+
+ The exception that will provide the list of inner exeptions to examine.
+
+ The exception that most likely caused the exception to occur. If it can't find the root exception, it will return the
+ value itself.
+
+
+
+
+ Defines extension methods for the class.
+
+
+
+
+ Attempts to resolve specified type from the underlying .
+
+
+ This will return null on any .
+ Locator to use in resolving.
+ Type to resolve.
+ T or null
+ Thrown when is .
+
+
+
+ Attempts to resolve specified type from the underlying .
+
+
+ This will return null on any .
+ Type to resolve.
+ Locator to use in resolving.
+ T or null
+
+
+
diff --git a/packages/Prism.Wpf.6.2.0/lib/net45/System.Windows.Interactivity.dll b/packages/Prism.Wpf.6.2.0/lib/net45/System.Windows.Interactivity.dll
new file mode 100644
index 0000000..931c744
Binary files /dev/null and b/packages/Prism.Wpf.6.2.0/lib/net45/System.Windows.Interactivity.dll differ
diff --git a/packages/WpfAnimatedGif.1.4.14/WpfAnimatedGif.1.4.14.nupkg b/packages/WpfAnimatedGif.1.4.14/WpfAnimatedGif.1.4.14.nupkg
new file mode 100644
index 0000000..65dc715
Binary files /dev/null and b/packages/WpfAnimatedGif.1.4.14/WpfAnimatedGif.1.4.14.nupkg differ
diff --git a/packages/WpfAnimatedGif.1.4.14/lib/net/WpfAnimatedGif.dll b/packages/WpfAnimatedGif.1.4.14/lib/net/WpfAnimatedGif.dll
new file mode 100644
index 0000000..8d8ac85
Binary files /dev/null and b/packages/WpfAnimatedGif.1.4.14/lib/net/WpfAnimatedGif.dll differ
diff --git a/packages/WpfAnimatedGif.1.4.14/lib/net/WpfAnimatedGif.xml b/packages/WpfAnimatedGif.1.4.14/lib/net/WpfAnimatedGif.xml
new file mode 100644
index 0000000..6446577
--- /dev/null
+++ b/packages/WpfAnimatedGif.1.4.14/lib/net/WpfAnimatedGif.xml
@@ -0,0 +1,214 @@
+
+
+
+ WpfAnimatedGif
+
+
+
+
+ Provides a way to pause, resume or seek a GIF animation.
+
+
+
+
+ Returns the number of frames in the image.
+
+
+
+
+ Returns a value that indicates whether the animation is paused.
+
+
+
+
+ Returns a value that indicates whether the animation is complete.
+
+
+
+
+ Seeks the animation to the specified frame index.
+
+ The index of the frame to seek to
+
+
+
+ Returns the current frame index.
+
+
+
+
+ Pauses the animation.
+
+
+
+
+ Starts or resumes the animation. If the animation is complete, it restarts from the beginning.
+
+
+
+
+ Raised when the current frame changes.
+
+
+
+
+ Finalizes the current object.
+
+
+
+
+ Disposes the current object.
+
+
+
+
+ Disposes the current object
+
+ true to dispose both managed an unmanaged resources, false to dispose only managed resources
+
+
+
+ Provides attached properties that display animated GIFs in a standard Image control.
+
+
+
+
+ Gets the value of the AnimatedSource attached property for the specified object.
+
+ The element from which to read the property value.
+ The currently displayed animated image.
+
+
+
+ Sets the value of the AnimatedSource attached property for the specified object.
+
+ The element on which to set the property value.
+ The animated image to display.
+
+
+
+ Identifies the AnimatedSource attached property.
+
+
+
+
+ Gets the value of the RepeatBehavior attached property for the specified object.
+
+ The element from which to read the property value.
+ The repeat behavior of the animated image.
+
+
+
+ Sets the value of the RepeatBehavior attached property for the specified object.
+
+ The element on which to set the property value.
+ The repeat behavior of the animated image.
+
+
+
+ Identifies the RepeatBehavior attached property.
+
+
+
+
+ Gets the value of the AnimateInDesignMode attached property for the specified object.
+
+ The element from which to read the property value.
+ true if GIF animations are shown in design mode; false otherwise.
+
+
+
+ Sets the value of the AnimateInDesignMode attached property for the specified object.
+
+ The element on which to set the property value.
+ true to show GIF animations in design mode; false otherwise.
+
+
+
+ Identifies the AnimateInDesignMode attached property.
+
+
+
+
+ Gets the value of the AutoStart attached property for the specified object.
+
+ The element from which to read the property value.
+ true if the animation should start immediately when loaded. Otherwise, false.
+
+
+
+ Sets the value of the AutoStart attached property for the specified object.
+
+ The element from which to read the property value.
+ true if the animation should start immediately when loaded. Otherwise, false.
+ The default value is true.
+
+
+
+ Identifies the AutoStart attached property.
+
+
+
+
+ Gets the animation controller for the specified Image control.
+
+
+
+
+
+
+ Gets the value of the IsAnimationLoaded attached property for the specified object.
+
+ The element from which to read the property value.
+ true if the animation is loaded. Otherwise, false.
+
+
+
+ Identifies the IsAnimationLoaded attached property.
+
+
+
+
+ Identifies the AnimationLoaded attached event.
+
+
+
+
+ Adds a handler for the AnimationLoaded attached event.
+
+ The UIElement that listens to this event.
+ The event handler to be added.
+
+
+
+ Removes a handler for the AnimationLoaded attached event.
+
+ The UIElement that listens to this event.
+ The event handler to be removed.
+
+
+
+ Identifies the AnimationCompleted attached event.
+
+
+
+
+ Adds a handler for the AnimationCompleted attached event.
+
+ The UIElement that listens to this event.
+ The event handler to be added.
+
+
+
+ Removes a handler for the AnimationCompleted attached event.
+
+ The UIElement that listens to this event.
+ The event handler to be removed.
+
+
+
+ Single place to define version
+
+
+
+
diff --git a/packages/ini-parser.2.3.0/ini-parser.2.3.0.nupkg b/packages/ini-parser.2.3.0/ini-parser.2.3.0.nupkg
new file mode 100644
index 0000000..f1d40e2
Binary files /dev/null and b/packages/ini-parser.2.3.0/ini-parser.2.3.0.nupkg differ
diff --git a/packages/ini-parser.2.3.0/lib/net20/INIFileParser.dll b/packages/ini-parser.2.3.0/lib/net20/INIFileParser.dll
new file mode 100644
index 0000000..77e8eb4
Binary files /dev/null and b/packages/ini-parser.2.3.0/lib/net20/INIFileParser.dll differ
diff --git a/packages/ini-parser.2.3.0/lib/net20/INIFileParser.dll.mdb b/packages/ini-parser.2.3.0/lib/net20/INIFileParser.dll.mdb
new file mode 100644
index 0000000..62fc0a3
Binary files /dev/null and b/packages/ini-parser.2.3.0/lib/net20/INIFileParser.dll.mdb differ
diff --git a/packages/ini-parser.2.3.0/lib/net20/INIFileParser.xml b/packages/ini-parser.2.3.0/lib/net20/INIFileParser.xml
new file mode 100644
index 0000000..d0f42d9
--- /dev/null
+++ b/packages/ini-parser.2.3.0/lib/net20/INIFileParser.xml
@@ -0,0 +1,1041 @@
+
+
+
+ INIFileParser
+
+
+
+
+ Asserts that a strings has no blank spaces.
+
+ The string to be checked.
+
+
+
+ Represents an INI data parser for files.
+
+
+
+ Ctor
+
+
+
+ Ctor
+
+
+
+
+ Implements reading ini data from a file.
+
+
+ Uses codification for the file.
+
+
+ Path to the file
+
+
+
+ Implements reading ini data from a file.
+
+
+ Path to the file
+
+
+ File's encoding.
+
+
+
+ Saves INI data to a file.
+
+
+ Creats an ASCII encoded file by default.
+
+
+ Path to the file.
+
+
+ IniData to be saved as an INI file.
+
+
+
+ Writes INI data to a text file.
+
+
+ Path to the file.
+
+
+ IniData to be saved as an INI file.
+
+
+ Specifies the encoding used to create the file.
+
+
+
+ Represents all data from an INI file
+
+
+
+ Represents all sections from an INI file
+
+
+
+ Initializes an empty IniData instance.
+
+
+
+ Initializes a new IniData instance using a previous
+ .
+
+
+ object containing the
+ data with the sections of the file
+
+
+
+ Configuration used to write an ini file with the proper
+ delimiter characters and data.
+
+
+ If the instance was created by a parser,
+ this instance is a copy of the used
+ by the parser (i.e. different objects instances)
+ If this instance is created programatically without using a parser, this
+ property returns an instance of
+
+
+
+ Global sections. Contains key/value pairs which are not
+ enclosed in any section (i.e. they are defined at the beginning
+ of the file, before any section.
+
+
+
+ Gets the instance
+ with the specified section name.
+
+
+
+ Gets or sets all the
+ for this IniData instance.
+
+
+
+ Used to mark the separation between the section name and the key name
+ when using .
+
+
+ Defaults to '.'.
+
+
+
+ Creates a new object that is a copy of the current instance.
+
+
+ A new object that is a copy of this instance.
+
+
+
+ See property for more information.
+
+
+
+ Deletes all comments in all sections and key values
+
+
+
+ Merges the other iniData into this one by overwriting existing values.
+ Comments get appended.
+
+
+ IniData instance to merge into this.
+ If it is null this operation does nothing.
+
+
+
+ Attempts to retrieve a key, using a single string combining section and
+ key name.
+
+
+ The section and key name to retrieve, separated by .
+ If key contains no separator, it is treated as a key in the section.
+ Key may contain no more than one separator character.
+
+
+ If true is returned, is set to the value retrieved. Otherwise, is set
+ to an empty string.
+
+
+ True if key was found, otherwise false.
+
+
+ key contained multiple separators.
+
+
+
+ Retrieves a key using a single input string combining section and key name.
+
+
+ The section and key name to retrieve, separated by .
+ If key contains no separator, it is treated as a key in the section.
+ Key may contain no more than one separator character.
+
+
+ The key's value if it was found, otherwise null.
+
+
+ key contained multiple separators.
+
+
+
+ Merge the sections into this by overwriting this sections.
+
+
+
+ Merges the given global values into this globals by overwriting existing values.
+
+
+
+ Information associated to a key from an INI file.
+ Includes both the value and the comments associated to the key.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+ Initializes a new instance of the class
+ from a previous instance of .
+
+
+ Data is deeply copied
+
+
+ The instance of the class
+ used to create the new instance.
+
+
+
+ Gets or sets the comment list associated to this key.
+
+
+
+ Gets or sets the value associated to this key.
+
+
+
+ Gets or sets the name of the key.
+
+
+
+ Creates a new object that is a copy of the current instance.
+
+
+ A new object that is a copy of this instance.
+
+
+
+ Represents a collection of Keydata.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+ Initializes a new instance of the class with a given
+ search comparer
+
+
+ Search comparer used to find the key by name in the collection
+
+
+
+ Initializes a new instance of the class
+ from a previous instance of .
+
+
+ Data from the original KeyDataCollection instance is deeply copied
+
+
+ The instance of the class
+ used to create the new instance.
+
+
+
+ Gets or sets the value of a concrete key.
+
+
+ If we try to assign the value of a key which doesn't exists,
+ a new key is added with the name and the value is assigned to it.
+
+
+ Name of the key
+
+
+ The string with key's value or null if the key was not found.
+
+
+
+ Return the number of keys in the collection
+
+
+
+
+ Adds a new key to the collection
+
+
+ KeyData instance.
+
+
+ true if the key was added false if a key with the same name already exist
+ in the collection
+
+
+
+ Adds a new key with the specified name and value to the collection
+
+
+ Name of the new key to be added.
+
+
+ Value associated to the key.
+
+
+ true if the key was added false if a key with the same name already exist
+ in the collection.
+
+
+
+ Clears all comments of this section
+
+
+
+ Gets if a specifyed key name exists in the collection.
+
+ Key name to search
+ true if a key with the specified name exists in the collectoin
+ false otherwise
+
+
+ Retrieves the data for a specified key given its name
+
+ Name of the key to retrieve.
+
+ A instance holding
+ the key information or null if the key wasn't found.
+
+
+
+ Deletes all keys in this collection.
+
+
+
+ Deletes a previously existing key, including its associated data.
+
+ The key to be removed.
+
+ true if a key with the specified name was removed
+ false otherwise.
+
+
+
+ Sets the key data associated to a specified key.
+
+ The new for the key.
+
+
+ Allows iteration througt the collection.
+
+ A strong-typed IEnumerator
+
+
+ Implementation needed
+
+ A weak-typed IEnumerator.
+
+
+ Creates a new object that is a copy of the current instance.
+
+
+ A new object that is a copy of this instance.
+
+
+
+ Collection of KeyData for a given section
+
+
+
+ Responsible for parsing an string from an ini file, and creating
+ an structure.
+
+
+
+ Ctor
+
+
+ The parser uses a by default
+
+
+
+ Ctor
+
+
+ Parser's instance.
+
+
+
+ Configuration that defines the behaviour and constraints
+ that the parser must follow.
+
+
+
+ True is the parsing operation encounter any problem
+
+
+
+ Returns the list of errors found while parsing the ini file.
+
+
+ If the configuration option ThrowExceptionOnError is false it can contain one element
+ for each problem found while parsing; otherwise it will only contain the very same
+ exception that was raised.
+
+
+
+ Parses a string containing valid ini data
+
+
+ String with data
+
+
+ An instance with the data contained in
+ the correctly parsed an structured.
+
+
+ Thrown if the data could not be parsed
+
+
+
+ Checks if a given string contains a comment.
+
+
+ String with a line to be checked.
+
+
+ true if any substring from s is a comment, false otherwise.
+
+
+
+ Checks if a given string represents a section delimiter.
+
+
+ The string to be checked.
+
+
+ true if the string represents a section, false otherwise.
+
+
+
+ Checks if a given string represents a key / value pair.
+
+
+ The string to be checked.
+
+
+ true if the string represents a key / value pair, false otherwise.
+
+
+
+ Removes a comment from a string if exist, and returns the string without
+ the comment substring.
+
+
+ The string we want to remove the comments from.
+
+
+ The string s without comments.
+
+
+
+ Processes one line and parses the data found in that line
+ (section or key/value pair who may or may not have comments)
+
+ The string with the line to process
+
+
+ Proccess a string which contains an ini section.
+
+
+ The string to be processed
+
+
+
+ Processes a string containing an ini key/value pair.
+
+
+ The string to be processed
+
+
+
+ Extracts the key portion of a string containing a key/value pair..
+
+
+ The string to be processed, which contains a key/value pair
+
+
+ The name of the extracted key.
+
+
+
+ Extracts the value portion of a string containing a key/value pair..
+
+
+ The string to be processed, which contains a key/value pair
+
+
+ The name of the extracted value.
+
+
+
+ Abstract Method that decides what to do in case we are trying to add a duplicated key to a section
+
+
+
+ Adds a key to a concrete instance, checking
+ if duplicate keys are allowed in the configuration
+
+
+ Key name
+
+
+ Key's value
+
+
+ collection where the key should be inserted
+
+
+ Name of the section where the is contained.
+ Used only for logging purposes.
+
+
+
+ Temp list of comments
+
+
+
+ Tmp var with the name of the seccion which is being process
+
+
+
+ Information associated to a section in a INI File
+ Includes both the value and the comments associated to the key.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+ Initializes a new instance of the class
+ from a previous instance of .
+
+
+ Data is deeply copied
+
+
+ The instance of the class
+ used to create the new instance.
+
+
+ Search comparer.
+
+
+
+ Deletes all comments in this section and key/value pairs
+
+
+
+ Deletes all the key-value pairs in this section.
+
+
+
+ Merges otherSection into this, adding new keys if they don't exists
+ or overwriting values if the key already exists.
+ Comments get appended.
+
+
+ Comments are also merged but they are always added, not overwritten.
+
+
+
+
+ Gets or sets the name of the section.
+
+
+ The name of the section
+
+
+
+ Gets or sets the comment list associated to this section.
+
+
+ A list of strings.
+
+
+
+ Gets or sets the comment list associated to this section.
+
+
+ A list of strings.
+
+
+
+ Gets or sets the comment list associated to this section.
+
+
+ A list of strings.
+
+
+
+ Gets or sets the keys associated to this section.
+
+
+ A collection of KeyData objects.
+
+
+
+ Creates a new object that is a copy of the current instance.
+
+
+ A new object that is a copy of this instance.
+
+
+
+ Represents a collection of SectionData.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+ Initializes a new instance of the class.
+
+
+ StringComparer used when accessing section names
+
+
+
+ Initializes a new instance of the class
+ from a previous instance of .
+
+
+ Data is deeply copied
+
+
+ The instance of the class
+ used to create the new instance.
+
+
+ Returns the number of SectionData elements in the collection
+
+
+
+ Gets the key data associated to a specified section name.
+
+ An instance of as class
+ holding the key data from the current parsed INI data, or a null
+ value if the section doesn't exist.
+
+
+ Creates a new section with empty data.
+
+
+ If a section with the same name exists, this operation has no effect.
+
+ Name of the section to be created
+ true if the a new section with the specified name was added,
+ false otherwise
+ If the section name is not valid.
+
+
+ Adds a new SectionData instance to the collection
+
+ Data.
+
+
+ Removes all entries from this collection
+
+
+
+ Gets if a section with a specified name exists in the collection.
+
+ Name of the section to search
+
+ true if a section with the specified name exists in the
+ collection false otherwise
+
+
+
+ Returns the section data from a specify section given its name.
+
+ Name of the section.
+
+ An instance of a class
+ holding the section data for the currently INI data
+
+
+
+ Sets the section data for given a section name.
+
+
+ The new instance.
+
+
+
+
+ true if the section with the specified name was removed,
+ false otherwise
+
+
+ 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.
+
+
+
+ Creates a new object that is a copy of the current instance.
+
+
+ A new object that is a copy of this instance.
+
+
+
+ Data associated to this section
+
+
+
+ Represents an INI data parser for streams.
+
+
+
+ This instance will handle ini data parsing and writing
+
+
+
+ Ctor
+
+
+
+ Ctor
+
+
+
+
+ Reads data in INI format from a stream.
+
+ Reader stream.
+
+ And instance with the readed ini data parsed.
+
+
+ Thrown if is null.
+
+
+
+ Writes the ini data to a stream.
+
+ A write stream where the ini data will be stored
+ An instance.
+
+ Thrown if is null.
+
+
+
+ Writes the ini data to a stream.
+
+ A write stream where the ini data will be stored
+ An instance.
+ Formaterr instance that controls how the ini data is transformed to a string
+
+ Thrown if is null.
+
+
+
+ Represents an INI data parser for strings.
+
+
+ This class is deprecated and kept for backwards compatibility.
+ It's just a wrapper around class.
+ Please, replace your code.
+
+
+
+ This instance will handle ini data parsing and writing
+
+
+
+ Ctor
+
+
+
+ Ctor
+
+
+
+
+ Parses a string containing data formatted as an INI file.
+
+ The string containing the data.
+
+ A new instance with the data parsed from the string.
+
+
+
+ Creates a string from the INI data.
+
+ An instance.
+
+ A formatted string with the contents of the
+ instance object.
+
+
+
+ Represents an error ococcurred while parsing data
+
+
+
+ Configuration used to write an ini file with the proper
+ delimiter characters and data.
+
+
+ If the instance was created by a parser,
+ this instance is a copy of the used
+ by the parser (i.e. different objects instances)
+ If this instance is created programatically without using a parser, this
+ property returns an instance of
+
+
+
+ Formats a IniData structure to an string
+
+
+
+ Produces an string given
+
+ The data to string.
+ Ini data.
+
+
+ Configuration used by this formatter when converting IniData
+ to an string
+
+
+
+ Represents all data from an INI file exactly as the
+ class, but searching for sections and keys names is done with
+ a case insensitive search.
+
+
+
+ Initializes an empty IniData instance.
+
+
+
+ Initializes a new IniData instance using a previous
+ .
+
+
+ object containing the
+ data with the sections of the file
+
+
+
+ Copies an instance of the class
+
+ Original
+
+
+ Defines data for a Parser configuration object.
+
+ With a configuration object you can redefine how the parser
+ will detect special items in the ini file by defining new regex
+ (e.g. you can redefine the comment regex so it just treat text as
+ a comment iff the comment caracter is the first in the line)
+ or changing the set of characters used to define elements in
+ the ini file (e.g. change the 'comment' caracter from ';' to '#')
+ You can also define how the parser should treat errors, or how liberal
+ or conservative should it be when parsing files with "strange" formats.
+
+
+ Default values used if an instance of
+ is created without specifying a configuration.
+
+
+ By default the various delimiters for the data are setted:
+ ';' for one-line comments
+ '[' ']' for delimiting a section
+ '=' for linking key / value pairs
+
+ An example of well formed data with the default values:
+
+ ;section comment
+ [section] ; section comment
+
+ ; key comment
+ key = value ;key comment
+
+ ;key2 comment
+ key2 = value
+
+
+
+
+
+ Copy ctor.
+
+
+ Original instance to be copied.
+
+
+
+ Sets the char that defines the start of a section name.
+
+
+ Defaults to character '['
+
+
+
+ Sets the char that defines the end of a section name.
+
+
+ Defaults to character ']'
+
+
+
+ Retrieving section / keys by name is done with a case-insensitive
+ search.
+
+
+ Defaults to false (case sensitive search)
+
+
+
+ Sets the char that defines the start of a comment.
+ A comment spans from the comment character to the end of the line.
+
+
+ Defaults to character ';'
+
+
+
+ Sets the string that defines the start of a comment.
+ A comment spans from the mirst matching comment string
+ to the end of the line.
+
+
+ Defaults to string ";"
+
+
+
+ Gets or sets the string to use as new line string when formating an IniData structure using a
+ IIniDataFormatter. Parsing an ini-file accepts any new line character (Unix/windows)
+
+
+ This allows to write a file with unix new line characters on windows (and vice versa)
+
+ Defaults to value Environment.NewLine
+
+
+ Sets the char that defines a value assigned to a key
+
+
+ Defaults to character '='
+
+
+
+ Sets the string around KeyValuesAssignmentChar
+
+
+ Defaults to string ' '
+
+
+
+ Allows having keys in the file that don't belong to any section.
+ i.e. allows defining keys before defining a section.
+ If set to false and keys without a section are defined,
+ the will stop with an error.
+
+
+ Defaults to true.
+
+
+
+ If set to false and the finds duplicate keys in a
+ section the parser will stop with an error.
+ If set to true, duplicated keys are allowed in the file. The value
+ of the duplicate key will be the last value asigned to the key in the file.
+
+
+ Defaults to false.
+
+
+
+ Only used if is also true
+ If set to true when the parser finds a duplicate key, it overrites
+ the previous value, so the key will always contain the value of the
+ last key readed in the file
+ If set to false the first readed value is preserved, so the key will
+ always contain the value of the first key readed in the file
+
+
+ Defaults to false.
+
+
+
+ Gets or sets a value indicating whether duplicate keys are concatenate
+ together by .
+
+
+ Defaults to false.
+
+
+
+ If true the instance will thrown an exception
+ if an error is found.
+ If false the parser will just stop execution and return a null value.
+
+
+ Defaults to true.
+
+
+
+ If set to false and the finds a duplicate section
+ the parser will stop with an error.
+ If set to true, duplicated sections are allowed in the file, but only a
+ element will be created in the
+ collection.
+
+
+ Defaults to false.
+
+
+
+ Creates a new object that is a copy of the current instance.
+
+
+ A new object that is a copy of this instance.
+
+ 2
+
+
+
diff --git a/packages/repositories.config b/packages/repositories.config
new file mode 100644
index 0000000..75fab78
--- /dev/null
+++ b/packages/repositories.config
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file